ciemss / pyciemss

Causal and probabilistic reasoning with continuous time dynamical systems
Other
17 stars 6 forks source link

pattern matching on {var}_ finds multiple options #556

Closed djinnome closed 6 months ago

djinnome commented 6 months ago

For a parameter named e, What's happening is that we look for the variable name preceding an underscore, and in this case it finds the e in sample_id as well as what it's looking for: persistent_e_param

https://github.com/ciemss/pyciemss/blob/0d7db4d29bf1927f2653901fc90f958bfcf671ec/pyciemss/integration_utils/result_processing.py#L147