Skip to content

Commit

Permalink
Update pycbc/workflow/injection.py
Browse files Browse the repository at this point in the history
  • Loading branch information
GarethCabournDavies authored Aug 14, 2023
1 parent 0f8c215 commit 4f4bba1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pycbc/workflow/injection.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,9 @@ def cut_distant_injections(workflow, inj_file, out_dir, tags=None):
return node.output_files[0]

def inj_to_hdf(workflow, inj_file, out_dir, tags=None):
""" Convert injection file to hdf format, if it is already one,
this just makes a copy
""" Convert injection file to hdf format.
If the file is already PyCBC HDF format, this will just make a copy.
"""
if tags is None:
tags = []
Expand Down

0 comments on commit 4f4bba1

Please sign in to comment.