Skip to content
Snippets Groups Projects
Commit 43810837 authored by Adrian Meyer-Ahrens's avatar Adrian Meyer-Ahrens Committed by Sergey Gorbunov
Browse files

Fix added whitespace on mac by chopping

parent 9b6ab32f
No related branches found
No related tags found
1 merge request!870Read path to new likelihood file from parameter file
Pipeline #18359 passed
...@@ -71,6 +71,9 @@ Bool_t CbmTrdSetTracksPidLike::ReadData() ...@@ -71,6 +71,9 @@ Bool_t CbmTrdSetTracksPidLike::ReadData()
fGasPar->putParams(parlist); fGasPar->putParams(parlist);
FairParamObj* filenamepar = parlist->find("RepoPid"); FairParamObj* filenamepar = parlist->find("RepoPid");
fFileName.Form("%s/%s", getenv("VMCWORKDIR"), filenamepar->getParamValue()); fFileName.Form("%s/%s", getenv("VMCWORKDIR"), filenamepar->getParamValue());
//Whitespace added on some mac versions somehow to the filename resulting in fatal error, chop away here
while (!fFileName.EndsWith(".root"))
fFileName.Chop();
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment