X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fws%2Fdbsources%2FEmblXmlSource.java;fp=src%2Fjalview%2Fws%2Fdbsources%2FEmblXmlSource.java;h=b1395745ccc8539752d2279ce038bf5f89e2ceed;hb=f40e44c9db0a689f2df188cf07801b035096c1b1;hp=f672e8bee6c6aa3fe3d41a5f420bce1ef9eb83d2;hpb=8546ee20c998cd48567d324027d1885a771e688f;p=jalview.git diff --git a/src/jalview/ws/dbsources/EmblXmlSource.java b/src/jalview/ws/dbsources/EmblXmlSource.java index f672e8b..b139574 100644 --- a/src/jalview/ws/dbsources/EmblXmlSource.java +++ b/src/jalview/ws/dbsources/EmblXmlSource.java @@ -102,6 +102,11 @@ public abstract class EmblXmlSource extends EbiFileRetrievedProxy } } + /* + * invalid accession gets a reply with no elements, text content of + * EmbFile reads something like (e.g.) this ungrammatical phrase + * Entry: display type is either not supported or entry is not found. + */ List peptides = new ArrayList(); if (efile != null && efile.getEntries() != null) {