Skip to content

Commit 7c8b70e

Browse files
authored
DPL: fix adjustment of spawnerInputs (#13713)
1 parent 8aba4a9 commit 7c8b70e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Framework/Core/src/ArrowSupport.cxx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -472,19 +472,19 @@ o2::framework::ServiceSpec ArrowSupport::arrowBackendSpec()
472472
}
473473
std::sort(ac.requestedDYNs.begin(), ac.requestedDYNs.end(), inputSpecLessThan);
474474
std::sort(ac.providedDYNs.begin(), ac.providedDYNs.end(), outputSpecLessThan);
475-
std::vector<InputSpec> spawnerInputs;
475+
ac.spawnerInputs.clear();
476476
for (auto& input : ac.requestedDYNs) {
477477
if (std::none_of(ac.providedDYNs.begin(), ac.providedDYNs.end(), [&input](auto const& x) { return DataSpecUtils::match(input, x); })) {
478-
spawnerInputs.emplace_back(input);
478+
ac.spawnerInputs.emplace_back(input);
479479
}
480480
}
481481
// recreate inputs and outputs
482482
spawner->outputs.clear();
483483
spawner->inputs.clear();
484484
// replace AlgorithmSpec
485485
// FIXME: it should be made more generic, so it does not need replacement...
486-
spawner->algorithm = readers::AODReaderHelpers::aodSpawnerCallback(spawnerInputs);
487-
AnalysisSupportHelpers::addMissingOutputsToSpawner({}, spawnerInputs, ac.requestedAODs, *spawner);
486+
spawner->algorithm = readers::AODReaderHelpers::aodSpawnerCallback(ac.spawnerInputs);
487+
AnalysisSupportHelpers::addMissingOutputsToSpawner({}, ac.spawnerInputs, ac.requestedAODs, *spawner);
488488
}
489489

490490
if (writer != workflow.end()) {

0 commit comments

Comments
 (0)