From 1d00240f88f15a643c700acfdb1afb4431846030 Mon Sep 17 00:00:00 2001 From: EddieLF <34049565+EddieLF@users.noreply.github.com> Date: Thu, 11 Apr 2024 10:46:57 +1000 Subject: [PATCH] Stringify the reference_path (#53) --- reference_generating_scripts/convert_bed_to_interval_list.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reference_generating_scripts/convert_bed_to_interval_list.py b/reference_generating_scripts/convert_bed_to_interval_list.py index 6c33b9e..3a7ad67 100644 --- a/reference_generating_scripts/convert_bed_to_interval_list.py +++ b/reference_generating_scripts/convert_bed_to_interval_list.py @@ -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)