From 5d7e138a9b74ad21487b93ad1f67e7d6b200314b Mon Sep 17 00:00:00 2001 From: Martin Diehl Date: Wed, 2 Mar 2016 10:54:14 +0100 Subject: [PATCH] long line --- processing/post/marc_extractData.py | 9 ++++++--- processing/post/mentat_colorMap.py | 3 ++- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/processing/post/marc_extractData.py b/processing/post/marc_extractData.py index 1b0074135..b920a9cdd 100755 --- a/processing/post/marc_extractData.py +++ b/processing/post/marc_extractData.py @@ -209,9 +209,12 @@ def SummarizePostfile(stat,where=sys.stdout): where.write('increments:\t%i'%(stat['NumberOfIncrements']) + '\n\n') where.write('nodes:\t%i'%stat['NumberOfNodes'] + '\n\n') where.write('elements:\t%i'%stat['NumberOfElements'] + '\n\n') - where.write('nodal scalars:\t%i'%stat['NumberOfNodalScalars'] + '\n\n ' + '\n '.join(stat['LabelOfNodalScalar']) + '\n\n') - where.write('elemental scalars:\t%i'%stat['NumberOfElementalScalars'] + '\n\n ' + '\n '.join(stat['LabelOfElementalScalar']) + '\n\n') - where.write('elemental tensors:\t%i'%stat['NumberOfElementalTensors'] + '\n\n ' + '\n '.join(stat['LabelOfElementalTensor']) + '\n\n') + where.write('nodal scalars:\t%i'%stat['NumberOfNodalScalars'] + '\n\n '\ + +'\n '.join(stat['LabelOfNodalScalar']) + '\n\n') + where.write('elemental scalars:\t%i'%stat['NumberOfElementalScalars'] + '\n\n '\ + + '\n '.join(stat['LabelOfElementalScalar']) + '\n\n') + where.write('elemental tensors:\t%i'%stat['NumberOfElementalTensors'] + '\n\n '\ + + '\n '.join(stat['LabelOfElementalTensor']) + '\n\n') return True diff --git a/processing/post/mentat_colorMap.py b/processing/post/mentat_colorMap.py index b4ecd6bd3..c2ce63238 100755 --- a/processing/post/mentat_colorMap.py +++ b/processing/post/mentat_colorMap.py @@ -59,7 +59,8 @@ def colorMap(colors,baseIdx=32): # MAIN FUNCTION STARTS HERE # ----------------------------- -parser = OptionParser(option_class=damask.extendableOption, usage="%prog [options] predefinedScheme | (lower_h,s,l upper_h,s,l)", description = """ +parser = OptionParser(option_class=damask.extendableOption, +usage="%prog [options] predefinedScheme | (lower_h,s,l upper_h,s,l)", description = """ Changes the color map in MSC.Mentat. Interpolates colors between "lower_hsl" and "upper_hsl".