Changes in Source/Python/Mods/checks.py [50f9ca6:0f89116] in flex_extract.git


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Source/Python/Mods/checks.py

    r50f9ca6 r0f89116  
    479479    '''
    480480    if queue in _config.QUEUES_LIST and \
    481             (not ecuid or not ecgid):
    482         raise ValueError('\nEnvironment variables ECUID '
     481            (not gateway or not destination or
     482             not ecuid or not ecgid):
     483        raise ValueError('\nEnvironment variables GATEWAY, DESTINATION, ECUID '
    483484                         'and ECGID were not set properly! \n '
    484485                         'Please check for existence of file "ECMWF_ENV" '
    485486                         'in the run directory!')
    486     elif queue in _config.QUEUES_LIST and \
    487              (not gateway or not destination):
    488         print('WARNING: Parameters GATEWAY and DESTINATION were '
    489               'not properly set for working on ECMWF server. \n'
    490               'There will be no transfer of output files to the '
    491               'local gateway server possible!')
    492487    return
    493488
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG