[yt-users] ortho_ray

david collins antpuncher at gmail.com
Tue Feb 1 19:08:32 PST 2011


Hi, all--

I'm probably doing something dumb, but I'm seeing an odd error with ortho_ray:

>> pf.h.ortho_ray(1,[0.505,0.505],'Density')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/dcollins/local/src/yt-hg/yt/data_objects/data_containers.py",
line 342, in __repr__
    for i in self._con_args])
AttributeError: 'AMROrthoRay' object has no attribute 'coords'

But

>>> j = pc.add_ortho_ray(1,[0.505,0.505],'Density')

works fine.  Am I doing something dumb with the ortho_ray?

-- 
Sent from my Stone Tablet and carried by my Pterodactyl.



More information about the yt-users mailing list