Closed yt-fido closed 7 years ago
Original comment by Nathan Goldbaum (Bitbucket: ngoldbaum, GitHub: ngoldbaum):
It works if you do
ds.add_field(name = ('all','particle_birth_epoch_two'),function=_do_magick, units="Gyr", particle_type=True)
The error message could probably be improved here and we could probably do a better job of automatically detecting that a field should be particle_type=True
.
Originally reported by: Benjamin Thompson (Bitbucket: cosmosquark, GitHub: cosmosquark)
This script.
returns this error
It seems as though it cannot find the newly derived field