Skip to content

Commit

Permalink
- issue 3251: for CopasiSE use absolute report filenames
Browse files Browse the repository at this point in the history
  • Loading branch information
fbergmann committed Jul 19, 2024
1 parent fda660d commit b3d3ac8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions copasi/CopasiSE/CopasiSE.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,11 @@ int main(int argc, char *argv[])
COptions::getValue("License", License);

COptions::getValue("ReportFile", ReportFileName);
// should a report filename be given, ensure that
// it is an absolute path
if (!ReportFileName.empty())
CDirEntry::makePathAbsolute(ReportFileName, COptions::getPWD());

COptions::getValue("ScheduledTask", ScheduledTask);
COptions::getValue("SedmlTask", SedmlTask);
COptions::getValue("PrintSedMLTasks", PrintSedMLTasks);
Expand Down

0 comments on commit b3d3ac8

Please sign in to comment.