Cache.log.warn("Ignoring " + annotation.getLinkCount()
+ "links added to AlignmentAnnotation.");
}
- if (annotation.getModifiable() == null) // TODO: USE VAMSAS LIBRARY OBJECT
+ if (annotation.getModifiable() == null || annotation.getModifiable().length()==0) // TODO: USE VAMSAS LIBRARY OBJECT
// LOCK METHODS)
{
jan.editable = true;
if (annotation.getGroup() != null
&& annotation.getGroup().length() > 0)
{
- jan.graphGroup = Integer.parseInt(annotation.getGroup());
+ jan.graphGroup = Integer.parseInt(annotation.getGroup()); // TODO: group similarly named annotation together ?
}
} catch (Exception e)
{