X-Git-Url: http://mmka.chem.univ.gda.pl/gitweb/?a=blobdiff_plain;f=source%2Funres%2Fsrc_MD%2Freadrtns.F;h=fd00153702626f3a1d23a215956d1a3e3868ea74;hb=73a9b42665f9cc91c77b5de547f6c216180b9c3a;hp=29253b3ae879389bc62c540ce3e12d91d92aa940;hpb=cd5e81be57e10b77ed63e3b0983945bd93b88393;p=unres.git diff --git a/source/unres/src_MD/readrtns.F b/source/unres/src_MD/readrtns.F index 29253b3..fd00153 100644 --- a/source/unres/src_MD/readrtns.F +++ b/source/unres/src_MD/readrtns.F @@ -956,7 +956,7 @@ C Convert sequence to numeric code do i=1,nres itype(i)=rescode(i,sequence(i),iscode) enddo - if (itype(2).eq.10) then + if (itype(2).eq.10.and.itype(1).eq.ntyp1) then write (iout,*) & "Glycine is the first full residue, initial dummy deleted" do i=1,nres @@ -964,7 +964,7 @@ C Convert sequence to numeric code enddo nres=nres-1 endif - if (itype(nres).eq.10) then + if (itype(nres-1).eq.10.and.itype(nres).eq.ntyp1) then write (iout,*) & "Glycine is the last full residue, terminal dummy deleted" nres=nres-1