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
in progress
[jalview.git]
/
forester
/
java
/
src
/
org
/
forester
/
archaeopteryx
/
tools
/
GoAnnotation.java
diff --git
a/forester/java/src/org/forester/archaeopteryx/tools/GoAnnotation.java
b/forester/java/src/org/forester/archaeopteryx/tools/GoAnnotation.java
index
6ca6a2f
..
702f30c
100644
(file)
--- a/
forester/java/src/org/forester/archaeopteryx/tools/GoAnnotation.java
+++ b/
forester/java/src/org/forester/archaeopteryx/tools/GoAnnotation.java
@@
-21,7
+21,7
@@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
//
// Contact: phylosoft @ gmail . com
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
//
// Contact: phylosoft @ gmail . com
-// WWW: www.phylosoft.org/forester
+// WWW: https://sites.google.com/site/cmzmasek/home/software/forester
package org.forester.archaeopteryx.tools;
package org.forester.archaeopteryx.tools;
@@
-43,7
+43,7
@@
import org.forester.phylogeny.data.Sequence;
import org.forester.phylogeny.iterators.PhylogenyNodeIterator;
import org.forester.util.ForesterUtil;
import org.forester.phylogeny.iterators.PhylogenyNodeIterator;
import org.forester.util.ForesterUtil;
-public class GoAnnotation implements Runnable {
+public class GoAnnotation extends RunnableProcess {
private static final String SYMBOL = "Symbol";
private static final String ASPECT = "Aspect";
private static final String SYMBOL = "Symbol";
private static final String ASPECT = "Aspect";
@@
-62,7
+62,7
@@
public class GoAnnotation implements Runnable {
}
private void annotate() {
}
private void annotate() {
- _mf.getMainPanel().getCurrentTreePanel().setWaitCursor();
+ start( _mf, "GO annotate" );
for( final PhylogenyNodeIterator iter = _phy.iteratorPostorder(); iter.hasNext(); ) {
final PhylogenyNode node = iter.next();
if ( ( node.getNodeData().getSequences() != null ) && !node.getNodeData().getSequences().isEmpty() ) {
for( final PhylogenyNodeIterator iter = _phy.iteratorPostorder(); iter.hasNext(); ) {
final PhylogenyNode node = iter.next();
if ( ( node.getNodeData().getSequences() != null ) && !node.getNodeData().getSequences().isEmpty() ) {
@@
-125,6
+125,7
@@
public class GoAnnotation implements Runnable {
}
}
}
}
}
}
+ end( _mf );
_treepanel.repaint();
_treepanel.setEdited( true );
}
_treepanel.repaint();
_treepanel.setEdited( true );
}