Skip to content

Display missing config file values

Jolie Roiseux requested to merge feature/missing-param-feedback into develop

Context/Summary

Display more specific details when variables are missing from the config file. checkParams now returns a vector of strings for any missing params and adds them to the error message.

How was this tested?

I tested all separate strategies. Example output:

./bin/vanwftk experiments/example.json

Starting waveform analysis: [V1730, 1 channel(s), ≤100 events]
Opening ./ntp/TEST_FILE_DIGITIZER_SINGLE_CHANNEL/run00321.mid.gz
Could not process events:
The following variables necessary for pulse finding are unset:
FallTimeTau
FallTime2Tau

Merge request reports

Loading