From: jprocter Date: Wed, 17 May 2006 16:52:58 +0000 (+0000) Subject: added unofficial support for concise output parsing from the JNet server to extract... X-Git-Tag: Release_2_1~399 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=a853fae4d9d4dbc80e877741c017fca7ee80c59e;p=jalview.git added unofficial support for concise output parsing from the JNet server to extract the sequence profile. --- diff --git a/src/jalview/io/AppletFormatAdapter.java b/src/jalview/io/AppletFormatAdapter.java index 5f73898..5f228fb 100755 --- a/src/jalview/io/AppletFormatAdapter.java +++ b/src/jalview/io/AppletFormatAdapter.java @@ -100,7 +100,11 @@ { afile = new PfamFile(inFile, type); } - + else if (format.equals("JnetFile")) + { + afile = new JPredFile(inFile, type); + ((JPredFile)afile).removeNonSequences(); + } return afile.getSeqsAsArray(); } diff --git a/src/jalview/io/IdentifyFile.java b/src/jalview/io/IdentifyFile.java index 2040769..6b32fe1 100755 --- a/src/jalview/io/IdentifyFile.java +++ b/src/jalview/io/IdentifyFile.java @@ -126,6 +126,12 @@ public class IdentifyFile break; } + else if (data.indexOf(":")