[Bug]: change from anti-pattern passing of external state #457
Labels
enhancement
Request for improvement or addition of new feature(s).
gempyor
Concerns the Python core.
low priority
Low priority.
Milestone
Label
dependency
Priority Label
low priority
Describe the bug/issue
Several places in the code adopt the anti-pattern of passing in a parsed string of caller-state to a method for error-messaging (e.g., in compartment.get_comp_idx
Desired Refactor
We should instead be using a try-catch or option pattern for these methods and their callers.
The text was updated successfully, but these errors were encountered: