the functionality to "fix" singularities with a piecewise funciton is incorporated in cellmlmanip. It needs to know the name of the voltage variable to complete it. Add an option to load_cellml_model:
fix_singularities: bool = False
voltage_variable: Optional[str]
if fix_singularities is True, ensure voltage_variable is provided, then provide it to fix_singularities immediately after running cellmlmanip's load model function.
the functionality to "fix" singularities with a piecewise funciton is incorporated in cellmlmanip. It needs to know the name of the voltage variable to complete it. Add an option to load_cellml_model:
fix_singularities: bool = False
voltage_variable: Optional[str]
if fix_singularities is True, ensure voltage_variable is provided, then provide it to fix_singularities immediately after running cellmlmanip's load model function.