This commit is contained in:
21
script/test/diffcalc.py
Normal file
21
script/test/diffcalc.py
Normal file
@@ -0,0 +1,21 @@
|
||||
import Jama.Matrix
|
||||
sys.path.append('/Users/gobbo_a/dev/pshell/config/home/script/Lib/diffcalc')
|
||||
|
||||
|
||||
import diffcmd.diffcalc_launcher
|
||||
def exit(code=0):
|
||||
if (code==0):
|
||||
raise Exception("Diffcalc execution finished")
|
||||
raise Exception("Diffcalc exit with code: " + str(code))
|
||||
diffcmd.diffcalc_launcher.exit=exit
|
||||
|
||||
import numjy
|
||||
print numjy.JAMA
|
||||
|
||||
from numjy import matrix
|
||||
|
||||
#sys.argv=['diffcalc' , 'sixcircle', "--python"] #, '--non-interactive']
|
||||
#from diffcmd.diffcalc_launcher import main
|
||||
#main()
|
||||
sys.argv=['diffcalc', "sixcircle", False]
|
||||
run("/Lib/diffcalc/diffcmd/start.py")
|
||||
Reference in New Issue
Block a user