modyfication for tube
[unres.git] / source / cluster / wham / src-M / read_coords.F
index 2911e60..55f52e3 100644 (file)
@@ -393,7 +393,7 @@ c------------------------------------------------------------------------------
       chalen=int((nct-nnt+2)/symetr)
       call int_from_cart1(.false.)
       do j=nnt+1,nct
-        if ((vbld(j).lt.2.0d0 .or. vbld(j).gt.5.0d0)
+        if ((vbld(j).lt.2.0d0 .or. vbld(j).gt.6.0d0)
      &      .and.(itype(j).ne.ntyp1)) then
          if (j.gt.2) then
           if (itel(j).ne.0 .and. itel(j-1).ne.0) then
@@ -419,7 +419,7 @@ c------------------------------------------------------------------------------
       enddo
       do j=nnt,nct
         itj=itype(j)
-        if (itype(j).ne.10 .and. (vbld(nres+j)-dsc(iabs(itj))).gt.2.0d0
+        if (itype(j).ne.10 .and. (vbld(nres+j)-dsc(iabs(itj))).gt.5.0d0
      &  .and. itype(j).ne.ntyp1) then
           write (iout,*) "Conformation",jjj,jj+1
           write (iout,*) "Bad CA-SC bond length",j," ",vbld(nres+j)