Commit 09669e37100390ed36bed32065b31c2c8ed2a005

Authored by Alexis Koralewski
1 parent cab845b2
Exists in dev

Fix pickle creation when submitting seq

.gitignore
... ... @@ -75,6 +75,7 @@ data/*
75 75  
76 76 config/general/private/*
77 77 config/observatory/private/*
  78 +!config/observatory/private/README.md
78 79 config/observatory/privatedev/*/history/
79 80 config/observatory/privatedev/*/obsconfig.p
80 81 src/core/pyros_django/obs_config/fixtures/obsconfig.p
... ...
src/core/pyros_django/seq_submit/functions.py
... ... @@ -456,7 +456,7 @@ def create_sequence_pickle(sequence):
456 456 "id_seq": sequence.id
457 457 }
458 458 pyros_config.fn.fname = pyros_config.fn.naming_set(fn_param)
459   - fpath_name = pyros_config.fn.join()
  459 + fpath_name = pyros_config.fn.join(pyros_config.fn.fname)
460 460 # create dirs if they don't exist
461 461 os.makedirs(os.path.dirname(fpath_name), exist_ok=True)
462 462 print(fpath_name)
... ...