[Yt-svn] yt-commit r1164 - trunk/yt/lagos/hop

sskory at wrangler.dreamhost.com sskory at wrangler.dreamhost.com
Mon Feb 9 20:28:11 PST 2009


Author: sskory
Date: Mon Feb  9 20:28:10 2009
New Revision: 1164
URL: http://yt.spacepope.org/changeset/1164

Log:
Fixed the way indices are fetched, this seems to be correct.

Modified:
   trunk/yt/lagos/hop/SS_HopOutput.py

Modified: trunk/yt/lagos/hop/SS_HopOutput.py
==============================================================================
--- trunk/yt/lagos/hop/SS_HopOutput.py	(original)
+++ trunk/yt/lagos/hop/SS_HopOutput.py	Mon Feb  9 20:28:10 2009
@@ -245,7 +245,7 @@
         return self.indices.size
 
     def get_indices(self):
-        return self.indices
+        return self["particle_index"]
     
     def get_positions(self,f):
         return self["particle_position_%s" % f]



More information about the yt-svn mailing list