Skip to content

Commit

Permalink
fix issue #450 with temperature variable in input file
Browse files Browse the repository at this point in the history
  • Loading branch information
marioernestovaldes committed Jan 5, 2024
1 parent 525c4e7 commit 71a07d1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion GMXMMPBSA/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -1167,7 +1167,7 @@ def parse_output_files(self, from_calc=True):
if INPUT['general']['qh_entropy']:
if not INPUT['ala']['mutant_only']:
self.calc_types.normal['qh'] = QHout(f'{self.pre}cpptraj_entropy.out', INPUT['general']['temperature'])
if INPUT['alarun']:
if INPUT['ala']['alarun']:
self.calc_types.mutant['qh'] = QHout(f'{self.pre}mutant_cpptraj_entropy.out', INPUT['general']['temperature'])
if INPUT['ala']['alarun'] and not INPUT['ala']['mutant_only']:
self.calc_types.mut_norm['qh'] = DeltaDeltaQH(self.calc_types.mutant['qh'],
Expand Down
1 change: 0 additions & 1 deletion GMXMMPBSA/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,6 @@ def _get_dup_args(args):
opt_duplicates.append(f)
if i == len(flags) - 1:
flags_values[f] = [args[x] for x in range(flag_index[i] + 1, len(args))]
print('tets')
elif flag_index[i] - flag_index[i+1]:
flags_values[f] = [args[x] for x in range(flag_index[i]+1, flag_index[i+1])]
else:
Expand Down

0 comments on commit 71a07d1

Please sign in to comment.