Open-Systems-Pharmacology / PK-Sim

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

Expression profile inheritance does not work #3015

Closed Yuri05 closed 2 days ago

Yuri05 commented 3 weeks ago

39_Protein_Inheritance.zip E.g. in the attached example, projects P1 and P2 both have the protein expression building block "E1|Human|Healthy"

{
  "Version": 79,
  "ExpressionProfiles": [
    {
      "Type": "Enzyme",
      "Species": "Human",
      "Molecule": "E1",
      "Category": "Healthy",
      "Parameters": [
...

In the qualification plan, P2 should inherit the protein expression "E1|Human|Healthy" from P1.

    "Projects": [
        {
            "Id": "P1",
            "Path": "./P1.json"
        },
        {
            "Id": "P2",
            "Path": "./P2.json",
            "BuildingBlocks": [
                {
                    "Type": "ExpressionProfile",
                    "Name": "E1|Human|Healthy",
                    "Project": "P2"
                }
            ]
        }
    ],

When trying to execute the qualification plan via the QualificationRunner: it crashes

QualificationRunner.exe -i QualiPlan.json -o output --norun [2024-11-04 18:12:21.902 PK-Sim ERROR] Could not find ExpressionProfile 'E1|Human|Healthy' in snapshot 'P2'.

msevestre commented 6 days ago

Yeah. we have a failing test image