[Yt-svn] commit/yt: MatthewTurk: Removing particle fields from the default projections.

Bitbucket commits-noreply at bitbucket.org
Wed May 11 08:31:20 PDT 2011


1 new changeset in yt:

http://bitbucket.org/yt_analysis/yt/changeset/9b32928cb751/
changeset:   r4248:9b32928cb751
branch:      yt
user:        MatthewTurk
date:        2011-05-11 17:30:17
summary:     Removing particle fields from the default projections.
affected #:  1 file (65 bytes)

--- a/yt/utilities/answer_testing/default_tests.py	Mon May 09 22:42:45 2011 -0700
+++ b/yt/utilities/answer_testing/default_tests.py	Wed May 11 11:30:17 2011 -0400
@@ -56,6 +56,7 @@
     def run(self):
         results = {}
         for field in self.pf.h.field_list:
+            if self.pf.field_info[field].particle_type: continue
             results[field] = []
             for ax in range(3):
                 t = self.pf.h.proj(ax, field)

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