File tree Expand file tree Collapse file tree
biojava-structure/src/main/java/org/biojava/nbio/structure/xtal Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -59,8 +59,10 @@ public class CrystalBuilder {
5959 // is enormously long in comparison with the dimensions of the unit cell, some interfaces come at the 7th neighbor.
6060 // After a scan of the whole PDB (Oct 2013) using numCells=50, the highest one was 4jgc with
6161 // interfaces up to the 11th neighbor. Other high ones (9th neighbors) are 4jbm and 4k3t.
62- // We set the default value to 12 based on that (having not seen any difference in runtime)
63- public static final int DEF_NUM_CELLS = 12 ;
62+ // We set the default value to 20 to be on the safe side. Runtime does not seem to be affected at all - JD 2020-01-12
63+ // Some good examples in this posting in CCP4: https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=CCP4BB;45b2755d.2001
64+ // in any case the 5m3h example in the posting seems to have contacts only up to the 11th neighbor.
65+ public static final int DEF_NUM_CELLS = 20 ;
6466
6567 /**
6668 * Default maximum distance between two chains to be considered an interface.
You can’t perform that action at this time.
0 commit comments