[yt-svn] commit/yt-3.0: MatthewTurk: This should be an "r" for reading particles.
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Tue Mar 19 04:20:59 PDT 2013
1 new commit in yt-3.0:
https://bitbucket.org/yt_analysis/yt-3.0/commits/e4852e262442/
changeset: e4852e262442
branch: yt-3.0
user: MatthewTurk
date: 2013-03-19 12:20:50
summary: This should be an "r" for reading particles.
affected #: 1 file
diff -r 6f02ff4f88f052c518cc7dc56623655784350403 -r e4852e262442f29c5b2b30b8c5b8d38a2750ebef yt/frontends/enzo/data_structures.py
--- a/yt/frontends/enzo/data_structures.py
+++ b/yt/frontends/enzo/data_structures.py
@@ -415,7 +415,7 @@
# attributes in a defined location.
if last != g.filename:
if handle is not None: handle.close()
- handle = h5py.File(g.filename)
+ handle = h5py.File(g.filename, "r")
node = handle["/Grid%08i/Particles/" % g.id]
for ptype in (str(p) for p in node):
if ptype not in _fields: continue
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