nmdickson / GCfit

Multimass (LIMEPY) globular cluster equilibrium models and fitting them to observations
https://gcfit.readthedocs.io
MIT License
3 stars 1 forks source link

fix bug in sorting of output files in CI script #195

Closed nmdickson closed 10 months ago

nmdickson commented 10 months ago

Fixes a small bug in the generate_model_CI script which caused the model outputs to be saved to the wrong files sometimes.

If multiple filenames were given to this script which were out of order, the runs and models themselves would be sorted by cluster name, but the names of the output files to save the CI results to would not be. This caused the CIs to be placed in the output files for the wrong clusters. This is a simple fix by using the filenames from the RunCollection objects directly.