[yt-users] Editing my own fork
Carolyn Peruta
perutaca at msu.edu
Tue Aug 21 07:07:28 PDT 2012
Well, I guess I solved my own problem. Instead of using "python setup.py develop" I just used "python setup.py build" and install.
-Carolyn
On Aug 21, 2012, at 9:32 AM, Carolyn Peruta wrote:
> Hello all,
>
> I'm taking my first stab at editing my own fork of yt-dev and need some help.
>
> I'm trying to add several more species to the list in frontends/enzo/fields.py which act exactly like the fields already there. I've edited the code to add these new fields then ran "python setup.py develop" from the yt-hg directory. When I did this I never saw a message about compiling/building this edited file. When I load a data set it still treats my fields as 'unknown'.
>
> 1) Are there any other files I should be editing to add new species fields (akin to HII_Density)?
>
> 2) What is the proper way to build yt once I've made these changes?
>
> Thanks,
> Carolyn
>
>
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
More information about the yt-users
mailing list