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


Ignore:
File:
1 edited

Legend:

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

    r0f89116 r50f9ca6  
    479479    '''
    480480    if queue in _config.QUEUES_LIST and \
    481             (not gateway or not destination or
    482              not ecuid or not ecgid):
    483         raise ValueError('\nEnvironment variables GATEWAY, DESTINATION, ECUID '
     481            (not ecuid or not ecgid):
     482        raise ValueError('\nEnvironment variables ECUID '
    484483                         'and ECGID were not set properly! \n '
    485484                         'Please check for existence of file "ECMWF_ENV" '
    486485                         '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!')
    487492    return
    488493
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG