esqLABS / esqlabsR

Utility functions for modelling and simulation workflows within esqLABS organization
https://esqlabs.github.io/esqlabsR/
GNU General Public License v2.0
18 stars 2 forks source link

Use `parameterPaths` and `outputPaths` in `.aggregateSimulationAndObservedData` for filtering #698

Open rengelke opened 3 months ago

rengelke commented 3 months ago

parameterPaths and outputPaths are used in the sensitivityTimeProfiles function signature to select data for plotting. These parameters also need to be consistently applied in the .aggregateSimulationAndObservedData function.

This logic within .aggregateSimulationAndObservedData needs to be adjusted accordingly : if (!identical(names(simulationResults), parameterPaths)) { stop(messages$invalidSimulationResultNames( names(simulationResults), parameterPaths )) }