X-Git-Url: http://mmka.chem.univ.gda.pl/gitweb/?a=blobdiff_plain;f=source%2Fwham%2Fsrc%2Fmolread_zs.F;h=534e6df43fbb4b2b7698f692d2f9cc3374361ff9;hb=94b0e723bdb0f8ecbcf6ae149e13db8b75686fb9;hp=6e0727f39d04bcad3dc9928e3de49ea3a7686f43;hpb=1f5d46aa45ca5bc157594cb34f5ee410303fffff;p=unres.git diff --git a/source/wham/src/molread_zs.F b/source/wham/src/molread_zs.F index 6e0727f..534e6df 100644 --- a/source/wham/src/molread_zs.F +++ b/source/wham/src/molread_zs.F @@ -48,6 +48,19 @@ C Convert sequence to numeric code do i=1,nres itype(i)=rescode(i,sequence(i),iscode) enddo + if (itype(2).eq.10) then + write (iout,*) + & "Glycine is the first full residue, initial dummy deleted" + do i=1,nres + itype(i)=itype(i+1) + enddo + nres=nres-1 + endif + if (itype(nres).eq.10) then + write (iout,*) + & "Glycine is the last full residue, terminal dummy deleted" + nres=nres-1 + endif write (iout,*) "Numeric code:" write (iout,'(20i4)') (itype(i),i=1,nres) do i=1,nres-1