From 8ec9243016426ac6fe78657c210c2a108a8bbbc9 Mon Sep 17 00:00:00 2001 From: Martin Diehl Date: Thu, 21 Apr 2016 11:06:39 +0200 Subject: [PATCH 1/3] new label name --- processing/post/addCompatibilityMismatch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/processing/post/addCompatibilityMismatch.py b/processing/post/addCompatibilityMismatch.py index f237f7d19..884702b93 100755 --- a/processing/post/addCompatibilityMismatch.py +++ b/processing/post/addCompatibilityMismatch.py @@ -36,7 +36,7 @@ parser.add_option('--no-volume','-v', dest = 'volume', action = 'store_false', help = 'omit volume mismatch') -parser.set_defaults(coords = 'ipinitialcoord', +parser.set_defaults(coords = 'pos', defgrad = 'f', shape = True, volume = True, From 28423d4b4561a26a15e072e1ae5aabdcb59bdf16 Mon Sep 17 00:00:00 2001 From: Martin Diehl Date: Thu, 21 Apr 2016 11:31:02 +0200 Subject: [PATCH 2/3] increment information got lost --- processing/post/postResults.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/processing/post/postResults.py b/processing/post/postResults.py index 95b9eabf8..bd624cac5 100755 --- a/processing/post/postResults.py +++ b/processing/post/postResults.py @@ -1003,7 +1003,8 @@ fileOpen = False assembleHeader = True header = [] standard = ['inc'] + \ - ['time'] if options.time else [] + \ + {True: ['time'], + False:[]}[options.time] + \ ['elem','node','ip','grain','1_pos','2_pos','3_pos'] # --------------------------- loop over positions -------------------------------- From c57c76085f04fc4c165a6871d75ad632404ab0d7 Mon Sep 17 00:00:00 2001 From: Martin Diehl Date: Thu, 21 Apr 2016 15:41:35 +0200 Subject: [PATCH 3/3] missing labels --- processing/post/blowUp.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/processing/post/blowUp.py b/processing/post/blowUp.py index 7b8c9bd15..167f31c6e 100755 --- a/processing/post/blowUp.py +++ b/processing/post/blowUp.py @@ -76,9 +76,9 @@ for name in filenames: # --------------- figure out size and grid --------------------------------------------------------- - table.data_readArray(options.coords) + table.data_readArray() - coords = [np.unique(table.data[:,i]) for i in xrange(3)] + coords = [np.unique(table.data[:,colCoord+i]) for i in xrange(3)] mincorner = np.array(map(min,coords)) maxcorner = np.array(map(max,coords)) grid = np.array(map(len,coords),'i')