[Yt-svn] commit/yt: MatthewTurk: Fixing "yt render" command to use comm.rank instead of ._par_rank.

Bitbucket commits-noreply at bitbucket.org
Fri Nov 4 11:04:55 PDT 2011


1 new commit in yt:


https://bitbucket.org/yt_analysis/yt/changeset/55318bd3ca93/
changeset:   55318bd3ca93
branch:      yt
user:        MatthewTurk
date:        2011-11-04 19:04:35
summary:     Fixing "yt render" command to use comm.rank instead of ._par_rank.
affected #:  1 file

diff -r 22e5376b5f1962395e63da3ce38128750acf4ea3 -r 55318bd3ca93c8664a336bf016ade7aff6b22bae yt/utilities/command_line.py
--- a/yt/utilities/command_line.py
+++ b/yt/utilities/command_line.py
@@ -1570,7 +1570,7 @@
             save_name = "%s"%pf+"_"+field+"_rendering.png"
         if not '.png' in save_name:
             save_name += '.png'
-        if cam._par_rank != -1:
+        if cam.comm.rank != -1:
             write_bitmap(image,save_name)

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