in progress
[jalview.git] / forester / java / src / org / forester / application / simple_node_processor.java
index 033bd9f..a190edf 100644 (file)
@@ -40,18 +40,17 @@ public class simple_node_processor {
     private final static String BASE = "b_";
 
     public static void main( final String args[] ) {
-        if ( ( args.length != 2 ) ) {
-            System.exit( -1 );
-        }
+        File in = null;
+        final File out = null;
         try {
             CommandLineArguments cla = null;
             cla = new CommandLineArguments( args );
-            final File in = cla.getFile( 0 );
-            final File 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 );