xpsi icon indicating copy to clipboard operation
xpsi copied to clipboard

Make Cython crash in a clean way (or catch the errors) when atmosphere extensions are wrong

Open sguillot opened this issue 1 year ago • 0 comments

Currently a wrong atmosphere extension (different than 1, 2, or 3) will default to blackbody (=1) with a warning to the user. This warning may go unnoticed by the user, and it would be preferable to have a clean crash or an error catching.

Nonetheless, there are checks being done before that should ensure than no values different than 1, 2 or 3 are passed to the atmosphere cython extensions.

sguillot avatar Sep 08 '23 07:09 sguillot