Skip to content

Commit 60716e7

Browse files
authored
Merge pull request #7 from drbergman/fix-intracellular-parser
improve intracellular parsing
2 parents 6e846db + 3635bf4 commit 60716e7

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

modules/PhysiCell_settings.cpp

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1237,6 +1237,13 @@ bool ArgumentParser::read_intracellular_files(pugi::xml_node& node_config_intrac
12371237
exit(-1);
12381238
}
12391239

1240+
if (intracellular_type == "maboss")
1241+
{
1242+
std::cerr << "ERROR: MaBoSS intracellular model in intracellular mappings file not yet supported!" << std::endl
1243+
<< "You must remove the MaBoSS model from the mappings file and use the config file to specify the MaBoSS model." << std::endl;
1244+
exit(-1);
1245+
}
1246+
12401247
std::string base_path_to_filename = path_to_intracellular_mappings_file.substr(0, path_to_intracellular_mappings_file.find_last_of(".")) + "_" + cell_definition + "_ID" + intracellular_ids[0];
12411248
set_intracellular_files(node_config_intracellular, node_this_intracellular, base_path_to_filename, intracellular_type);
12421249
return true; // intracellular mappings found for this cell type, so we will use them
@@ -1268,7 +1275,6 @@ void set_intracellular_files(pugi::xml_node &node_config_intracellular, const pu
12681275
std::cerr << "ERROR: Failed to set sbml_filename in config file!" << std::endl;
12691276
exit(-1);
12701277
}
1271-
std::cout << "sbml_filename = " << xml_get_string_value(node_config_intracellular, "sbml_filename") << std::endl;
12721278
}
12731279
else
12741280
{

0 commit comments

Comments
 (0)