Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Dynamic Exposure
Legacy
gde_calculations_prototype
Commits
70249739
Commit
70249739
authored
Jul 06, 2021
by
Cecilia Nievas
Browse files
Changed reading of list of arbitrary cells to be str
parent
65ece776
Changes
1
Hide whitespace changes
Inline
Side-by-side
GDE_TOOLS_general.py
View file @
70249739
...
...
@@ -1261,7 +1261,7 @@ def define_grid_cell_list_to_process(configuration_dict, script_name):
"""
out_grid_cells_def_method
=
configuration_dict
[
script_name
][
'method'
]
if
out_grid_cells_def_method
==
'arbitrary'
:
out_grid_cells_list
=
[
i
nt
(
i
)
for
i
in
configuration_dict
[
script_name
][
'arbitr_list'
].
split
(
', '
)]
out_grid_cells_list
=
[
i
for
i
in
configuration_dict
[
script_name
][
'arbitr_list'
].
split
(
', '
)]
elif
out_grid_cells_def_method
==
'country_in_DB'
:
out_grid_cells_list
=
gdet_psql
.
retrieve_cell_IDs_by_country
(
configuration_dict
[
'Tiles Database'
][
'db_tiles_name'
],
configuration_dict
[
'Tiles Database'
][
'db_tiles_username'
],
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment