Skip to content
Snippets Groups Projects
Commit 9aefaadc authored by Anne Philipp's avatar Anne Philipp
Browse files

renamed function get_cmdline_args

parent 8652e7eb
No related branches found
No related tags found
No related merge requests found
......@@ -69,7 +69,7 @@ from datetime import datetime, timedelta
sys.path.append(os.path.dirname(os.path.abspath(
inspect.getfile(inspect.currentframe()))) + '/../')
import _config
from tools import (my_error, normal_exit, get_cmdline_arguments,
from tools import (my_error, normal_exit, get_cmdline_args,
read_ecenv, make_dir)
from classes.EcFlexpart import EcFlexpart
from classes.UioFiles import UioFiles
......@@ -97,7 +97,7 @@ def main():
'''
args = get_cmdline_arguments()
args = get_cmdline_args()
c = ControlFile(args.controlfile)
env_parameter = read_ecenv(_config.PATH_ECMWF_ENV)
......
......@@ -65,7 +65,7 @@ import _config
from checks import check_ppid
from classes.UioFiles import UioFiles
from classes.ControlFile import ControlFile
from tools import clean_up, get_cmdline_arguments, read_ecenv, make_dir
from tools import clean_up, get_cmdline_args, read_ecenv, make_dir
from classes.EcFlexpart import EcFlexpart
ecapi = 'ecmwf' not in socket.gethostname()
......@@ -92,7 +92,7 @@ def main():
'''
args = get_cmdline_arguments()
args = get_cmdline_args()
c = ControlFile(args.controlfile)
env_parameter = read_ecenv(_config.PATH_ECMWF_ENV)
......
......@@ -31,7 +31,7 @@
# used in different places in flex_extract.
#
# @Module Content:
# - get_cmdline_arguments
# - get_cmdline_args
# - clean_up
# - my_error
# - normal_exit
......@@ -100,7 +100,7 @@ def none_or_int(value):
return None
return int(value)
def get_cmdline_arguments():
def get_cmdline_args():
'''Decomposes the command line arguments and assigns them to variables.
Apply default values for non mentioned arguments.
......
......@@ -50,7 +50,7 @@ import collections
# software specific classes and modules from flex_extract
import _config
from mods.tools import (normal_exit, get_cmdline_arguments,
from mods.tools import (normal_exit, get_cmdline_args,
submit_job_to_ecserver, read_ecenv)
from mods.get_mars_data import get_mars_data
from mods.prepare_flexpart import prepare_flexpart
......@@ -74,7 +74,7 @@ def main():
'''
args = get_cmdline_arguments()
args = get_cmdline_args()
c = ControlFile(args.controlfile)
env_parameter = read_ecenv(_config.PATH_ECMWF_ENV)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment