Skip to content
Snippets Groups Projects
Commit dfc75f37 authored by Edward Moyse's avatar Edward Moyse
Browse files

Merge branch 'master-diff-root-safety-check' into 'master'

Explicitly check the validity of the objects before asking for their elements in diff_root_files.py

See merge request !24861
parents 617bfcb7 f6e28539
9 merge requests!58791DataQualityConfigurations: Modify L1Calo config for web display,!46784MuonCondInterface: Enable thread-safety checking.,!46776Updated LArMonitoring config file for WD to match new files produced using MT,!45405updated ART test cron job,!42417Draft: DIRE and VINCIA Base Fragments for Pythia 8.3,!28528Revert 63f845ae,!27054Atr20369 210,!26342Monopole: Handle fractionally charged particles,!24861Explicitly check the validity of the objects before asking for their elements in diff_root_files.py
......@@ -265,7 +265,7 @@ def main(args):
read_old = True
read_new = True
if (args.order_trees and d_old[-1] == d_new[-1]) or d_old == d_new:
if (args.order_trees and d_old and d_new and d_old[-1] == d_new[-1]) or d_old == d_new:
n_good += 1
continue
......
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