diff options
| author | Alexander_Kabui | 2025-01-24 11:42:47 +0300 |
|---|---|---|
| committer | BonfaceKilz | 2025-02-06 12:43:15 +0300 |
| commit | d98d79ab06ddae8f1dd581862261f3be9c130ba1 (patch) | |
| tree | 89493f8300b5f5d8db0e737f3982c031acbfcf3d | |
| parent | 1184b9e1568977eb4e57d5379db4e543e267a03b (diff) | |
| download | genenetwork3-d98d79ab06ddae8f1dd581862261f3be9c130ba1.tar.gz | |
Refactor: return the relative file to the workspace directory.
| -rw-r--r-- | gn3/computations/rqtl2.py | 3 |
1 files changed, 2 insertions, 1 deletions
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]: |
