From 71d66225f8995e719efc8d1b3b55a2f1f8fd1bf7 Mon Sep 17 00:00:00 2001
From: Quentin Rodier <quentin.rodier@meteo.fr>
Date: Fri, 15 Apr 2022 18:08:44 +0200
Subject: [PATCH] Quentin 15/04/2022: minor typo bugfix merge of compare.py

---
 compare.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/compare.py b/compare.py
index b368f4791..4e89274b4 100755
--- a/compare.py
+++ b/compare.py
@@ -29,7 +29,8 @@ def compareFiles(path_user, path_ref):
         ecart_moy=float(da2[var].mean())-float(da[var].mean())
         ecart_max=float(da2[var].max())-float(da[var].max())
       if (ecart_min !=0 or ecart_moy !=0 or ecart_max !=0):
-        print(var,ecart_min,ecart_moy,ecart_max)
+        status += 1
+        print(var, ecart_min, ecart_moy, ecart_max)
     except:
       pass
   
-- 
GitLab