From a41985bd08d22c0b920457adee91b966b86d0160 Mon Sep 17 00:00:00 2001 From: Robrecht Cannoodt Date: Tue, 20 Aug 2024 10:07:56 +0200 Subject: [PATCH] fix suggestion --- src/bd_rhapsody/bd_rhapsody_sequence_analysis/script.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bd_rhapsody/bd_rhapsody_sequence_analysis/script.py b/src/bd_rhapsody/bd_rhapsody_sequence_analysis/script.py index 9a7e2615..d163946e 100644 --- a/src/bd_rhapsody/bd_rhapsody_sequence_analysis/script.py +++ b/src/bd_rhapsody/bd_rhapsody_sequence_analysis/script.py @@ -85,9 +85,9 @@ def process_params(par: dict[str, Any], config, temp_dir: str) -> str: continue par_value = par[arg_clean_name] if isinstance(par_value, list): - par_value_absolute = list(map(os.path.abspath, file_path)) + par_value_absolute = list(map(os.path.abspath, par_value)) else: - par_value_absolute = os.path.abspath(file_path) + par_value_absolute = os.path.abspath(par_value) par_value_absolute[arg_clean_name] = par_value_absolute return par