Skip to content

Commit

Permalink
Fix indentation to the very bad value of 2
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcarcell committed Jan 22, 2024
1 parent 90685e6 commit a1e8081
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tools/podio-ttree-to-rntuple
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ parser.add_argument('-r', '--reverse', action='store_true',
args = parser.parse_args()

if not args.reverse:
reader = podio.root_io.Reader(args.input_file)
writer = podio.root_io.RNTupleWriter(args.output_file)
reader = podio.root_io.Reader(args.input_file)
writer = podio.root_io.RNTupleWriter(args.output_file)
else:
reader = podio.root_io.RNTupleReader(args.input_file)
writer = podio.root_io.Writer(args.output_file)
reader = podio.root_io.RNTupleReader(args.input_file)
writer = podio.root_io.Writer(args.output_file)

for category in reader.categories:
for frame in reader.get(category):
writer.write_frame(frame, category)
for frame in reader.get(category):
writer.write_frame(frame, category)

0 comments on commit a1e8081

Please sign in to comment.