<div dir="ltr">Hi yt-users, <div style><br></div><div style>I'm having a little trouble with my script environment (for yt-3.0). After installing and then "activating" a new repository (python setup.py develop) I altered mods.py to include a new frontend. When I then run e.g., plot from the command line, yt.mods imports properly and my _is_valid script runs fine. However, when I run "load" from a script my new StaticOutput class isn't found. I guess this is because I have not activated my yt environment properly(?), can anyone tell me what is going wrong? </div>
<div style><p>Thanks! </p><p>Sam</p><p>PS In case it is helpful: I get an error on load in convenience.py because the my new StaticOutput class (artio) is not defined. Here's the output if I print the c in c._is_valid .</p>
<div class="gmail_extra"><div class="gmail_extra"><class 'yt.frontends.enzo.data_structures.EnzoStaticOutput'></div><div class="gmail_extra"><class 'yt.frontends.chombo.data_structures.ChomboStaticOutput'></div>
<div class="gmail_extra"><class 'yt.data_objects.static_output.StaticOutput'></div><div class="gmail_extra"><class 'yt.frontends.athena.data_structures.AthenaStaticOutput'></div><div class="gmail_extra">
<class 'yt.frontends.tiger.data_structures.TigerStaticOutput'></div><div class="gmail_extra"><class 'yt.frontends.nyx.data_structures.NyxStaticOutput'></div><div class="gmail_extra"><class 'yt.frontends.orion.data_structures.OrionStaticOutput'></div>
<div class="gmail_extra"><class 'yt.frontends.flash.data_structures.FLASHStaticOutput'></div><div class="gmail_extra"><class 'yt.frontends.enzo.data_structures.EnzoStaticOutputInMemory'></div><div class="gmail_extra">
<class 'yt.frontends.ramses.data_structures.RAMSESStaticOutput'></div><div class="gmail_extra"><class 'yt.frontends.gdf.data_structures.GDFStaticOutput'></div><div class="gmail_extra"><class 'yt.frontends.castro.data_structures.CastroStaticOutput'></div>
<div class="gmail_extra">yt : [ERROR    ] 2012-12-23 14:16:08,197 Couldn't figure out output type for tests/artdat/sizmbhloz-cl04SNpWRPlc30nPF-rs9_a0.9254.art</div><div class="gmail_extra">Traceback (most recent call last):<br>
</div><div class="gmail_extra">  File "plot.py", line 3, in <module></div><div class="gmail_extra">    pf = load("tests/artdat/sizmbhloz-cl04SNpWRPlc30nPF-rs9_a0.9254.art")</div><div class="gmail_extra">
  File "/Users/sleitner/repos/yt-3.0-clone/yt/convenience.py", line 85, in load</div><div class="gmail_extra">    raise YTOutputNotIdentified(args, kwargs)</div><div class="gmail_extra"><br></div><div class="gmail_extra" style>
<br></div></div></div></div>