changeset 138:cfc088065e08 draft

Uploaded
author luca_milaz
date Sun, 21 Jul 2024 21:00:56 +0000
parents 95efbbc7ccf9
children b00ec73b1c57
files marea_2/ras_to_bounds.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/marea_2/ras_to_bounds.py	Sun Jul 21 21:00:39 2024 +0000
+++ b/marea_2/ras_to_bounds.py	Sun Jul 21 21:00:56 2024 +0000
@@ -192,6 +192,7 @@
         medium = medium['medium'].to_dict()
     else:
         df_mediums = pd.read_csv(ARGS.tool_dir + "/local/medium/medium.csv", index_col = 0)
+        ARGS.medium_selector = ARGS.medium_selector.replace("_", " ")
         medium = df_mediums[[ARGS.medium_selector]]
         medium = medium[ARGS.medium_selector].to_dict()