[Yt-dev] ParticleIO patch for review

Matthew Turk matthewturk at gmail.com
Sun Jan 10 09:52:26 PST 2010


Hi Stephen,

It should be _get_args.  Oddly enough, I ran into and fixed this
earlier this weekend, before I generated the patch.  I must have
gotten confused and made the patch from the wrong source tree.

-Matt

On Sun, Jan 10, 2010 at 9:50 AM, Stephen Skory <stephenskory at yahoo.com> wrote:
> Matt,
>
> I am getting this error. I see that 'get_args' is defined in the ParticleIOHandlerRegion class, and a '_get_args' for ParticleIOHandlerSphere. I'm guessing that it should be '_get_args' under ParticleIOHandlerRegion. Thoughts?
>
>  File "/home/sskory/yt/lib/python2.6/site-packages/yt-1.6dev-py2.6-linux-x86_64.egg/yt/lagos/HaloFinding.py", line 1114, in __init__
>    data = self._data_source.particles["particle_position_x"]
>  File "/home/sskory/yt/lib/python2.6/site-packages/yt-1.6dev-py2.6-linux-x86_64.egg/yt/lagos/ParticleIO.py", line 47, in __getitem__
>    self.get_data(key)
>  File "/home/sskory/yt/lib/python2.6/site-packages/yt-1.6dev-py2.6-linux-x86_64.egg/yt/lagos/ParticleIO.py", line 74, in get_data
>    rtype, args = self._get_args()
> AttributeError: 'ParticleIOHandlerPeriodicRegionStrict' object has no attribute '_get_args' _______________________________________________________
> sskory at physics.ucsd.edu           o__  Stephen Skory
> http://physics.ucsd.edu/~sskory/ _.>/ _Graduate Student
> ________________________________(_)_\(_)_______________
> _______________________________________________
> Yt-dev mailing list
> Yt-dev at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
>



More information about the yt-dev mailing list