From d98d79ab06ddae8f1dd581862261f3be9c130ba1 Mon Sep 17 00:00:00 2001 From: Alexander_Kabui Date: Fri, 24 Jan 2025 11:42:47 +0300 Subject: Refactor: return the relative file to the workspace directory. --- gn3/computations/rqtl2.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gn3/computations/rqtl2.py b/gn3/computations/rqtl2.py index a6f8bcb..adb6550 100644 --- a/gn3/computations/rqtl2.py +++ b/gn3/computations/rqtl2.py @@ -42,7 +42,8 @@ def write_to_csv(work_dir, file_name, data:list[dict], writer.writeheader() for row in data: writer.writerow(row) - return file_path + # return the relative file to the workspace see rqtl2 docs + return file_name def validate_required_keys(required_keys:list, data:dict) -> tuple[bool, str]: -- cgit 1.4.1