From 09669e37100390ed36bed32065b31c2c8ed2a005 Mon Sep 17 00:00:00 2001 From: Alexis Koralewski Date: Wed, 28 Jun 2023 13:02:09 +0200 Subject: [PATCH] Fix pickle creation when submitting seq --- .gitignore | 1 + src/core/pyros_django/seq_submit/functions.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 786d798..2632441 100644 --- a/.gitignore +++ b/.gitignore @@ -75,6 +75,7 @@ data/* config/general/private/* config/observatory/private/* +!config/observatory/private/README.md config/observatory/privatedev/*/history/ config/observatory/privatedev/*/obsconfig.p src/core/pyros_django/obs_config/fixtures/obsconfig.p diff --git a/src/core/pyros_django/seq_submit/functions.py b/src/core/pyros_django/seq_submit/functions.py index de2bb0a..a7e4a23 100644 --- a/src/core/pyros_django/seq_submit/functions.py +++ b/src/core/pyros_django/seq_submit/functions.py @@ -456,7 +456,7 @@ def create_sequence_pickle(sequence): "id_seq": sequence.id } pyros_config.fn.fname = pyros_config.fn.naming_set(fn_param) - fpath_name = pyros_config.fn.join() + fpath_name = pyros_config.fn.join(pyros_config.fn.fname) # create dirs if they don't exist os.makedirs(os.path.dirname(fpath_name), exist_ok=True) print(fpath_name) -- libgit2 0.21.2