// 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;
public final class SequenceDataRetriver extends RunnableProcess {
- private final static int DEFAULT_LINES_TO_RETURN = 50;
private final Phylogeny _phy;
private final MainFrameApplication _mf;
private final TreePanel _treepanel;
- public final static boolean DEBUG = false;
+ public final static boolean DEBUG = false;
public SequenceDataRetriver( final MainFrameApplication mf, final TreePanel treepanel, final Phylogeny phy ) {
_phy = phy;
start( _mf, "sequence data" );
SortedSet<String> not_found = null;
try {
- not_found = SequenceDbWsTools.obtainSeqInformation( _phy, false, true, DEFAULT_LINES_TO_RETURN );
+ not_found = SequenceDbWsTools.obtainSeqInformation( _phy,
+ false,
+ true,
+ SequenceDbWsTools.DEFAULT_LINES_TO_RETURN );
}
catch ( final UnknownHostException e ) {
JOptionPane.showMessageDialog( _mf,
}
final StringBuffer sb = new StringBuffer();
if ( not_found.size() == 1 ) {
- sb.append( "Data for the following sequence identifier was not found:\n" );
+ sb.append( "For the following node no data was found:\n" );
}
else {
- sb.append( "Data for the following sequence identifiers was not found (total: " + not_found.size()
- + "):\n" );
+ sb.append( "For the following nodes no data was found (total: " + not_found.size() + "):\n" );
}
int i = 0;
for( final String string : not_found ) {