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.
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.