Hi JC,
It looks like the problem is coming up when the Pressure field asks for the ThermalEnergy field. If you try region['ThermalEnergy'], does that work? If not, please also try region['TotalEnergy'] and region['GasEnergy'].
Britton
Hi all,
I must be doing something silly because I get a weird error when trying to access the 'Pressure' field of a region:
--------------------------------- TypeError: unsupported operand type(s) for *=: 'NoneType' and 'float' ---------------------------------
It works fine with 'Density', 'x-velocity', 'x', ... I have pasted the complete output error here http://paste.enzotools.org/show/7up5l2Q3Rc8nnLZA3VKu
Has anyone ever encountered that ?
Thanks a lot,
JC
PS: I really like the new home page of the yt website. Congrats !
_______________________________________________
yt-users mailing list
yt-users@lists.spacepope.org
http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org