[Yt-dev] HaloProfiler Problems
Britton Smith
brittonsmith at gmail.com
Sun Jan 25 15:52:15 PST 2009
Ok, this last commit should fix the problem.
+ virial = {}
+ if (len(profile[overdensity_field]) < 2):
+ for field in fields:
+ virial[field] = 0.0
+ return virial
I don't have data to test it, so if you find that it doesn't work, feel free
to respond to this thread.
On Sun, Jan 25, 2009 at 4:47 PM, Stephen Skory <stephenskory at yahoo.com>wrote:
>
> > Thanks for finding that!
>
> You're welcome. I guess you're just used to running your code on actual
> high-resolution science-quality datasets, while I'm just playing around with
> crummy rough test cases.
>
> _______________________________________________________
> sskory at physics.ucsd.edu o__ Stephen Skory
> http://physics.ucsd.edu/~sskory/ <http://physics.ucsd.edu/%7Esskory/> _.>/
> _Graduate Student
> ________________________________(_)_\(_)_______________
> _______________________________________________
> Yt-dev mailing list
> Yt-dev at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-dev-spacepope.org/attachments/20090125/3bbb7cf6/attachment.html>
More information about the yt-dev
mailing list