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:
2bf5ab6
)
JAL-654 remove any annotation rows for chain specific query
author
Jim Procter
<j.procter@dundee.ac.uk>
Mon, 6 Oct 2014 11:39:13 +0000
(12:39 +0100)
committer
Jim Procter
<j.procter@dundee.ac.uk>
Mon, 6 Oct 2014 11:39:13 +0000
(12:39 +0100)
src/jalview/ws/dbsources/Pdb.java
patch
|
blob
|
history
diff --git
a/src/jalview/ws/dbsources/Pdb.java
b/src/jalview/ws/dbsources/Pdb.java
index
a352de6
..
f222aaa
100644
(file)
--- a/
src/jalview/ws/dbsources/Pdb.java
+++ b/
src/jalview/ws/dbsources/Pdb.java
@@
-21,6
+21,7
@@
package jalview.ws.dbsources;
import jalview.datamodel.Alignment;
+import jalview.datamodel.AlignmentAnnotation;
import jalview.datamodel.DBRefEntry;
import jalview.datamodel.DBRefSource;
import jalview.datamodel.PDBEntry;
@@
-193,6
+194,13
@@
public class Pdb extends EbiFileRetrievedProxy implements DbSourceProxy
for (SequenceI pdbcs : toremove)
{
pdbfile.deleteSequence(pdbcs);
+ if (pdbcs.getAnnotation()!=null)
+ {
+ for (AlignmentAnnotation aa: pdbcs.getAnnotation())
+ {
+ pdbfile.deleteAnnotation(aa);
+ }
+ }
}
}