rootRelation keyword was still used
This commit is contained in:
parent
9441ee7326
commit
1b30b186f4
|
@ -126,7 +126,7 @@ elif options.palette:
|
||||||
for theColor in theMap.export(format='list',steps=options.colorcount):
|
for theColor in theMap.export(format='list',steps=options.colorcount):
|
||||||
print '\t'.join(map(lambda x: str(int(255*x)),theColor))
|
print '\t'.join(map(lambda x: str(int(255*x)),theColor))
|
||||||
else: # connect to Mentat and change colorMap
|
else: # connect to Mentat and change colorMap
|
||||||
sys.path.append(damask.solver.Marc().libraryPath('../../'))
|
sys.path.append(damask.solver.Marc().libraryPath())
|
||||||
try:
|
try:
|
||||||
import py_mentat
|
import py_mentat
|
||||||
print 'waiting to connect...'
|
print 'waiting to connect...'
|
||||||
|
|
|
@ -765,7 +765,7 @@ if options.filetype not in ['marc','spectral']:
|
||||||
parser.error('file type "%s" not supported...'%options.filetype)
|
parser.error('file type "%s" not supported...'%options.filetype)
|
||||||
|
|
||||||
if options.filetype == 'marc':
|
if options.filetype == 'marc':
|
||||||
sys.path.append(damask.solver.Marc().libraryPath('../../'))
|
sys.path.append(damask.solver.Marc().libraryPath())
|
||||||
|
|
||||||
try:
|
try:
|
||||||
from py_post import post_open
|
from py_post import post_open
|
||||||
|
|
|
@ -9,7 +9,7 @@ import damask
|
||||||
scriptName = os.path.splitext(os.path.basename(__file__))[0]
|
scriptName = os.path.splitext(os.path.basename(__file__))[0]
|
||||||
scriptID = ' '.join([scriptName,damask.version])
|
scriptID = ' '.join([scriptName,damask.version])
|
||||||
|
|
||||||
sys.path.append(damask.solver.Marc().libraryPath('../../'))
|
sys.path.append(damask.solver.Marc().libraryPath())
|
||||||
|
|
||||||
active=[True,True,True] # directions on which to add PBC
|
active=[True,True,True] # directions on which to add PBC
|
||||||
def outMentat(cmd,locals):
|
def outMentat(cmd,locals):
|
||||||
|
|
|
@ -8,7 +8,7 @@ import damask
|
||||||
|
|
||||||
scriptName = os.path.splitext(os.path.basename(__file__))[0]
|
scriptName = os.path.splitext(os.path.basename(__file__))[0]
|
||||||
scriptID = ' '.join([scriptName,damask.version])
|
scriptID = ' '.join([scriptName,damask.version])
|
||||||
sys.path.append(damask.solver.Marc().libraryPath('../../'))
|
sys.path.append(damask.solver.Marc().libraryPath())
|
||||||
|
|
||||||
#-------------------------------------------------------------------------------------------------
|
#-------------------------------------------------------------------------------------------------
|
||||||
def outMentat(cmd,locals):
|
def outMentat(cmd,locals):
|
||||||
|
|
|
@ -15,7 +15,7 @@ try: # check for Python Image Lib
|
||||||
except:
|
except:
|
||||||
ImageCapability = False
|
ImageCapability = False
|
||||||
|
|
||||||
sys.path.append(damask.solver.Marc().libraryPath('../../'))
|
sys.path.append(damask.solver.Marc().libraryPath())
|
||||||
|
|
||||||
try: # check for MSC.Mentat Python interface
|
try: # check for MSC.Mentat Python interface
|
||||||
import py_mentat
|
import py_mentat
|
||||||
|
|
Loading…
Reference in New Issue