segrelab / cometspy

Python interface for running COMETS simulations and analyzing the results
GNU General Public License v3.0
11 stars 9 forks source link

Parsing intermediate files to match final outputs #52

Open zoey-rw opened 5 months ago

zoey-rw commented 5 months ago

I've had simulations fail (due to server disconnection, session timeouts) before reaching the final step of saving output. Can I convert intermediate output files into the matching formats?

From the "READ OUTPUT" section of the comets.py code, it looks like providing the temporary files' hex id is all that should be needed to initialize a comets object with the previous simulation data and save the reformatted files?

dukovski commented 5 months ago

I am not sure to be honest if that would work, but in principle all data in cometspy is pandas dataframes, so try loading in pandas and see what happens.