From bf7628fd992ef59d6a368134df18ddfc4742fa70 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Oriol=20Tint=C3=B3?= <oriol.tinto@lmu.de>
Date: Tue, 27 Jun 2023 15:04:40 +0200
Subject: [PATCH] Fix bug.

---
 templates/event-generator/adapt_member_utils.sh | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/templates/event-generator/adapt_member_utils.sh b/templates/event-generator/adapt_member_utils.sh
index 03da188..7811377 100644
--- a/templates/event-generator/adapt_member_utils.sh
+++ b/templates/event-generator/adapt_member_utils.sh
@@ -139,11 +139,11 @@ with read("${ANALYSIS_FILE}") as ds, open('remap.nml', 'a') as file:
         if not "bnds" in var and not '_vertices' in var and not 'lat' in var and not 'lon' in var:
             remap_vars.append(var)
 
-   for var in remap_vars:
-       file.write('&input_field_nml\n')
-       file.write(f'inputname = "{var}"\n')
-       file.write(f'outputname = "{var}"\n')
-       file.write('/\n\n')
+    for var in remap_vars:
+        file.write('&input_field_nml\n')
+        file.write(f'inputname = "{var}"\n')
+        file.write(f'outputname = "{var}"\n')
+        file.write('/\n\n')
 END
 
   python3 extend_remap_namelist.py
-- 
GitLab