Skip to content

Commit

Permalink
make sure to validate every librr model
Browse files Browse the repository at this point in the history
before, only new ones were validated. those "copied" from previously read defs were not
Presumably, it was assumed that they fully inherited their parent's model, but as of now, they read the xml to get their model, so they need to be validated.
  • Loading branch information
drbergman committed Feb 12, 2025
1 parent ac2cf48 commit 6d8ab2d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/PhysiCell_cell.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3151,9 +3151,9 @@ Cell_Definition* initialize_cell_definition_from_pugixml( pugi::xml_node cd_node
{
RoadRunnerIntracellular* pIntra = new RoadRunnerIntracellular(node);
pCD->phenotype.intracellular = pIntra->getIntracellularModel();
pCD->phenotype.intracellular->validate_PhysiCell_tokens(pCD->phenotype);
pCD->phenotype.intracellular->validate_SBML_species();
}
pCD->phenotype.intracellular->validate_PhysiCell_tokens(pCD->phenotype);
pCD->phenotype.intracellular->validate_SBML_species();
}
#endif

Expand Down

0 comments on commit 6d8ab2d

Please sign in to comment.