We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ed15de1 commit fc53b3fCopy full SHA for fc53b3f
1 file changed
biojava3-structure-gui/src/main/java/demo/ShowStructureInJmol.java
@@ -2,7 +2,7 @@
2
3
import org.biojava.bio.structure.Structure;
4
import org.biojava.bio.structure.align.gui.jmol.StructureAlignmentJmol;
5
-import org.biojava.bio.structure.align.util.AtomCache;
+import org.biojava3.structure.StructureIO;
6
7
8
/** Demo how to load and display a structure in Jmol
@@ -14,9 +14,7 @@ public class ShowStructureInJmol {
14
public static void main(String[] args){
15
try {
16
17
- AtomCache cache = new AtomCache();
18
-
19
- Structure struc = cache.getStructure("1aoi");
+ Structure struc = StructureIO.getStructure("1aoi");
20
21
StructureAlignmentJmol jmolPanel = new StructureAlignmentJmol();
22
0 commit comments