Open-Systems-Pharmacology / PK-Sim

PK-Sim® is a comprehensive software tool for whole-body physiologically based pharmacokinetic modeling
Other
101 stars 49 forks source link

No expression profiles created when exporting a simulation from PK-Sim to MoBi. #2627

Open PavelBal opened 1 year ago

PavelBal commented 1 year ago

When importing a pkml created with V11.2, no expression profiles are created. Though it is an expected behavior, expression values should still be somewhere, e.g. in the PSV.

msevestre commented 1 year ago

There is no reason for them not to be in the PSV as nothing is being deleted. They should be where they were before

PavelBal commented 1 year ago

Well, they are not.

Same goes for a simulation that has been exported from PK-Sim OSMOSES - no expression profile, no PSV entries.

msevestre commented 1 year ago

Clearly something is broken with the latest build. There was some renaming done lately so this might be due to this. @rwmcintosh can fix it in probably 5 min

rwmcintosh commented 1 year ago

If you create and export a simulation, all the expressions are present in the transfer.

If you save/load the PK-Sim project, then the individual referenced by the simulation no longer has any expressions. When you transfer, the resulting MoBi building blocks will also not have any expressions.

In the case of a project building block, the expressions are applied in the ProjectMetaDataToProjectMapper from SimulationSubjectMetaData.

There's no analogous step for an individual in a simulation.

PavelBal commented 10 months ago
  1. Open a V11.2 project in PK-Sim v12
  2. Save a simulation as pkml
  3. Load in MoBi

No expression profiles are created, and the expression values are also not in any PV BB.

I think in this case, expression profiles should be created, as the simulation is coming from PK-Sim 12.