gaia-dpci / GaiaXPy

Gaia BP/RP spectra package
BSD 3-Clause "New" or "Revised" License
36 stars 9 forks source link

Relax conditions on additional systems file names #72

Closed druzm closed 9 months ago

druzm commented 9 months ago

Currently, name requirements for additional system files (the ones added via the load_additional_systems function) are too strict. The general pattern, as defined during the development corresponds to system.gaiaXPy_dr3_version.xml where version corresponds to a version defined for the system file itself.

GaiaXPy does not recognise files as containing a valid system when the names vary in the use of uppercase or lowercase characters. In particular, the section "gaiaXPydr3" is the most problematic.

Requirements should be relax so that if "gaiaXPydr3" varies in the use of lowercase or uppercase characters, the file is accepted nevertheless.