[yt-users] found the problem with non-square frb

Slavin, Jonathan jslavin at cfa.harvard.edu
Tue Mar 8 12:39:19 PST 2016


Hi all,

I just located the problem referred to in my earlier message.  There's a
very small bug in data_objects/data_containers.py
On lines 957 - 959 there is:
        elif iterable(height):
            h, u = height
            height = self.ds.quan(w, input_units = u)
Note the w in self.ds_quan(w, input_units = u).  Just replace that w with
an h and it works.  Should I file a pull request?  Seems a bit much for
such a minor bug, but I'm willing to do it.

Jon

-- 
________________________________________________________
Jonathan D. Slavin                 Harvard-Smithsonian CfA
jslavin at cfa.harvard.edu       60 Garden Street, MS 83
phone: (617) 496-7981       Cambridge, MA 02138-1516
cell: (781) 363-0035             USA
________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20160308/18ab5af9/attachment.htm>


More information about the yt-users mailing list