Skip to content

Commit 8421876

Browse files
to avoid conflict with same options in other wf's
1 parent 0ebeacd commit 8421876

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Detectors/TOF/calibration/testWorkflow/tof-diagnostic-workflow.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ using namespace o2::framework;
1818
void customize(std::vector<o2::framework::ConfigParamSpec>& workflowOptions)
1919
{
2020
// option allowing to set parameters
21-
workflowOptions.push_back(ConfigParamSpec{"run-number", o2::framework::VariantType::Int, -1, {"run number"}});
21+
workflowOptions.push_back(ConfigParamSpec{"tof-dia-run-number", o2::framework::VariantType::Int, -1, {"run number"}});
2222
}
2323

2424
// ------------------------------------------------------------------
@@ -28,7 +28,7 @@ void customize(std::vector<o2::framework::ConfigParamSpec>& workflowOptions)
2828
WorkflowSpec defineDataProcessing(ConfigContext const& configcontext)
2929
{
3030
WorkflowSpec specs;
31-
auto runnumber = configcontext.options().get<int>("run-number");
31+
auto runnumber = configcontext.options().get<int>("tof-dia-run-number");
3232
specs.emplace_back(getTOFDiagnosticCalibDeviceSpec(runnumber));
3333
return specs;
3434
}

0 commit comments

Comments
 (0)