X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=forester%2Fjava%2Fsrc%2Forg%2Fforester%2Fapplication%2Fsimple_node_processor.java;h=a190edfb84d2413193d3ae30db6948b3d4c718bb;hb=4e202b796a689419621ddc2c3934797c39af9026;hp=c7e495acf4399700ca52dec8da7dc7e494809461;hpb=5a6b799447987d651276b06c1330b22836420ded;p=jalview.git diff --git a/forester/java/src/org/forester/application/simple_node_processor.java b/forester/java/src/org/forester/application/simple_node_processor.java index c7e495a..a190edf 100644 --- a/forester/java/src/org/forester/application/simple_node_processor.java +++ b/forester/java/src/org/forester/application/simple_node_processor.java @@ -41,24 +41,16 @@ public class simple_node_processor { public static void main( final String args[] ) { File in = null; - File out = null; - if ( ( args.length != 2 ) ) { - // System.exit( -1 ); - if ( ( args.length == 0 ) ) { - in = new File("C:\\Users\\zma\\dollo.xml"); - out = null; - } - } + final File out = null; try { - System.out.println( "..."); CommandLineArguments cla = null; cla = new CommandLineArguments( args ); - // in = cla.getFile( 0 ); - // out = cla.getFile( 1 ); - // if ( out.exists() ) { - // System.out.println( out + " already exists" ); - // System.exit( -1 ); - // } + in = cla.getFile( 0 ); + // out = cla.getFile( 1 ); + // if ( out.exists() ) { + // System.out.println( out + " already exists" ); + // System.exit( -1 ); + // } final PhylogenyFactory factory = ParserBasedPhylogenyFactory.getInstance(); final PhyloXmlParser xml_parser = new PhyloXmlParser(); final Phylogeny[] phylogenies_0 = factory.create( in, xml_parser );