Commit a08d3a16 by Chloe Dequeker

Small fix for the clash option

parent e1f8bd83
...@@ -206,7 +206,8 @@ void getInterface(struct pdb_values* pdbR, struct pdb_values* pdbL, int confID){ ...@@ -206,7 +206,8 @@ void getInterface(struct pdb_values* pdbR, struct pdb_values* pdbL, int confID){
dist = sqrt((x1-x2)*(x1-x2) + (y1-y2)*(y1-y2) + (z1-z2)*(z1-z2)); dist = sqrt((x1-x2)*(x1-x2) + (y1-y2)*(y1-y2) + (z1-z2)*(z1-z2));
if(dist < DIST_FOR_CLASH){ if(dist < DIST_FOR_CLASH){
clash++; if(!force)
clash++;
if(clash >= TOO_MUCH_CLASHES){ if(clash >= TOO_MUCH_CLASHES){
break; break;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment