diff --git a/Framework/src/InfrastructureSpecReader.cxx b/Framework/src/InfrastructureSpecReader.cxx index 05168abcb..3f49261e7 100644 --- a/Framework/src/InfrastructureSpecReader.cxx +++ b/Framework/src/InfrastructureSpecReader.cxx @@ -268,7 +268,7 @@ DataSourceSpec InfrastructureSpecReader::readSpecEntry(const std // this allows us to have tasks with the same name for different detectors dss.name = wholeTree.get("qc.postprocessing." + dss.id + ".taskName", dss.id); auto detectorName = wholeTree.get("qc.postprocessing." + dss.id + ".detectorName"); - dss.inputs = { createUserInputSpec(DataSourceType::PostProcessingTask, detectorName, dss.id, 0, dss.name) }; + dss.inputs = { createUserInputSpec(DataSourceType::PostProcessingTask, detectorName, dss.name, 0, dss.name) }; if (dataSourceTree.count("MOs") > 0) { for (const auto& moName : dataSourceTree.get_child("MOs")) { dss.subInputs.push_back(moName.second.get_value());