JMMC-OpenDev / oimaging

This module contains the OImaging java application developed by the JMMC technical team.
GNU General Public License v3.0
4 stars 3 forks source link

item list parameters should always be UPPER_CASE #87

Closed buthanoid closed 2 years ago

buthanoid commented 2 years ago

Some item list parameters, for example SparcoInputParameters.KEYWORD_MODEL_STAR, are in lower case : "star". However, the value in the parameters in the result OIFits file can have been changed to upper case. Thus, the select list in the input form is unable to select the correct item (because "star" != "STAR"). The bug is not very serious, because even if the list has a problem, the software work with both "star" and "STAR".

I propose to always use upper case with these parameters, and always convert them to upper case when OImaging receive an external OIFits file.