[yt-dev] Issue #829: 'unitary' no longer works properly (yt_analysis/yt)

Kacper Kowalik issues-reply at bitbucket.org
Tue Apr 15 02:02:30 PDT 2014


New issue 829: 'unitary' no longer works properly
https://bitbucket.org/yt_analysis/yt/issue/829/unitary-no-longer-works-properly

Kacper Kowalik:

With revision  eaf23ee following code:

```
#!python

from yt.mods import load

pf = load('DD0010/moving7_0010')
sp = pf.h.sphere('max', (0.1, 'unitary'))
```

yields:

```
#!text

Traceback (most recent call last):
  File "/tmp/ala.py", line 6, in <module>
    sp = pf.h.sphere('max', (0.1, 'unitary'))
  File "/tmp/yt/yt/data_objects/selection_data_containers.py", line 562, in __init__
    self.index.get_smallest_dx().in_units("code_length"))
yt.utilities.exceptions.YTSphereTooSmall: 1.78097e-25 < 4.88281e-04
```

Responsible: ngoldbaum



More information about the yt-dev mailing list