The options checking doesn't always work as expected when options are tuples. For example, the following code performs checks if the option "particle size" is "distribution", but "particle size" can be a tuple, in which case the test doesn't run
if options["particle size"] == "distribution":
if options["lithium plating"] != "none":
raise NotImplementedError(
"Lithium plating submodels do not yet support particle-size "
"distributions."
)
The options should be converted to tuples first (where appropriate) and then checks performed on each index.
The options checking doesn't always work as expected when options are tuples. For example, the following code performs checks if the option "particle size" is "distribution", but "particle size" can be a tuple, in which case the test doesn't run
The options should be converted to tuples first (where appropriate) and then checks performed on each index.