Skip to content

Commit def331f

Browse files
committed
Correct warning
1 parent 8caea15 commit def331f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

PWGLF/TableProducer/Strangeness/strangenessbuilder.cxx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ struct StrangenessBuilder {
302302
Configurable<int> mc_findableMode{"mc_findableMode", 0, "0: disabled; 1: add findable-but-not-found to existing V0s from AO2D; 2: reset V0s and generate only findable-but-not-found"};
303303

304304
// Autoconfigure process functions
305-
Configurable<bool> autoConfigureProcess{"autoConfigureProcess", true, "if true, will configure process function switches based on metadata"};
305+
Configurable<bool> autoConfigureProcess{"autoConfigureProcess", false, "if true, will configure process function switches based on metadata"};
306306

307307
// V0 building options
308308
struct : ConfigurableGroup {
@@ -2712,9 +2712,9 @@ WorkflowSpec defineDataProcessing(ConfigContext const& cfgc)
27122712
withPID = withPID || option.defaultValue.get<bool>();
27132713
}
27142714
}
2715-
// if((!hasRunInfo || !hasDataTypeInfo) && autoConfigureProcessConfig){
2716-
// throw std::runtime_error("Autoconfigure requested but no metadata information found! Please check if --aod-file <file> was used in the last workflow added in the execution and if the AO2D in question has metadata save.");
2717-
// }
2715+
if((!hasRunInfo || !hasDataTypeInfo) && autoConfigureProcessConfig){
2716+
throw std::runtime_error("Autoconfigure requested but no metadata information found! Please check if --aod-file <file> was used in the last workflow added in the execution and if the AO2D in question has metadata save.");
2717+
}
27182718

27192719
// positions of switches are known. Next: flip if asked for
27202720
if(autoConfigureProcessConfig){

0 commit comments

Comments
 (0)