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 'Jalview-BH/JAL-3026' of https://source.jalview.org/git/jalview.git...
[jalview.git]
/
src
/
jalview
/
workers
/
AlignCalcWorker.java
diff --git
a/src/jalview/workers/AlignCalcWorker.java
b/src/jalview/workers/AlignCalcWorker.java
index
771c492
..
0ad8726
100644
(file)
--- a/
src/jalview/workers/AlignCalcWorker.java
+++ b/
src/jalview/workers/AlignCalcWorker.java
@@
-95,6
+95,7
@@
public abstract class AlignCalcWorker implements AlignCalcWorkerI
ourAnnots.clear();
}
}
ourAnnots.clear();
}
}
+
// TODO: allow GUI to query workers associated with annotation to add items to
// annotation label panel popup menu
// TODO: allow GUI to query workers associated with annotation to add items to
// annotation label panel popup menu
@@
-118,8
+119,10
@@
public abstract class AlignCalcWorker implements AlignCalcWorkerI
float max = Float.MIN_VALUE;
float min = Float.MAX_VALUE;
boolean set = false;
float max = Float.MIN_VALUE;
float min = Float.MAX_VALUE;
boolean set = false;
- for (Annotation a : anns) {
- if (a != null) {
+ for (Annotation a : anns)
+ {
+ if (a != null)
+ {
set = true;
float val = a.value;
max = Math.max(max, val);
set = true;
float val = a.value;
max = Math.max(max, val);