Commit 2c36ea30 authored by Cecilia Nievas's avatar Cecilia Nievas
Browse files

Fixed bug: calling the wrong module

parent 59a85807
...@@ -117,7 +117,7 @@ def run_this_file(config_dict): ...@@ -117,7 +117,7 @@ def run_this_file(config_dict):
if read_completeness == "csv": if read_completeness == "csv":
compl_cells= gdet_gral.retrieve_completeness_for_cells_from_CSV(grid_cells_list, completeness_filepath) # array with completeness values (integers) compl_cells= gdet_gral.retrieve_completeness_for_cells_from_CSV(grid_cells_list, completeness_filepath) # array with completeness values (integers)
elif read_completeness == "obm_tiles": elif read_completeness == "obm_tiles":
compl_cells= gdet_gral.get_completeness_from_obm_tiles_for_several(grid_cells_list, obm_tiles_db_hostname, obm_tiles_db_name, obm_tiles_db_username, obm_tiles_db_table) compl_cells= gdet_psql.get_completeness_from_obm_tiles_for_several(grid_cells_list, obm_tiles_db_hostname, obm_tiles_db_name, obm_tiles_db_username, obm_tiles_db_table)
else: else:
print("ERROR: 'read_completeness' VALUE IN CONFIGURATION FILE COULD NOT BE RECOGNISED!!!") print("ERROR: 'read_completeness' VALUE IN CONFIGURATION FILE COULD NOT BE RECOGNISED!!!")
# To keep track of rows for writing the OpenQuake input files: # To keep track of rows for writing the OpenQuake input files:
......
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