Open ThomasSYLai opened 1 year ago
Regarding the underscore and capitalization, If I understand well what you mean, I'm afraid that's something we can't really accommodate since the user may provide cubes with arbitrary names in which "ch1" and "short" can be written and connected to each other in many ways. I will modify the documentation to say that the names provided in the cube list in the parameter file need to match or be a substring of the cube file names themselves.
Regarding the error in the aperture correction, I'm not sure what can be. I need to see the parameter file you used to make the extraction.
The following code needs a rewrite. If sel_cube == 'ch1-short' sel_cube would not be in ch1_SHORT due to the underscore and the capitalization.
Also, an error occur when setting aperture correction in the params file to True