Configuration: absolute paths not checked for existence
Summary
When providing absolute paths, their existence is not checked by the configuration. Example with ROOTObjectWriter
:
relative path is checked all right:
|09:39:03.448| (STATUS) Initializing 8 module instantiations
|09:39:16.222| (FATAL) [I:ROOTObjectReader] Error in the configuration:
Value "path/to/output_fast_simulation.root" of key 'file_name' in section 'ROOTObjectReader' is not valid: path /home/simonspa/software/allpix-squared/examples/replay_simulation/path/to/output_fast_simulation.root not found
The configuration needs to be updated. Cannot continue.
absolute path is not checked:
|09:38:44.531| (STATUS) Initializing 8 module instantiationsError in <TFile::TFile>: file /path/to/output_fast_simulation.root does not exist
|09:38:44.548| (ERROR) [I:ROOTObjectReader] Provided ROOT file does not contain any trees, module is useless!
observe the interleaved ROOT TFile error.