forked from tsudalab/GaussianRunPack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.py
32 lines (23 loc) · 847 Bytes
/
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
import os, sys
from pprint import pprint
import GaussianRunPack
usage ='Usage; %s infile' % sys.argv[0]
try:
infilename = sys.argv[1]
except:
print (usage); sys.exit()
#if len(sys.argv)==3: option = sys.argv[2]
#For reading log file ####
#option = "eae homolumo"
#test_sdf = GaussianRunPack.GaussianDFTRun('B3LYP', 'STO-3G', 12, option,infilename,0)
#outdic = test_sdf.Extract_values(infilename,0,0,0,0,0,1,1,0,0,0,0)
#print (outdic)
#########################
#for stargint from gaussian calculation
#option = "opt deen nmr ipe eae homolumo dipole uv fluor"
option = "opt stable2o2 eae ipe"
solvent = "2.05"
test_sdf = GaussianRunPack.GaussianDFTRun('B3LYP', 'STO-3G', 12, option, solvent, infilename, 0)
outdic = test_sdf.run_gaussian()
print (outdic)
#######################################