This commit is contained in:
Martin Diehl 2020-05-25 15:50:48 +02:00
parent dad7c7a2a0
commit c9ff18e408
2 changed files with 1 additions and 2 deletions

View File

@ -5,7 +5,6 @@ import sys
from io import StringIO from io import StringIO
from optparse import OptionParser from optparse import OptionParser
from scipy import ndimage
import numpy as np import numpy as np
import damask import damask

View File

@ -49,7 +49,7 @@ for name in filenames:
geom = damask.Geom.from_file(StringIO(''.join(sys.stdin.read())) if name is None else name) geom = damask.Geom.from_file(StringIO(''.join(sys.stdin.read())) if name is None else name)
geom.renumber(sub[0::2],sub[1::2],origin=geom.origin+options.origin) geom.renumber(sub[0::2],sub[1::2],origin=geom.origin+options.origin)
geom.microstructure+= option.microstructure geom.microstructure+= options.microstructure
damask.util.croak(geom) damask.util.croak(geom)
geom.add_comments(scriptID + ' ' + ' '.join(sys.argv[1:])) geom.add_comments(scriptID + ' ' + ' '.join(sys.argv[1:]))
geom.to_file(sys.stdout if name is None else name,pack=False) geom.to_file(sys.stdout if name is None else name,pack=False)