X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=forester%2Fjava%2Fsrc%2Forg%2Fforester%2Fapplication%2Fconfadd.java;h=0a24dbf7fb503163c771dbd6601de662188ac094;hb=73c5b11c1a00e539afb246e345ebf3f042dded78;hp=dbc4d507e46ae80d0b5da8d5c272bff050531e8c;hpb=eee996a6476a1e3d84c07f8f690dcde3ff4b2ef5;p=jalview.git diff --git a/forester/java/src/org/forester/application/confadd.java b/forester/java/src/org/forester/application/confadd.java index dbc4d50..0a24dbf 100644 --- a/forester/java/src/org/forester/application/confadd.java +++ b/forester/java/src/org/forester/application/confadd.java @@ -33,6 +33,7 @@ import java.util.HashSet; import java.util.List; import java.util.Set; +import org.forester.io.parsers.util.ParserUtils; import org.forester.io.writers.PhylogenyWriter; import org.forester.phylogeny.Phylogeny; import org.forester.phylogeny.PhylogenyNode; @@ -145,7 +146,7 @@ public class confadd { Phylogeny[] evaluators = null; final PhylogenyFactory factory = ParserBasedPhylogenyFactory.getInstance(); try { - targets = factory.create( target_file, ForesterUtil.createParserDependingOnFileType( target_file, true ) ); + targets = factory.create( target_file, ParserUtils.createParserDependingOnFileType( target_file, true ) ); } catch ( final IOException e ) { ForesterUtil.fatalError( PRG_NAME, @@ -170,7 +171,7 @@ public class confadd { } try { evaluators = factory.create( evaluators_file, - ForesterUtil.createParserDependingOnFileType( evaluators_file, true ) ); + ParserUtils.createParserDependingOnFileType( evaluators_file, true ) ); } catch ( final IOException e ) { ForesterUtil.fatalError( PRG_NAME, "failed to read evaluator topologies from [" + evaluators_file + "]: "