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:
45ae91e
)
JAL-2629 revert to showing Profile parameter even if only 1 choice
author
gmungoc
<g.m.carstairs@dundee.ac.uk>
Thu, 10 May 2018 14:30:43 +0000
(15:30 +0100)
committer
gmungoc
<g.m.carstairs@dundee.ac.uk>
Thu, 10 May 2018 14:30:43 +0000
(15:30 +0100)
src/jalview/hmmer/HMMERParamStore.java
patch
|
blob
|
history
diff --git
a/src/jalview/hmmer/HMMERParamStore.java
b/src/jalview/hmmer/HMMERParamStore.java
index
37ad435
..
fbab7a9
100644
(file)
--- a/
src/jalview/hmmer/HMMERParamStore.java
+++ b/
src/jalview/hmmer/HMMERParamStore.java
@@
-199,14
+199,14
@@
public final class HMMERParamStore implements ParamDatastoreI
/**
* Adds an argument representing the choice of HMM sequences (profiles)
- * against which to perform align or search, provided more than one is found
+ * against which to perform align or search, provided at least one is found
*
* @param args
*/
protected void addChoiceOfHmm(List<ArgumentI> args)
{
List<SequenceI> hmms = viewport.getAlignment().getHmmSequences();
- if (hmms.size() > 1)
+ if (!hmms.isEmpty())
{
List<String> options = new ArrayList<>();
for (SequenceI hmmSeq : hmms)