Commit c894541d21803bdc56a6e5a276790499293067ee

Authored by knodlseder
1 parent 890b18c2

use filename() instead of value() for filename parameters

Showing 1 changed file with 2 additions and 2 deletions
src/ctselect/ctselect.cpp
... ... @@ -194,7 +194,7 @@ void ctselect::execute(void)
194 194 {
195 195 // Read ahead output filename so that it gets dumped correctly in the
196 196 // parameters log
197   - m_outfile = (*this)["outfile"].value();
  197 + m_outfile = (*this)["outfile"].filename();
198 198  
199 199 // Perform event selection
200 200 run();
... ... @@ -341,7 +341,7 @@ void ctselect::get_parameters(void)
341 341 if (m_obs.size() == 0) {
342 342  
343 343 // Get CTA event list file name
344   - m_infile = (*this)["infile"].value();
  344 + m_infile = (*this)["infile"].filename();
345 345  
346 346 // Allocate CTA observation
347 347 GCTAObservation obs;
... ...