Skip to content

Commit

Permalink
Update bin/pycbc_convertinjfiletohdf
Browse files Browse the repository at this point in the history
Co-authored-by: Gareth S Cabourn Davies <[email protected]>
  • Loading branch information
yi-fan-wang and GarethCabournDavies authored Feb 7, 2024
1 parent 8ac5966 commit 1fcb7be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/pycbc_convertinjfiletohdf
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ else:
inj_file.close()

if injclass is not None:
# Assume the injection is a XML file or HDF file (LVK format)
# The injection file is of known type
data = injclass.pack_data_into_pycbc_format_input()
samples = FieldArray.from_kwargs(**data)
CBCHDFInjectionSet.write(args.output_file, samples)
Expand Down

0 comments on commit 1fcb7be

Please sign in to comment.