In lines 82-92 and 267-273 of initial_conditions.py (here), there are some if/else statements that will never execute because they immediately follow a raise ValueError(... statement.
@jcblemai said that he arranged it this way because there is a bug in the code, and the error is thrown to notify him.
Creating this issue at his request!
related to this: the valueerror in the next branch of this logic is inescapable, despite "allow_missing_subpops" suggesting otherwise. Should be fixed by fixing this.
Label
bug, gempyor
Priority Label
low priority
Describe the bug/issue
In lines 82-92 and 267-273 of
initial_conditions.py
(here), there are some if/else statements that will never execute because they immediately follow araise ValueError(...
statement. @jcblemai said that he arranged it this way because there is a bug in the code, and the error is thrown to notify him. Creating this issue at his request!To Reproduce
Images of the code above.
Environment, if relevant
No response