cleaning
This commit is contained in:
parent
3365edc6cb
commit
0ffcb7fdaf
|
@ -10,7 +10,6 @@ class Abaqus(Solver):
|
||||||
def __init__(self,version='',solver=''): # example of version string: 6.12-2, solver: either std or exp
|
def __init__(self,version='',solver=''): # example of version string: 6.12-2, solver: either std or exp
|
||||||
self.solver='Abaqus'
|
self.solver='Abaqus'
|
||||||
if version =='':
|
if version =='':
|
||||||
print 'hallo'
|
|
||||||
import subprocess
|
import subprocess
|
||||||
process = subprocess.Popen(['abaqus', 'information=release'],stdout = subprocess.PIPE,stderr = subprocess.PIPE)
|
process = subprocess.Popen(['abaqus', 'information=release'],stdout = subprocess.PIPE,stderr = subprocess.PIPE)
|
||||||
self.version = process.stdout.readlines()[1].split()[1]
|
self.version = process.stdout.readlines()[1].split()[1]
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
# -*- coding: UTF-8 no BOM -*-
|
# -*- coding: UTF-8 no BOM -*-
|
||||||
|
|
||||||
import os,re,sys,string
|
import os,re,sys,string
|
||||||
|
import math # flake8: noqa
|
||||||
import numpy as np
|
import numpy as np
|
||||||
from optparse import OptionParser
|
from optparse import OptionParser
|
||||||
import damask
|
import damask
|
||||||
|
|
Loading…
Reference in New Issue