FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Switching Jmol interchange format to MMCIF · biojava/biojava@6410e03 · GitHub

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

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

‎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)

Back | FazBrowse Home | New Git URL