from yt.mods import * pf = load('/Users/dccollins/Enzo/unstable/run/GravitySolver/GravityTest/./DD0000/data0000') pf.h Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Users/dccollins/local2/src/yt-hg/yt/data_objects/static_output.py",
Is this behavior familiar to anyone? I've done this with a fresh build and one from a few months ago. The set was generated with the latest build of enzo. With a set generated from an earlier enzo build, I can read the set just fine. Thanks! d. line 189, in hierarchy self, data_style=self.data_style) File "/Users/dccollins/local2/src/yt-hg/yt/frontends/enzo/data_structures.py", line 218, in __init__ AMRHierarchy.__init__(self, pf, data_style) File "/Users/dccollins/local2/src/yt-hg/yt/data_objects/hierarchy.py", line 62, in __init__ self._count_grids() File "/Users/dccollins/local2/src/yt-hg/yt/frontends/enzo/data_structures.py", line 240, in _count_grids self._guess_data_style(self.pf.dimensionality, test_grid, test_grid_id) File "/Users/dccollins/local2/src/yt-hg/yt/frontends/enzo/data_structures.py", line 243, in _guess_data_style if test_grid[0] != os.path.sep: TypeError: 'NoneType' object is not subscriptable -- Sent from my computer.
Hi David, (Is this a gravity test simulation?) What's going on here is there are, I think, no grids. Sam tracked this down the other day and we decided that since it's a very, very weird case, not to push a fix. If it's gravity test, you might (unfortunately) have to manually access it. -Matt On Tue, Nov 20, 2012 at 11:51 PM, david collins <antpuncher@gmail.com> wrote:
Is this behavior familiar to anyone? I've done this with a fresh build and one from a few months ago.
The set was generated with the latest build of enzo. With a set generated from an earlier enzo build, I can read the set just fine.
Thanks! d.
from yt.mods import * pf = load('/Users/dccollins/Enzo/unstable/run/GravitySolver/GravityTest/./DD0000/data0000') pf.h Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Users/dccollins/local2/src/yt-hg/yt/data_objects/static_output.py", line 189, in hierarchy self, data_style=self.data_style) File "/Users/dccollins/local2/src/yt-hg/yt/frontends/enzo/data_structures.py", line 218, in __init__ AMRHierarchy.__init__(self, pf, data_style) File "/Users/dccollins/local2/src/yt-hg/yt/data_objects/hierarchy.py", line 62, in __init__ self._count_grids() File "/Users/dccollins/local2/src/yt-hg/yt/frontends/enzo/data_structures.py", line 240, in _count_grids self._guess_data_style(self.pf.dimensionality, test_grid, test_grid_id) File "/Users/dccollins/local2/src/yt-hg/yt/frontends/enzo/data_structures.py", line 243, in _guess_data_style if test_grid[0] != os.path.sep: TypeError: 'NoneType' object is not subscriptable
-- Sent from my computer. _______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
Odd. I did sort out the problem with manual access, and the fact that it was particle only was apparently all I needed to solve the issue. Thanks! d. On Wed, Nov 21, 2012 at 4:14 AM, Matthew Turk <matthewturk@gmail.com> wrote:
Hi David,
(Is this a gravity test simulation?) What's going on here is there are, I think, no grids. Sam tracked this down the other day and we decided that since it's a very, very weird case, not to push a fix. If it's gravity test, you might (unfortunately) have to manually access it.
-Matt
On Tue, Nov 20, 2012 at 11:51 PM, david collins <antpuncher@gmail.com> wrote:
Is this behavior familiar to anyone? I've done this with a fresh build and one from a few months ago.
The set was generated with the latest build of enzo. With a set generated from an earlier enzo build, I can read the set just fine.
Thanks! d.
from yt.mods import * pf = load('/Users/dccollins/Enzo/unstable/run/GravitySolver/GravityTest/./DD0000/data0000') pf.h Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Users/dccollins/local2/src/yt-hg/yt/data_objects/static_output.py", line 189, in hierarchy self, data_style=self.data_style) File "/Users/dccollins/local2/src/yt-hg/yt/frontends/enzo/data_structures.py", line 218, in __init__ AMRHierarchy.__init__(self, pf, data_style) File "/Users/dccollins/local2/src/yt-hg/yt/data_objects/hierarchy.py", line 62, in __init__ self._count_grids() File "/Users/dccollins/local2/src/yt-hg/yt/frontends/enzo/data_structures.py", line 240, in _count_grids self._guess_data_style(self.pf.dimensionality, test_grid, test_grid_id) File "/Users/dccollins/local2/src/yt-hg/yt/frontends/enzo/data_structures.py", line 243, in _guess_data_style if test_grid[0] != os.path.sep: TypeError: 'NoneType' object is not subscriptable
-- Sent from my computer. _______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
-- Sent from my computer.
participants (3)
-
david collins
-
David Collins
-
Matthew Turk