Open-Systems-Pharmacology / QualificationRunner

Qualification runner in charge of managing a qualification workflow
Other
0 stars 1 forks source link

Expression profile inheritance does not work #135

Open Yuri05 opened 1 week ago

Yuri05 commented 1 week 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'.