There was an error while loading. Please reload this page.
1 parent 659a25f commit f0c11aaCopy full SHA for f0c11aa
1 file changed
PWGDQ/Core/HistogramsLibrary.cxx
@@ -2603,12 +2603,11 @@ bool o2::aod::dqhistograms::ValidateJSONHistogram(T hist)
2603
if (!hist->HasMember("nBins")) {
2604
LOG(fatal) << "Missing nBins field for histogram";
2605
return false;
2606
- } else {
2607
- if (!hist->FindMember("nBins")->value.IsArray()) {
+ } if (!hist->FindMember("nBins")->value.IsArray()) {
2608
LOG(fatal) << "nBins field should be an array";
2609
2610
}
2611
- }
+
2612
2613
if (hist->HasMember("axLabels") && !hist->FindMember("axLabels")->value.IsArray()) {
2614
LOG(fatal) << "axLabels field should be an array of strings";
0 commit comments