git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JAL-3725 restrict mapped virtual feature location to mapped region
[jalview.git]
/
src
/
jalview
/
datamodel
/
Sequence.java
diff --git
a/src/jalview/datamodel/Sequence.java
b/src/jalview/datamodel/Sequence.java
index
247f5e5
..
633fb07
100755
(executable)
--- a/
src/jalview/datamodel/Sequence.java
+++ b/
src/jalview/datamodel/Sequence.java
@@
-497,6
+497,7
@@
public class Sequence extends ASequence implements SequenceI
public void setStart(int start)
{
this.start = start;
public void setStart(int start)
{
this.start = start;
+ sequenceChanged();
}
/**
}
/**
@@
-1885,15
+1886,6
@@
public class Sequence extends ASequence implements SequenceI
List<SequenceFeature> result = getFeatures().findFeatures(startPos,
endPos, types);
List<SequenceFeature> result = getFeatures().findFeatures(startPos,
endPos, types);
- if (datasetSequence != null)
- {
- result = datasetSequence.getFeatures().findFeatures(startPos, endPos,
- types);
- }
- else
- {
- result = sequenceFeatureStore.findFeatures(startPos, endPos, types);
- }
/*
* if end column is gapped, endPos may be to the right,
/*
* if end column is gapped, endPos may be to the right,