correction in readpdb (bugfix)
authorAdam Sieradzan <adasko@piasek4.chem.univ.gda.pl>
Wed, 6 May 2015 10:33:08 +0000 (12:33 +0200)
committerAdam Sieradzan <adasko@piasek4.chem.univ.gda.pl>
Wed, 6 May 2015 10:33:08 +0000 (12:33 +0200)
source/unres/src_MD-M/readpdb.F

index 03e928d..2026425 100644 (file)
@@ -80,7 +80,7 @@ C Calculate the CM of the preceding residue.
             endif
 C Start new residue.
 c            write (iout,'(a80)') card
-            read (card(24:26),*) ires
+            read (card(23:26),*) ires
             read (card(18:20),'(a3)') res
             if (ibeg.eq.1) then
               ishift=ires-1