changeset 123:ee770fb7beef draft

Uploaded
author luca_milaz
date Sun, 21 Jul 2024 19:40:32 +0000
parents cd1943c86a4f
children 2590e2f60307
files marea_2/ras_to_bounds.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/marea_2/ras_to_bounds.py	Sun Jul 21 19:37:56 2024 +0000
+++ b/marea_2/ras_to_bounds.py	Sun Jul 21 19:40:32 2024 +0000
@@ -163,8 +163,8 @@
     if(ARGS.ras_selector == True):
         ras = read_dataset(ARGS.input_ras, "ras dataset")
         ras.replace("None", None, inplace=True)
+        ras.set_index("Reactions", drop=True, inplace=True)
         ras = ras.T
-        ras.set_index("Reactions", drop=True, inplace=True)
         ras = ras.astype(float)
     
     model_type :utils.Model = ARGS.model_selector