Skip to content

Commit

Permalink
Stringify the reference_path (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
EddieLF authored Apr 11, 2024
1 parent f57c705 commit 1d00240
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def main(bed_ref, sd_ref, out_ref):
Converts a BED file to a .interval_list file using Picard BedToIntervalList.
The output file must have been added to references.py.
"""
out_ref = reference_path(out_ref)
out_ref = str(reference_path(out_ref))
if not out_ref.endswith('.interval_list'):
raise ValueError('Output reference file must have a .interval_list extension.')
get_ref_files(bed_ref, sd_ref, out_ref)
Expand Down

0 comments on commit 1d00240

Please sign in to comment.