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

j s oishi jsoishi at gmail.com
Wed Mar 20 09:57:37 PDT 2013


Hi Matt,

I can't be sure, but it doesn't seem like deleting it works. For now,
I'll just restart the kernel. Not a huge deal.

j

On Wed, Mar 20, 2013 at 10:51 AM, Matthew Turk <matthewturk at gmail.com> wrote:
> Hi Jeff,
>
> On Wed, Mar 20, 2013 at 10:39 AM, j s oishi <jsoishi at gmail.com> wrote:
>> 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.
>
> Delete it first, and I think it will work.
>
> -Matt
>
>>
>> j
>> _______________________________________________
>> yt-users mailing list
>> yt-users at lists.spacepope.org
>> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org



More information about the yt-users mailing list