Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion scripts/geometry_analysis/center_of_mass.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def get_geom(xyz_file_name):
# input syntax and usage warnings
def get_inputs():
if (not len(sys.argv) == 2):
print('Usage: center_of_mass.py XYZ_FILE\n')
print('Usage: %s XYZ_FILE\n' % sys.argv[0])
print(' XYZ_FILE: coordinates of target molecule\n')
sys.exit()
else:
Expand Down
2 changes: 1 addition & 1 deletion scripts/geometry_analysis/geometry_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def get_geom(xyz_file_name):
# input syntax and usage warnings
def get_inputs():
if (not len(sys.argv) == 2):
print('\nUsage: geometry_analysis.py XYZ_FILE\n')
print('\nUsage: %s XYZ_FILE\n' % sys.argv[0])
print(' XYZ_FILE: coordinates of target molecule\n')
sys.exit()
else:
Expand Down
2 changes: 1 addition & 1 deletion scripts/geometry_analysis/moment_of_inertia.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def get_geom(xyz_file_name):
# input syntax and usage warnings
def get_inputs():
if (not len(sys.argv) == 2):
print('Usage: moment_of_inertia.py XYZ_FILE\n')
print('Usage: %s XYZ_FILE\n' % sys.argv[0])
print(' XYZ_FILE: coordinates of target molecule\n')
sys.exit()
else:
Expand Down
2 changes: 1 addition & 1 deletion scripts/geometry_analysis/out_of_planes.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def get_geom(xyz_file_name):
# input syntax and usage warnings
def get_inputs():
if (not len(sys.argv) == 2):
print('Usage: out_of_planes.py XYZ_FILE\n')
print('Usage: %s XYZ_FILE\n' % sys.argv[0])
print(' XYZ_FILE: coordinates of target molecule\n')
sys.exit()
else:
Expand Down
2 changes: 1 addition & 1 deletion scripts/geometry_analysis/torsions.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def get_geom(xyz_file_name):
# input syntax and usage warnings
def get_inputs():
if (not len(sys.argv) == 2):
print('Usage: torsions.py XYZ_FILE\n')
print('Usage: %s XYZ_FILE\n' % sys.argv[0])
print(' XYZ_FILE: coordinates of target molecule\n')
sys.exit()
else:
Expand Down
2 changes: 1 addition & 1 deletion scripts/geometry_analysis/zmat2xyz.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def get_file_string_array(file_name):
# input syntax and usage warnings
def get_input():
if (not len(sys.argv) == 2):
print('\nUsage: zmat2xyz.py ZMAT_FILE\n')
print('\nUsage: %s ZMAT_FILE\n' % sys.argv[0])
print(' ZMAT_FILE: z-matrix file of target molecule\n')
sys.exit()
else:
Expand Down