Closed guynir42 closed 1 month ago
Proposed solution : standardize on all lowercase for all parameters.
Right now, the only one we found (with a quick search) is a GAIA catalog reference. (See .yaml file.)
Agreed: we want lower case parameters only, and use underscore to separate more than one word...
Addressed by #231
I have been generous and gave the user, in many places, the option of spelling out string-based parameters as case insensitive. E.g., you can ask for a subtraction method
ZOGY
orZogy
orzogy
and they all get.lower()
before being checked against the possible values for that parameter.This is great for the users, but notice that
ZOGY
andzogy
will end up with different Provenances.On the one hand, this is not as bad as having truly different values ending up with the same provenance. On the other hand, this allows the careless user (and who isn't?) to end up with two provenances for something that really shouldn't.
Should we just stupid-proof this by requiring exact string matches everywhere, and enforce that configurations as for exactly the right string?
Also, what should the policy on capitalization be? Should we demand all strings to be lower case only? Some acronyms are more familiar as all-caps but I think we can agree that
psf
andzogy
are just as good asPSF
andZOGY
.