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 (from parent 1:
d7905bc
)
JAL-2505 set SequenceFeature group in constructor
author
gmungoc
<g.m.carstairs@dundee.ac.uk>
Tue, 16 May 2017 08:40:39 +0000
(09:40 +0100)
committer
gmungoc
<g.m.carstairs@dundee.ac.uk>
Tue, 16 May 2017 08:40:39 +0000
(09:40 +0100)
src/jalview/ws/dbsources/Uniprot.java
patch
|
blob
|
history
diff --git
a/src/jalview/ws/dbsources/Uniprot.java
b/src/jalview/ws/dbsources/Uniprot.java
index
3afe8ec
..
4898b42
100644
(file)
--- a/
src/jalview/ws/dbsources/Uniprot.java
+++ b/
src/jalview/ws/dbsources/Uniprot.java
@@
-262,8
+262,9
@@
public class Uniprot extends DbSourceProxyImpl
{
for (SequenceFeature sf : entry.getFeature())
{
{
for (SequenceFeature sf : entry.getFeature())
{
- sf.setFeatureGroup("Uniprot");
- sequence.addSequenceFeature(sf);
+ SequenceFeature copy = new SequenceFeature(sf, sf.getBegin(),
+ sf.getEnd(), "Uniprot");
+ sequence.addSequenceFeature(copy);
}
}
for (DBRefEntry dbr : dbRefs)
}
}
for (DBRefEntry dbr : dbRefs)