dirac-institute / sorcha

An open-source community LSST Solar System Simulator
Other
16 stars 17 forks source link

The known_objects config file breaks PPConfigParser #1022

Closed astjoephysics closed 3 days ago

astjoephysics commented 1 week ago

In the known_objects config.ini file there is no bright_limit setting - this means that in line 446 of PPConfigParser whenever the parser tries to strip the config "bright_limit" string, it is attempting to strip a None type object and failing. Should probably check beforehand if it exists or not. (Steph says only need to change lines 445-459 to include a check if not None type object)