[yt-dev] Issue #785: SimulationTimeSeries broken (yt_analysis/yt)

Britton Smith issues-reply at bitbucket.org
Tue Feb 18 02:49:27 PST 2014


New issue 785: SimulationTimeSeries broken
https://bitbucket.org/yt_analysis/yt/issue/785/simulationtimeseries-broken

Britton Smith:

In the tip of unitrefactor, the following script: http://paste.yt-project.org/show/4315/
gives this error:

```
#!python

Traceback (most recent call last):
  File "test.py", line 4, in <module>
    for pf in es:
  File "/Users/britton/Documents/work/yt/yt-x86_64/src/yt-hg/yt/data_objects/time_series.py", line 156, in __iter__
    pf = load(o, **self.kwargs)
  File "/Users/britton/Documents/work/yt/yt-x86_64/src/yt-hg/yt/convenience.py", line 92, in load
    raise YTOutputNotIdentified(args, kwargs)
yt.utilities.exceptions.YTOutputNotIdentified: Supplied ('enzo_tiny_cosmology/32Mpc_32.enzo',) {}, but could not load!
```

This is because of the changes to TimeSeriesData.__new__, which now checks the first argument and (I think) is not the same when being called by a subclass as it is when instantiated directly.





More information about the yt-dev mailing list