From a992b8b1f5d3b170d2b0a53cb0346e07573b9fb4 Mon Sep 17 00:00:00 2001 From: Martin Diehl Date: Sun, 30 Dec 2018 11:41:22 +0100 Subject: [PATCH] random order caused test to fail rather a workaround, but since HDF5 is coming... --- processing/post/addMises.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/processing/post/addMises.py b/processing/post/addMises.py index 55cf6552e..5a851fc5a 100755 --- a/processing/post/addMises.py +++ b/processing/post/addMises.py @@ -4,6 +4,7 @@ import os,sys,math import numpy as np from optparse import OptionParser +from collections import OrderedDict import damask scriptName = os.path.splitext(os.path.basename(__file__))[0] @@ -63,10 +64,10 @@ for name in filenames: # ------------------------------------------ sanity checks ---------------------------------------- - items = { + items = OrderedDict({ 'strain': {'dim': 9, 'shape': [3,3], 'labels':options.strain, 'active':[], 'column': []}, 'stress': {'dim': 9, 'shape': [3,3], 'labels':options.stress, 'active':[], 'column': []}, - } + }) errors = [] remarks = []