[yt-users] reloading pf does not reflect changes in the hierarchy

j s oishi jsoishi at gmail.com
Wed Mar 20 07:39:26 PDT 2013


Hi all,

I'm not sure this is the proper use case, but I've noticed that if,
using the iPython notebook you do

pf = load("DD0000/DD0000")

and then recreate DD0000 with a different hierarchy, when you rerun
the load cell, the pf does not change its hierarchy. I don't know if
this is an intentional behavior, or if I'm doing something wrong.
Restarting the ipython notebook kernel fixes the problem. If the
hierarchy stays the same but the data changes, this seems to work just
fine. I'm trying to debug intial conditions, hence the repeated
loading of a rapidly changing pf.

Is this something we could fix? Or is it by design? If we're moving
increasingly toward iPython notebooks, I would imagine reloading a pf
as a fairly common use case.

j



More information about the yt-users mailing list