Skip to content

Commit

Permalink
Change pdb no H error to warning. (#910)
Browse files Browse the repository at this point in the history
Signed-off-by: MtoLStoN <70513124+MtoLStoN@users.noreply.github.com>
  • Loading branch information
MtoLStoN authored Nov 22, 2023
1 parent 2d57755 commit d7cadbf
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/io/reader.f90
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,8 @@ subroutine readMolecule(env, mol, unit, ftype)

if (allocated(struc%pdb)) then
if (.not.any(struc%num == 1)) then
call env%error("PDB structure without hydrogen atoms found, "//&
&"aborting due to incomplete input geometry", source)
return
call env%warning("PDB structure without hydrogen atoms found, "//&
&"this is most likely an incomplete geometry!", source)
end if
end if

Expand Down

0 comments on commit d7cadbf

Please sign in to comment.