/*
- * 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.
*
Vector<EmblError> errors;
+ String text;
+
/**
* @return the entries
*/
try
{
// uncomment to DEBUG EMBLFile reading
- if (jalview.bin.Cache.getDefault(jalview.bin.Cache.CASTORLOGLEVEL,
- "debug").equalsIgnoreCase("DEBUG"))
+ if (jalview.bin.Cache
+ .getDefault(jalview.bin.Cache.CASTORLOGLEVEL, "debug")
+ .equalsIgnoreCase("DEBUG"))
{
unmar.setDebug(jalview.bin.Cache.log.isDebugEnabled());
}
*/
static void canonicaliseDbRefs(EmblFile record)
{
+ if (record.getEntries() == null)
+ {
+ return;
+ }
for (EmblEntry entry : record.getEntries())
{
if (entry.getDbRefs() != null)
}
}
}
+
+ public String getText()
+ {
+ return text;
+ }
+
+ public void setText(String text)
+ {
+ this.text = text;
+ }
}