From cf048d0921a9b3ddd7cea0e4ad46c03c3202f0fb Mon Sep 17 00:00:00 2001
From: Fidel Alfaro Almagro <falmagro@fmrib.ox.ac.uk>
Date: Fri, 24 Feb 2023 19:20:20 +0000
Subject: [PATCH] Bug fixed

---
 bip/pipelines/IDPs_gen/IDPs_generator.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/bip/pipelines/IDPs_gen/IDPs_generator.py b/bip/pipelines/IDPs_gen/IDPs_generator.py
index aaf7388..bdaeb62 100755
--- a/bip/pipelines/IDPs_gen/IDPs_generator.py
+++ b/bip/pipelines/IDPs_gen/IDPs_generator.py
@@ -59,11 +59,11 @@ def run(ctx,
 
             if os.path.exists(IDP_file):
                 with open(IDP_file, "r", encoding="utf-8") as f:
-                    IDPs = f.read().strip().split()
-                if len(IDPs) != num_IDPs:
+                    IDPs_l = f.read().strip().split()
+                if len(IDPs_l) != num_IDPs:
                     result += " " + result_nans
                 else:
-                    result += " " + " ".join(IDPs)
+                    result += " " + " ".join(IDPs_l)
 
             else:
                 result += " " + result_nans
-- 
GitLab