Skip to content

Commit 6410e03

Browse files
committed
Switching Jmol interchange format to MMCIF
Any bugs are probably due to the poor MMCIF writer. However, at least we can use multi-letter chain Ids now.
1 parent 7ce014f commit 6410e03

File tree

1 file changed

+2
-2
lines changed
  • biojava-structure-gui/src/main/java/org/biojava/nbio/structure/align/gui/jmol

1 file changed

+2
-2
lines changed

biojava-structure-gui/src/main/java/org/biojava/nbio/structure/align/gui/jmol/JmolPanel.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,8 @@ public void executeCmd(String rasmolScript) {
117117
public void setStructure(Structure s)
118118
{
119119
this.structure = s;
120-
String pdb = s.toPDB();
121-
viewer.openStringInline(pdb);
120+
String serialized = s.toMMCIF();
121+
viewer.openStringInline(serialized);
122122
evalString("save STATE state_1");
123123
}
124124

0 commit comments

Comments
 (0)