[yt-users] Editing my own fork

Carolyn Peruta perutaca at msu.edu
Tue Aug 21 06:32:17 PDT 2012


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





More information about the yt-users mailing list