Skip to content

Commit bdcbefc

Browse files
authored
Merge pull request #69 from CCPBioSim/68-argument-mismatch
Resolve issue #68 where there was a mismatch in the args naming convention
2 parents 9697c5f + d5e6635 commit bdcbefc

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

CodeEntropy/main_mcc.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"help": "Bin width in degrees for making the histogram",
4747
"default": 30,
4848
},
49-
"tempra": {
49+
"temperature": {
5050
"type": float,
5151
"help": "Temperature for entropy calculation (K)",
5252
"default": 298.0,
@@ -286,7 +286,7 @@ def main():
286286

287287
# Calculate the entropy from the diagonalisation of the matrices
288288
S_trans_residue = EF.vibrational_entropy(
289-
force_matrix, "force", args.temp, highest_level
289+
force_matrix, "force", args.temperature, highest_level
290290
)
291291
S_trans += S_trans_residue
292292
print(f"S_trans_{level}_{residue} = {S_trans_residue}")
@@ -312,7 +312,7 @@ def main():
312312
)
313313

314314
S_rot_residue = EF.vibrational_entropy(
315-
torque_matrix, "torque", args.temp, highest_level
315+
torque_matrix, "torque", args.temperature, highest_level
316316
)
317317
S_rot += S_rot_residue
318318
print(f"S_rot_{level}_{residue} = {S_rot_residue}")
@@ -438,7 +438,7 @@ def main():
438438

439439
# Calculate the entropy from the diagonalisation of the matrices
440440
S_trans = EF.vibrational_entropy(
441-
force_matrix, "force", args.temp, highest_level
441+
force_matrix, "force", args.temperature, highest_level
442442
)
443443
print(f"S_trans_{level} = {S_trans}")
444444
new_row = pd.DataFrame(
@@ -456,7 +456,7 @@ def main():
456456
)
457457

458458
S_rot = EF.vibrational_entropy(
459-
torque_matrix, "torque", args.temp, highest_level
459+
torque_matrix, "torque", args.temperature, highest_level
460460
)
461461
print(f"S_rot_{level} = {S_rot}")
462462
new_row = pd.DataFrame(

0 commit comments

Comments
 (0)