Skip to content

Commit

Permalink
Merge pull request #238 from openmopac/mozyme-mini-bugfix
Browse files Browse the repository at this point in the history
Ignore single-character labels when printing H bonds
  • Loading branch information
godotalgorithm authored Dec 10, 2024
2 parents 00700ce + 03f0fa5 commit c05268b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/corrections/H_bond_correction_bits.F90
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ subroutine prt_hbonds(D, H, A, energy)
if (txtatm(D) == " ") write(txtatm(D),'(a,i5,3x,a)')"Atom No.:", D, elemnt(nat(D))
if (txtatm(H) == " ") write(txtatm(H),'(a,i5,3x,a)')"Atom No.:", H, elemnt(nat(H))
if (txtatm(A) == " ") write(txtatm(A),'(a,i5,3x,a)')"Atom No.:", A, elemnt(nat(A))
if (maxtxt == 0) then
if (maxtxt < 2) then
write(H_txt(P_Hbonds),'(2x,a,f15.3,6x,a,12x,a,10x, f7.2,a)')trim(txtatm(D)), sum1, &
trim(txtatm(H)), trim(txtatm(A)), energy, " Kcal/mol"
else
Expand Down

0 comments on commit c05268b

Please sign in to comment.