X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fws%2Fdbsources%2FXfam.java;h=6d904159b17fb55d60cd1c40015459d33f51b108;hb=e66bdc1c0086ab56c56979d9dc6635e81503eb84;hp=031ef2e1e362912cc752aa0b7795050be8a0df22;hpb=797df64fa2a0a30773d0f48f5494d4155e5a8be3;p=jalview.git diff --git a/src/jalview/ws/dbsources/Xfam.java b/src/jalview/ws/dbsources/Xfam.java index 031ef2e..6d90415 100644 --- a/src/jalview/ws/dbsources/Xfam.java +++ b/src/jalview/ws/dbsources/Xfam.java @@ -1,13 +1,13 @@ /* - * Jalview - A Sequence Alignment Editor and Viewer (Version 2.7) - * Copyright (C) 2011 J Procter, AM Waterhouse, J Engelhardt, LM Lui, G Barton, M Clamp, S Searle + * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8) + * Copyright (C) 2012 J Procter, AM Waterhouse, LM Lui, J Engelhardt, G Barton, M Clamp, S Searle * * This file is part of Jalview. * * Jalview is free software: you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. - * + * * Jalview is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty * of MERCHANTABILITY or FITNESS FOR A PARTICULAR @@ -47,6 +47,7 @@ public abstract class Xfam extends DbSourceProxyImpl // individual references to each sequence in each family alignment that's // retrieved. startQuery(); + // TODO: trap HTTP 404 exceptions and return null AlignmentI rcds = new jalview.io.FormatAdapter().readFile(getXFAMURL() + queries.trim().toUpperCase(), jalview.io.FormatAdapter.URL, "STH"); @@ -66,4 +67,4 @@ public abstract class Xfam extends DbSourceProxyImpl return rcds; } -} \ No newline at end of file +}