Skip to content
Snippets Groups Projects
Commit ba0ec9a6 authored by Aniol Lobo Salvia's avatar Aniol Lobo Salvia
Browse files

update tupling_basic test expected entries

parent fe6bad57
No related branches found
No related tags found
2 merge requests!1103Draft: Add AnalysisHelpers to DaVinci Stack,!924update tupling_basic test expected entries
Pipeline #5797569 passed
...@@ -45,7 +45,7 @@ df = get_pandas_dataframe(ntuple, 'DimuonsTuple/DecayTree') ...@@ -45,7 +45,7 @@ df = get_pandas_dataframe(ntuple, 'DimuonsTuple/DecayTree')
# Check ntuple structure # Check ntuple structure
if df.empty: if df.empty:
causes.append(f"File {ntuple}: ntuple does not contain any branches") causes.append(f"File {ntuple}: ntuple does not contain any branches")
if df.shape != (8, 12): if df.shape != (9, 12):
causes.append("Ntuple not with expected number of entries and/or branches") causes.append("Ntuple not with expected number of entries and/or branches")
# Check there are no NaN values in the ntuple # Check there are no NaN values in the ntuple
......
...@@ -52,7 +52,7 @@ if df1.empty: ...@@ -52,7 +52,7 @@ if df1.empty:
causes.append(f"File {ntuple}: ntuple 'DimuonsTuple/DecayTree' does not contain any branches") causes.append(f"File {ntuple}: ntuple 'DimuonsTuple/DecayTree' does not contain any branches")
if df2.empty: if df2.empty:
causes.append(f"File: {ntuple}: ntuple 'KsTuple/DecayTree' does not contain any branches") causes.append(f"File: {ntuple}: ntuple 'KsTuple/DecayTree' does not contain any branches")
if df1.shape != (8, 12): if df1.shape != (9, 12):
causes.append("Ntuple 'DimuonsTuple/DecayTree' not with expected number of entries and/or branches") causes.append("Ntuple 'DimuonsTuple/DecayTree' not with expected number of entries and/or branches")
# FIXME: check disabled because 8(7) candidates are tupled with(out) DD4hep! # FIXME: check disabled because 8(7) candidates are tupled with(out) DD4hep!
# No appetite to investigate since we should soon update the input files used. # No appetite to investigate since we should soon update the input files used.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment