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:
24e0210
)
JAL-1803 restore property array for a sequence’s associated PDBEntry from project.
author
Jim Procter
<jprocter@issues.jalview.org>
Sun, 4 Sep 2016 12:20:01 +0000
(13:20 +0100)
committer
Jim Procter
<jprocter@issues.jalview.org>
Sun, 4 Sep 2016 12:20:01 +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
c80f3de
..
5d187da
100644
(file)
--- a/
src/jalview/gui/Jalview2XML.java
+++ b/
src/jalview/gui/Jalview2XML.java
@@
-3002,6
+3002,17
@@
public class Jalview2XML
entry.setFile(pdbloaded.get(ids[p].getId()).toString());
}
}
+ if (ids[p].getPdbentryItem() != null)
+ {
+ entry.setProperty(new Hashtable());
+ for (PdbentryItem item : ids[p].getPdbentryItem())
+ {
+ for (Property pr : item.getProperty())
+ {
+ entry.getProperty().put(pr.getName(), pr.getValue());
+ }
+ }
+ }
StructureSelectionManager.getStructureSelectionManager(
Desktop.instance).registerPDBEntry(entry);
// adds PDBEntry to datasequence's set (since Jalview 2.10)