Commits

Christopher Moody  committed 95cb567

particle_metallicity is now recognized as a stellar field

  • Participants
  • Parent commits b304801

Comments (0)

Files changed (1)

File yt/frontends/art/io.py

     def _read_particle_field(self, grid, field):
         self._load_particles(grid.pf)
         assert self.particle_grid_indices is not None
-        if 'star' in field:
+        if 'star' in field or field in particle_star_fields:
             self._load_star(grid.pf)
             field = field.replace("star","particle")
             data = self.particle_data.get(field,None)