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-1233 tidy up and use same RNA helix colours in colour by annotation and RNA helix...
[jalview.git]
/
src
/
jalview
/
datamodel
/
Alignment.java
diff --git
a/src/jalview/datamodel/Alignment.java
b/src/jalview/datamodel/Alignment.java
index
15df67b
..
5d1fc60
100755
(executable)
--- a/
src/jalview/datamodel/Alignment.java
+++ b/
src/jalview/datamodel/Alignment.java
@@
-1741,7
+1741,7
@@
public class Alignment implements AlignmentI
boolean hasValidSeq = false;
for (SequenceI seq : getSequences())
{
boolean hasValidSeq = false;
for (SequenceI seq : getSequences())
{
- if (seq.getSequenceAsString().matches("(-*[a-zA-Z]-*){1}[a-zA-Z-]*"))
+ if ((seq.getEnd() - seq.getStart()) > 0)
{
hasValidSeq = true;
break;
{
hasValidSeq = true;
break;