Commit 59a85807 authored by Cecilia Nievas's avatar Cecilia Nievas
Browse files

Fixed small bug reading configuration from GDE_gather_SERA_and_OBM

parent 1ea80a79
......@@ -289,7 +289,7 @@ def run_this_file(config_dict):
if __name__=='__main__':
# This code needs to be run from the command line as python3 namefile.py configfile.ini
config_filename= sys.argv[1] # sys.argv retrieves all the commands entered in the command line; position [0] is this code, position [1] will be the config file name
section_names_to_validate= ['File Paths', 'Tiles Database', 'Cells to Process', os.path.basename(__file__).split('.')[0]]
section_names_to_validate= ['File Paths', 'Tiles Database', 'Cells to Process', 'OBM tiles', os.path.basename(__file__).split('.')[0]]
config_dict= gdet_conf.read_config_parameters(os.path.join(os.getcwd(), config_filename), section_names_to_validate)
run_this_file(config_dict)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment