[yt-svn] commit/yt: xarthisius: Merged in ngoldbaum/yt (pull request #1816)
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Fri Oct 16 16:36:42 PDT 2015
1 new commit in yt:
https://bitbucket.org/yt_analysis/yt/commits/4148cdf28777/
Changeset: 4148cdf28777
Branch: yt
User: xarthisius
Date: 2015-10-16 23:36:32+00:00
Summary: Merged in ngoldbaum/yt (pull request #1816)
Make VR image comparison tests use the new scene.save function
Affected #: 1 file
diff -r 7880f2ac44ac6134cb5bdf614fd5ec26e9f25336 -r 4148cdf287775b38e7ad9807459680cb1370daf1 yt/utilities/answer_testing/framework.py
--- a/yt/utilities/answer_testing/framework.py
+++ b/yt/utilities/answer_testing/framework.py
@@ -678,7 +678,8 @@
def run(self):
tmpfd, tmpname = tempfile.mkstemp(suffix='.png')
os.close(tmpfd)
- self.scene.render(tmpname, sigma_clip=1.0)
+ self.scene.render(sigma_clip=1.0)
+ self.scene.save(tmpname)
image = mpimg.imread(tmpname)
os.remove(tmpname)
return [zlib.compress(image.dumps())]
Repository URL: https://bitbucket.org/yt_analysis/yt/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
More information about the yt-svn
mailing list