Skip to content

Commit

Permalink
Set amici::ExpData::id to simulation index
Browse files Browse the repository at this point in the history
  • Loading branch information
dweindl committed Nov 8, 2024
1 parent f03aaf5 commit 30c2216
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/parpeamici/multiConditionDataProvider.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,7 @@ std::unique_ptr<amici::ExpData> MultiConditionDataProviderHDF5::getExperimentalD
auto edata = std::make_unique<amici::ExpData>(*model_);

[[maybe_unused]] auto lock = hdf5MutexGetLock();
edata->id = std::to_string(simulationIdx);
edata->setTimepoints(
amici::hdf5::getDoubleDataset1D(
file_, root_path_ + "/measurements/t/"
Expand Down

0 comments on commit 30c2216

Please sign in to comment.