Skip to content

Commit 67d3d34

Browse files
committed
fixing broken demo
1 parent 161c567 commit 67d3d34

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

biojava-structure-gui/src/main/java/demo/DemoCE.java

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@
3636
import org.biojava.nbio.structure.align.model.AfpChainWriter;
3737
import org.biojava.nbio.structure.align.util.AFPChainScorer;
3838
import org.biojava.nbio.structure.align.util.AtomCache;
39+
import org.biojava.nbio.structure.io.mmcif.ChemCompGroupFactory;
40+
import org.biojava.nbio.structure.io.mmcif.DownloadChemCompProvider;
3941

4042
public class DemoCE
4143
{
@@ -45,12 +47,18 @@ public static void main(String[] args){
4547
//String name1 = "4hhb.A";
4648
//String name2 = "4hhb.B";
4749

48-
String name1 = "1cdg.A";
49-
String name2 = "1tim.B";
50-
51-
50+
String name1 = "d1pqsa_";
51+
String name2 = "d1poha_";
5252

53+
// String name1 = "5AZQ.A";
54+
// String name2 = "4ODC.A";
55+
5356
AtomCache cache = new AtomCache();
57+
58+
DownloadChemCompProvider prov = new DownloadChemCompProvider();
59+
prov.setDownloadAll(true);
60+
61+
ChemCompGroupFactory.setChemCompProvider(prov);
5462

5563
Structure structure1 = null;
5664
Structure structure2 = null;

0 commit comments

Comments
 (0)