src/setup.py
def check_analysis_param(input_list, param=False):
	"""
	check_analysis_param(input_list, param=False)

	Checks input_list to overwrite analysis parameters in param dictionary 
	"""

	if not param: param = get_param_defaults()

	if ('-res' in input_list): param['res'] = float(input_list[input_list.index('-res') + 1])
	if ('-sharp' in input_list): param['sharp'] = float(input_list[input_list.index('-sharp') + 1])
	if ('-skip' in input_list): param['skip'] = int(input_list[input_list.index('-skip') + 1])
	if ('-lsample' in input_list): param['l_sample'] = int(input_list[input_list.index('-lsample') + 1])
	if ('-min_sample' in input_list): param['min_sample'] = int(input_list[input_list.index('-min_sample') + 1])

	return param

	check_analysis_param(input_list, param=False)

	Checks input_list to overwrite analysis parameters in param dictionary 
	
check_analysis_param(input_list, param=False)
Checks input_list to overwrite analysis parameters in param dictionary
check_analysis_param ( input_list param = False ) Checks input_list to overwrite analysis parameters in param dictionary
def check_analysis_param(input_list, param=False):
	if not param: param = get_param_defaults()
	if ('-res' in input_list): param['res'] = float(input_list[input_list.index('-res') + 1])
	if ('-sharp' in input_list): param['sharp'] = float(input_list[input_list.index('-sharp') + 1])
	if ('-skip' in input_list): param['skip'] = int(input_list[input_list.index('-skip') + 1])
	if ('-lsample' in input_list): param['l_sample'] = int(input_list[input_list.index('-lsample') + 1])
	if ('-min_sample' in input_list): param['min_sample'] = int(input_list[input_list.index('-min_sample') + 1])
	return param
def check_analysis_param ( input_list , param = False ) : if not param : param = get_param_defaults ( ) if ( '-res' in input_list ) : param [ 'res' ] = float ( input_list [ input_list . index ( '-res' ) + 1 ] ) if ( '-sharp' in input_list ) : param [ 'sharp' ] = float ( input_list [ input_list . index ( '-sharp' ) + 1 ] ) if ( '-skip' in input_list ) : param [ 'skip' ] = int ( input_list [ input_list . index ( '-skip' ) + 1 ] ) if ( '-lsample' in input_list ) : param [ 'l_sample' ] = int ( input_list [ input_list . index ( '-lsample' ) + 1 ] ) if ( '-min_sample' in input_list ) : param [ 'min_sample' ] = int ( input_list [ input_list . index ( '-min_sample' ) + 1 ] ) return param
check_analysis_param(input_list, param=False)
Checks input_list to overwrite analysis parameters in param dictionary
check_analysis_param ( input_list param = False ) Checks input_list to overwrite analysis parameters in param dictionary
"""
	check_analysis_param(input_list, param=False)

	Checks input_list to overwrite analysis parameters in param dictionary 
	"""
input_list
param