From ee27e65eb0031505a9d1ca49fd49b4a2fe1c5cbc Mon Sep 17 00:00:00 2001
From: Yannick Ulrich <yannick.ulrich@psi.ch>
Date: Wed, 12 Feb 2020 14:40:44 +0100
Subject: [PATCH] Bug fix to cc9b12d9: getplots failed if plots aren't sorted
 the same

---
 pymule/loader.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pymule/loader.py b/pymule/loader.py
index 0aed028..f811a66 100644
--- a/pymule/loader.py
+++ b/pymule/loader.py
@@ -9,9 +9,9 @@ loadargs = {}
 
 def getplots(s):
     if type(s) == dict:
-        return list(set(s.keys()) - {
+        return sorted(list(set(s.keys()) - {
             'SHA','chi2a','iteration','msg','value','time'
-        })
+        }))
     elif type(s) == list:
         p = set(tuple(getplots(i)) for i in s)
         if len(p) != 1:
-- 
GitLab