From d8e62df9cac0a8e278873d32e78ff99394d64b61 Mon Sep 17 00:00:00 2001 From: "cmzmasek@gmail.com" Date: Fri, 25 Oct 2013 02:16:34 +0000 Subject: [PATCH] inprogress --- .../src/org/forester/applications/simple_node_processor.class | Bin 2670 -> 2561 bytes .../src/org/forester/applications/simple_node_processor.java | 9 ++++++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/forester_applications/src/org/forester/applications/simple_node_processor.class b/forester_applications/src/org/forester/applications/simple_node_processor.class index 9f0fe1a3a165e777e8a6a14074fe267f0eeae55d..ff02e215cc95cd5506d17c4ebc62b505a7342083 100644 GIT binary patch delta 986 zcmZXSU00M<6vuz(nSmo`j)@BDU?7MkFN0I~4l1G;D8rzk8Bo*!4+OzH<1>SSWg})? z=b9_~0^X*sHB7QrAE5iLTU~ZhA0gTYR^7DLS^Mn0&wlxzz5jpJt=AQQ`TOYnYz_5pFhW8kB z+K>_7b;AvYok$r*NINlVxXGey~iZ17oWu3>GZ!Ayvw)BTL=yg zLO);d!(@IXoXgBCWapD(|7v#%3rmVbFkQ$jWQY9KtHDwbjuk=)8t`*|c2<8?nbXsSY0Pjr*&@r}~PuJ+>L z_^zLbDWOu_)Yrsy1^c8%J>U9$lilMRywPKxb0Gba+O9Ht%j}bDzgMB|g*1z@$g*(C z+lDg5L2248)=7CeEzr)$+ga*`nGIYLczpu&vb^+jfh%GO5sM56;jS?${G4J?XfY&3 zN2TnrY&s?D9FZ-ic_idKCgppGZb_!myrp@2`yAJ_Y1%a%nodnZ2GX)61Bm<=gVJ>E z!#FMLyONf+7_ju>g*3fH+Tf)rg%Vo`B%xZZEs8ZQAx)bmrAaA> z5)f4IQp9*GPrmW!ATy!LjPLqy`0k63&REwmGct4L+v{6vuXWb?_TJZ;|7Ln6i13X$NM+Jk47+Z*#`x9cG>IyN;FeFz1kY%~?%a;XXP# zIi_feFQzV}Lb+5v6PhfoX7ibdq9Izy7fY#pX)2XlOM5tX=l1EIjAlW`(PU)=&7x*W zlamG&-j&tDe7aan7S2lLV4yN#b=El~604k1{nma0l?~P7+fT1ynY^Z8SmAu-Hx=&4 z8dfPvHA9ItDQURCy5S<13@`FhrOg#A8{XrxV%Otl$1cvNS4!D}6no$B0apxVu4=9s zKIFRL1_8rIe60DzaMLMxi%&J589sN&7i?&58@_aM?ijwJqWRkJ4c{8R4?nUWyQLu9?a}$bS?WH zH(XO!QI|{SGo=NE73hvBbS7O&rj|uFU;6x7Dp!nU@`crOG*uLrF4lr_FFNHqfnpC& z^Ng&|3Ul!sme``NV0We6(>fd!f1NPsrk);porokRapM*5hKj3%NUftXN;}H!r4|&4z_WHFX?Yu{8@+TVmsx(#E zB}=nwiE;}M!G2*Oi5!sb2H43UEri+2%XBa#9Y#3FuweO+Jd6>> zx z*n5{Q$Exy_=LdF6u&qY-ZBid>YOm69U&_>^*oPK7E4WA_OCn58gjtrs^D<-6nV^v! NsK13Nk;cgz`WKZq%&`Cf diff --git a/forester_applications/src/org/forester/applications/simple_node_processor.java b/forester_applications/src/org/forester/applications/simple_node_processor.java index c2d832b..8ecbe86 100644 --- a/forester_applications/src/org/forester/applications/simple_node_processor.java +++ b/forester_applications/src/org/forester/applications/simple_node_processor.java @@ -48,12 +48,12 @@ public class simple_node_processor { public static void main( final String args[] ) { File in = null; - File out = null; + final File out = null; try { CommandLineArguments cla = null; cla = new CommandLineArguments( args ); in = cla.getFile( 0 ); - out = cla.getFile( 1 ); + //out = cla.getFile( 1 ); // if ( out.exists() ) { // System.out.println( out + " already exists" ); // System.exit( -1 ); @@ -70,7 +70,7 @@ public class simple_node_processor { i++; } final PhylogenyWriter writer = new PhylogenyWriter(); - writer.toPhyloXML( out, phylogeny_0, 0 ); + //writer.toPhyloXML( out, phylogeny_0, 0 ); } catch ( final Exception e ) { System.out.println( e.getLocalizedMessage() ); @@ -107,6 +107,9 @@ public class simple_node_processor { // } // } if ( node.isExternal() ) { + //final Taxonomy t = node.getNodeData().getTaxonomy(); + //System.out.println( t.getTaxonomyCode() + "\t" + t.getScientificName() + "\t" + t.getCommonName() + // + "\t" + label ); // if ( node.getNodeData().isHasTaxonomy() ) { // final Taxonomy t = node.getNodeData().getTaxonomy(); // if ( !ForesterUtil.isEmpty( t.getTaxonomyCode() ) && ( t.getTaxonomyCode().length() == 5 ) ) { -- 1.7.10.2