File tree Expand file tree Collapse file tree
examples/flex-EFP/Scripts Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212import numpy as np
1313import sys
1414
15- efp_g96 = 'efp_pair53004.g96'
16- # efp_g96=sys.argv[1]
15+ # efp_g96='efp_pair53004.g96'
16+ efp_g96 = sys .argv [1 ]
1717with open (efp_g96 , 'r' ) as inp :
1818 f0 = inp .readlines ()
1919
20- full_g96 = 'confout_pair53004.g96'
21- # full_g96=sys.argv[2]
20+ # full_g96='confout_pair53004.g96'
21+ full_g96 = sys .argv [2 ]
2222with open (full_g96 , 'r' ) as g96 :
2323 g0 = g96 .readlines ()
2424
25- settings_file = '2user_defined.txt'
26- # settings_file=sys.argv[3]
25+ # settings_file='2user_defined.txt'
26+ settings_file = sys .argv [3 ]
2727
28- topol_file = 'edit_topol.itp'
29- # topol_file=sys.argv[4]
28+ # topol_file='edit_topol.itp'
29+ topol_file = sys .argv [4 ]
3030
3131# Data and parameters
3232
Original file line number Diff line number Diff line change 99"""
1010
1111import numpy as np
12+ import sys
1213
1314#site='359'
14- # g96_file=sys.argv[1]
15- g96_file = 'efp_pair53004.g96'
15+ g96_file = sys .argv [1 ]
16+ # g96_file='efp_pair53004.g96'
1617#site=sys.argv[2]
1718
1819tailside = 'C6'
You can’t perform that action at this time.
0 commit comments