From 15724d8c6419d48b23733a694a6fb3fca1df3845 Mon Sep 17 00:00:00 2001
From: JoanaMPereira <pereira.joanam@gmail.com>
Date: Wed, 17 Apr 2024 10:17:11 +0200
Subject: [PATCH] allow for float strand distance thresholds

---
 barrOs_library.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/barrOs_library.py b/barrOs_library.py
index fd7acb0..ba70045 100644
--- a/barrOs_library.py
+++ b/barrOs_library.py
@@ -126,7 +126,7 @@ def get_inputs(argv):
             elif '-extract_hairpins' in arg:
                 extract_hairpins = True
             elif '-strandist' in arg:
-                distance_threshold = int(arg.split(':')[1])
+                distance_threshold = float(arg.split(':')[1])
 
             if found_input and not found_mode:
                 if input_type in accepted_input_types:
-- 
GitLab