pynbody/pynbody — pull request #205 by trquinn (2014-09-08 20:24:53+00:00)
Title: class StarLog(SimSnap): handle multiple entries from restart correctly.

When starlog files are written by Gasoline or ChaNGa, multiple instances of a particlular iOrder can be present because of a restart. The correct thing to do is to take the last instance of any given iOrder in the starlog file, since that will come from the restart.

This fixes the StarLog reader to make that happen. I've verified that it gives expected results on a restarted zoom in simulation with ChaNGa.