[Yt-svn] commit/yt: sskory: Fixing file location issue with LoadHaloes() and hdf5 files.
Bitbucket
commits-noreply at bitbucket.org
Thu Jul 28 17:01:35 PDT 2011
1 new changeset in yt:
http://bitbucket.org/yt_analysis/yt/changeset/d1970fbba5e0/
changeset: d1970fbba5e0
branch: yt
user: sskory
date: 2011-07-29 02:00:59
summary: Fixing file location issue with LoadHaloes() and hdf5 files.
affected #: 1 file (173 bytes)
--- a/yt/analysis_modules/halo_finding/halo_objects.py Tue Jul 26 15:32:09 2011 -0400
+++ b/yt/analysis_modules/halo_finding/halo_objects.py Thu Jul 28 18:00:59 2011 -0600
@@ -1366,7 +1366,11 @@
locations = []
for line in lines:
line = line.split()
- locations.append(line[1:])
+ # Prepend the hdf5 file names with the full path.
+ temp = []
+ for item in line[1:]:
+ temp.append(self.pf.fullpath + '/' + item)
+ locations.append(temp)
lines.close()
return locations
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