Changeset 4971f63 in flex_extract.git for source/python/submit.py
- Timestamp:
- Sep 27, 2018, 12:31:47 PM (6 years ago)
- Branches:
- master, ctbto, dev
- Children:
- 82b624a
- Parents:
- 25b14be
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/python/submit.py
r25b14be r4971f63 77 77 78 78 args = get_cmdline_arguments() 79 80 try: 81 c = ControlFile(args.controlfile) 82 except IOError: 83 print('Could not read CONTROL file "' + args.controlfile + '"') 84 print('Either it does not exist or its syntax is wrong.') 85 print('Try "' + sys.argv[0].split('/')[-1] + \ 86 ' -h" to print usage information') 87 sys.exit(1) 79 c = ControlFile(args.controlfile) 88 80 89 81 env_parameter = read_ecenv(_config.PATH_ECMWF_ENV) … … 95 87 # on ECMWF server this would also be the local side 96 88 called_from_dir = os.getcwd() 97 if args.queue is None:89 if not args.queue: 98 90 if c.inputdir[0] != '/': 99 91 c.inputdir = os.path.join(called_from_dir, c.inputdir)
Note: See TracChangeset
for help on using the changeset viewer.