Skip to content

Commit

Permalink
Fix the RNTuple names
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcarcell committed Feb 22, 2024
1 parent 706e6d4 commit ceb987d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions scripts/createEDM4hepFile.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@

if args.rntuple:
try:
writer = podio.root_io.ROOTNTupleWriter(output_file)
except AttributeError:
writer = podio.root_io.ROOTRNTupleWriter(output_file)
writer = podio.root_io.RNTupleWriter(output_file)
except AttributeError:
print('The RNTuple writer from podio is not available but was requested')
sys.exit(1)
Expand Down

0 comments on commit ceb987d

Please sign in to comment.