Super minor but was bothering my OCD.
When there is an error and the open files get closed, it doesn't use linebreaks and is hard to read. It also looks like it repeats the print statement for some reason. See the attached output file.
Rather than:
ValueError: You have supplied an unknown method to filter out the bpp or bcm array. Known methods are ['binary_state']
Closing remaining open files:dat_kstar1_13_14_kstar2_13_14_SFstart_13700.0_SFduration_0.0_metallicity_0.01.h5...donedat_kstar1_13_14_kstar2_13_14_SFstart_13700.0_SFduration_0.0_metallicity_0.01.h5...done
It would be cleaner as:
ValueError: You have supplied an unknown method to filter out the bpp or bcm array. Known methods are ['binary_state']
Closing remaining open files:
dat_kstar1_13_14_kstar2_13_14_SFstart_13700.0_SFduration_0.0_metallicity_0.01.h5...done
Super minor but was bothering my OCD. When there is an error and the open files get closed, it doesn't use linebreaks and is hard to read. It also looks like it repeats the print statement for some reason. See the attached output file.
Rather than: ValueError: You have supplied an unknown method to filter out the bpp or bcm array. Known methods are ['binary_state'] Closing remaining open files:dat_kstar1_13_14_kstar2_13_14_SFstart_13700.0_SFduration_0.0_metallicity_0.01.h5...donedat_kstar1_13_14_kstar2_13_14_SFstart_13700.0_SFduration_0.0_metallicity_0.01.h5...done
It would be cleaner as: ValueError: You have supplied an unknown method to filter out the bpp or bcm array. Known methods are ['binary_state'] Closing remaining open files: dat_kstar1_13_14_kstar2_13_14_SFstart_13700.0_SFduration_0.0_metallicity_0.01.h5...done
output.txt