Closed cloudy-bot closed 5 years ago
@rjrw commented:
species "Si+" levels all
in fact prints the diagnostic
Incorrect type for 'LEVELS' option to species
I'll make this more chatty.
The problem in parsing 'levels all' (as against 'levels=all') is to distinguish whether
in levels <word>
is an argument to the 'levels' option, or a distinct option (such as 'lte') with the argument to 'levels' missing in error. Requiring an '=' in the case of text arguments disambiguates this. This could grouping be achieved in different ways, e.g. using commas.
species level certainly doesn't work for Fe II. This has been waiting on the merge of the stout6 branch for a little while.
Milestone renamed
reported by: @CloudyLex
The SPECIES command allows details of the treatment of database species to be changed. Tests show the following:
The command is not defended against user error. The command
does not result in any error message, even though the species name is invalid, and the option is misspelled. This is especially important because we now are case sensitive. It will be common for a user to make a mistake with the species name, since we were not case sensitive in the past.
The command parser does the following
The first and last work as expected while the middle does not work and does not result in an error.
species level
does not work for Fe, probably because we use more levels for this element, as explained in Lykins+13, section 2.9.Migrated from https://www.nublado.org/ticket/340