Open-Systems-Pharmacology / OSPSuite-R

R package for the OSPSuite
https://www.open-systems-pharmacology.org/OSPSuite-R/
Other
29 stars 12 forks source link

Add option `stopIfNotFound` to `addOutputs` #1408

Open PavelBal opened 6 months ago

PavelBal commented 6 months ago

Currently when trying to add an output that does not exist in the simulation, the function does not give any feedback. We should add an argument stopIfNotFound, similar to functions like getParameter, and an error should be thrown when an output with the given path is not found.