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
Merge branch 'feature/JAL-2759' into merge/JAL-2759_2104
[jalview.git]
/
src
/
jalview
/
ext
/
rbvi
/
chimera
/
ChimeraCommands.java
diff --git
a/src/jalview/ext/rbvi/chimera/ChimeraCommands.java
b/src/jalview/ext/rbvi/chimera/ChimeraCommands.java
index
dd91087
..
dad8511
100644
(file)
--- a/
src/jalview/ext/rbvi/chimera/ChimeraCommands.java
+++ b/
src/jalview/ext/rbvi/chimera/ChimeraCommands.java
@@
-411,12
+411,8
@@
public class ChimeraCommands
StructureMapping mapping, SequenceI seq,
Map<String, Map<Object, AtomSpecModel>> theMap, int modelNumber)
{
StructureMapping mapping, SequenceI seq,
Map<String, Map<Object, AtomSpecModel>> theMap, int modelNumber)
{
- SequenceFeature[] sfs = seq.getSequenceFeatures();
- if (sfs == null)
- {
- return;
- }
-
+ List<SequenceFeature> sfs = seq.getFeatures().getPositionalFeatures(
+ visibleFeatures.toArray(new String[visibleFeatures.size()]));
for (SequenceFeature sf : sfs)
{
String type = sf.getType();
for (SequenceFeature sf : sfs)
{
String type = sf.getType();
@@
-427,7
+423,7
@@
public class ChimeraCommands
*/
boolean isFromViewer = JalviewChimeraBinding.CHIMERA_FEATURE_GROUP
.equals(sf.getFeatureGroup());
*/
boolean isFromViewer = JalviewChimeraBinding.CHIMERA_FEATURE_GROUP
.equals(sf.getFeatureGroup());
- if (isFromViewer || !visibleFeatures.contains(type))
+ if (isFromViewer)
{
continue;
}
{
continue;
}