X-Git-Url: http://mmka.chem.univ.gda.pl/gitweb/?a=blobdiff_plain;f=source%2Funres%2Fsrc_MD-M%2Freadpdb.F;h=da934d549ed85fdc3d91543d178b1b0ef55279e7;hb=676d26e98c8ac83f4ed80a43fbc8a93e7ec8ebdd;hp=8b6f3313013b7cbd4d6b8de16b44c01aecce859f;hpb=34b56f82298df0d9781948908b2d93415838d88e;p=unres.git diff --git a/source/unres/src_MD-M/readpdb.F b/source/unres/src_MD-M/readpdb.F index 8b6f331..da934d5 100644 --- a/source/unres/src_MD-M/readpdb.F +++ b/source/unres/src_MD-M/readpdb.F @@ -74,7 +74,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 @@ -169,7 +169,7 @@ C 2/15/2013 by Adam: corrected insertion of the last dummy residue c(j,nres+1)=c(j,1) c(j,2*nres)=c(j,nres) enddo - if (itype(1).eq.21) then + if (itype(1).eq.21) then nsup=nsup-1 nstart_sup=2 if (unres_pdb) then