[yt-svn] commit/yt: 2 new changesets

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Fri Oct 16 16:36:40 PDT 2015


2 new commits in yt:

https://bitbucket.org/yt_analysis/yt/commits/684847807327/
Changeset:   684847807327
Branch:      yt
User:        ngoldbaum
Date:        2015-10-16 23:23:48+00:00
Summary:     Make VR image comparison tests use the new scene.save function
Affected #:  1 file

diff -r 1a484c166e77a29f51c9b0c9ab4890a3398de543 -r 68484780732780ae6d2dbbb5358422b068a4296b 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())]


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