git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
469613d
)
JAL-1803 recover type field faithfully for mmCIF/PDB file type info
author
Jim Procter
<jprocter@issues.jalview.org>
Sun, 4 Sep 2016 12:20:40 +0000
(13:20 +0100)
committer
Jim Procter
<jprocter@issues.jalview.org>
Sun, 4 Sep 2016 12:20:40 +0000
(13:20 +0100)
src/jalview/gui/Jalview2XML.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/Jalview2XML.java
b/src/jalview/gui/Jalview2XML.java
index
5d187da
..
86f8146
100644
(file)
--- a/
src/jalview/gui/Jalview2XML.java
+++ b/
src/jalview/gui/Jalview2XML.java
@@
-2982,9
+2982,9
@@
public class Jalview2XML
entry.setId(ids[p].getId());
if (ids[p].getType() != null)
{
- if (ids[p].getType().equalsIgnoreCase("PDB"))
+ if (PDBEntry.Type.getType(ids[p].getType()) != null)
{
- entry.setType(PDBEntry.Type.PDB);
+ entry.setType(PDBEntry.Type.getType(ids[p].getType()));
}
else
{