[yt-svn] commit/yt-3.0: MatthewTurk: Setting particle_types_raw in ART frontend

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Wed Oct 23 17:07:32 PDT 2013


1 new commit in yt-3.0:

https://bitbucket.org/yt_analysis/yt-3.0/commits/a068074be818/
Changeset:   a068074be818
Branch:      yt-3.0
User:        MatthewTurk
Date:        2013-10-24 02:07:23
Summary:     Setting particle_types_raw in ART frontend
Affected #:  1 file

diff -r 4c112d5ad497f5f4c000530939d03ed4dde34cc1 -r a068074be818374213c9a209eb681d84e2bd778a yt/frontends/art/data_structures.py
--- a/yt/frontends/art/data_structures.py
+++ b/yt/frontends/art/data_structures.py
@@ -121,6 +121,8 @@
             self.parameter_file.particle_types = ["darkmatter", "stars"]
             for specie in range(nspecies):
                 self.parameter_file.particle_types.append("specie%i" % specie)
+            self.parameter_file.particle_types_raw = tuple(
+                self.parameter_file.particle_types)
         else:
             self.parameter_file.particle_types = []
         for ptype in self.parameter_file.particle_types:

Repository URL: https://bitbucket.org/yt_analysis/yt-3.0/

--

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