Changeset 9aefaad in flex_extract.git


Ignore:
Timestamp:
Dec 14, 2018, 12:04:07 AM (8 months ago)
Author:
Anne Philipp <anne.philipp@…>
Branches:
dev
Children:
87ae9a3
Parents:
8652e7e
Message:

renamed function get_cmdline_args

Location:
source/python
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • source/python/mods/get_mars_data.py

    rdbf9d89 r9aefaad  
    7070    inspect.getfile(inspect.currentframe()))) + '/../')
    7171import _config
    72 from tools import (my_error, normal_exit, get_cmdline_arguments,
     72from tools import (my_error, normal_exit, get_cmdline_args,
    7373                   read_ecenv, make_dir)
    7474from classes.EcFlexpart import EcFlexpart
     
    9898    '''
    9999
    100     args = get_cmdline_arguments()
     100    args = get_cmdline_args()
    101101    c = ControlFile(args.controlfile)
    102102
  • source/python/mods/prepare_flexpart.py

    r3f36e42 r9aefaad  
    6666from classes.UioFiles import UioFiles
    6767from classes.ControlFile import ControlFile
    68 from tools import clean_up, get_cmdline_arguments, read_ecenv, make_dir
     68from tools import clean_up, get_cmdline_args, read_ecenv, make_dir
    6969from classes.EcFlexpart import EcFlexpart
    7070
     
    9393    '''
    9494
    95     args = get_cmdline_arguments()
     95    args = get_cmdline_args()
    9696    c = ControlFile(args.controlfile)
    9797
  • source/python/mods/tools.py

    r2fef1f2 r9aefaad  
    3232#
    3333# @Module Content:
    34 #    - get_cmdline_arguments
     34#    - get_cmdline_args
    3535#    - clean_up
    3636#    - my_error
     
    101101    return int(value)
    102102
    103 def get_cmdline_arguments():
     103def get_cmdline_args():
    104104    '''Decomposes the command line arguments and assigns them to variables.
    105105    Apply default values for non mentioned arguments.
  • source/python/submit.py

    ra4531f1 r9aefaad  
    5151# software specific classes and modules from flex_extract
    5252import _config
    53 from mods.tools import (normal_exit, get_cmdline_arguments,
     53from mods.tools import (normal_exit, get_cmdline_args,
    5454                        submit_job_to_ecserver, read_ecenv)
    5555from mods.get_mars_data import get_mars_data
     
    7575    '''
    7676
    77     args = get_cmdline_arguments()
     77    args = get_cmdline_args()
    7878    c = ControlFile(args.controlfile)
    7979
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG