Changeset 5d42acd in flex_extract.git for python/_config.py
- Timestamp:
- Sep 21, 2018, 10:39:25 AM (6 years ago)
- Branches:
- master, ctbto, dev
- Children:
- 25b14be
- Parents:
- 2fb99de
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/_config.py
r2fb99de r5d42acd 77 77 78 78 # path to directory where all control files are stored 79 PATH_CONTROLFILES = os.path.join(PATH_RUN_DIR, 'control') 80 PATH_RELATIVE_CONTROLFILES = os.path.relpath(PATH_CONTROLFILES, PATH_FLEXEXTRACT_DIR) 79 if os.getenv('CONTROL') and '/' in os.getenv('CONTROL'): 80 # this is only needed if remote version with job script is used! 81 # because job is directly submitted from SCRATCH and because the 82 # CONTROL file is stored there, the normal path is not valid. 83 PATH_CONTROLFILES = os.getenv('CONTROL') 84 else: 85 PATH_CONTROLFILES = os.path.join(PATH_RUN_DIR, 'control') 86 PATH_RELATIVE_CONTROLFILES = os.path.relpath(PATH_CONTROLFILES, PATH_FLEXEXTRACT_DIR) 81 87 82 88 # path to directory where all job scripts are stored
Note: See TracChangeset
for help on using the changeset viewer.