used in both functions

This commit is contained in:
Martin Diehl 2016-07-15 16:53:57 +02:00
parent 0b145826a6
commit 7f67ff05fd
1 changed files with 1 additions and 3 deletions

View File

@ -1,8 +1,7 @@
# -*- coding: UTF-8 no BOM -*- # -*- coding: UTF-8 no BOM -*-
from .solver import Solver from .solver import Solver
import damask
class Abaqus(Solver): class Abaqus(Solver):
@ -23,7 +22,6 @@ class Abaqus(Solver):
def return_run_command(self,model): def return_run_command(self,model):
import subprocess import subprocess
import re import re
import damask
env=damask.Environment() env=damask.Environment()
shortVersion = re.sub('[\.,-]', '',self.version) shortVersion = re.sub('[\.,-]', '',self.version)
try: try: