Zmiany do clustrowania dla D aminokwasow single chain.
[unres.git] / source / cluster / wham / src / readrtns.F
index c565129..e86d7e8 100644 (file)
@@ -214,9 +214,9 @@ C Convert sequence to numeric code
 #endif
           itel(i)=0
 #ifdef PROCOR
-        else if (itype(i+1).ne.20) then
+        else if (iabs(itype(i+1)).ne.20) then
 #else
-        else if (itype(i).ne.20) then
+        else if (iabs(itype(i)).ne.20) then
 #endif
           itel(i)=1
         else