Commit dd7a71de authored by Simon Spannagel's avatar Simon Spannagel
Browse files

Corry: also correctly treat [Ignore} headers in detector files

parent 04c1597d
Pipeline #238520 passed with stages
in 5 minutes and 8 seconds
......@@ -101,9 +101,11 @@ void Analysis::load_detectors() {
for(auto& detectors_file : detectors_files) {
std::fstream file(detectors_file);
ConfigReader reader(file, detectors_file);
ConfigManager det_mgr(detectors_file);
for(auto& detector : det_mgr.getConfigurations()) {
for(auto& detector : reader.getConfigurations()) {
std::string name = detector.getName();
// Check if we have a duplicate:
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment