X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fdatamodel%2Fxdb%2Fembl%2FEmblFile.java;h=1dd854a4bd2906ace8441e04724adf322182ffd9;hb=37de9310bec3501cbc6381e0c3dcb282fcaad812;hp=87b3079498df2045962238e1988ed3b107fc1d10;hpb=db93a1adcbe0a4eaaf06e0a70ade0d6c5c1961c3;p=jalview.git diff --git a/src/jalview/datamodel/xdb/embl/EmblFile.java b/src/jalview/datamodel/xdb/embl/EmblFile.java index 87b3079..1dd854a 100644 --- a/src/jalview/datamodel/xdb/embl/EmblFile.java +++ b/src/jalview/datamodel/xdb/embl/EmblFile.java @@ -1,6 +1,6 @@ /* - * Jalview - A Sequence Alignment Editor and Viewer (Version 2.9.0b2) - * Copyright (C) 2015 The Jalview Authors + * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$) + * Copyright (C) $$Year-Rel$$ The Jalview Authors * * This file is part of Jalview. * @@ -46,6 +46,8 @@ public class EmblFile Vector errors; + String text; + /** * @return the entries */ @@ -152,6 +154,10 @@ public class EmblFile */ static void canonicaliseDbRefs(EmblFile record) { + if (record.getEntries() == null) + { + return; + } for (EmblEntry entry : record.getEntries()) { if (entry.getDbRefs() != null) @@ -183,4 +189,14 @@ public class EmblFile } } } + + public String getText() + { + return text; + } + + public void setText(String text) + { + this.text = text; + } }