Changeset 70fee58 in flex_extract.git for source/python/_config.py


Ignore:
Timestamp:
Oct 12, 2018, 1:17:12 PM (6 years ago)
Author:
Anne Philipp <anne.philipp@…>
Branches:
master, ctbto, dev
Children:
785b882
Parents:
5827ff6
Message:

some bug corrections, minor code improvements

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/python/_config.py

    rc5074d2 r70fee58  
    2727
    2828_VERSION_STR = '7.1'
     29
     30QUEUES_LIST = ['ecgate', 'cca']
    2931
    3032# ------------------------------------------------------------------------------
     
    7678PATH_TEST_DIR = os.path.join(PATH_SOURCES, 'pythontest')
    7779PATH_INPUT_DIR = os.path.join(PATH_RUN_DIR, INPUT_DIRNAME_DEFAULT)
    78 if os.getenv('CONTROL') and '/' in os.getenv('CONTROL'):
     80if os.getenv('CONTROL'):# and '/' in os.getenv('CONTROL'):
    7981    # this is only needed if remote version with job script is used!
    8082    # because job is directly submitted from SCRATCH and because the
    8183    # CONTROL file is stored there, the normal path is not valid.
    82     PATH_CONTROLFILES = os.getenv('CONTROL')
     84    PATH_CONTROLFILES = '.'
    8385else:
    8486    PATH_CONTROLFILES = os.path.join(PATH_RUN_DIR, 'control')
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG