From 1eaac5523796cfcf03b737593806ea69cccb22eb Mon Sep 17 00:00:00 2001 From: jprocter Date: Sun, 17 Sep 2006 20:42:21 +0000 Subject: [PATCH] minor bug fixes and temporary alignment title setting to vamsas object id. this version still doesn't create jalview annotation objects correctly. --- src/jalview/io/VamsasDatastore.java | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/src/jalview/io/VamsasDatastore.java b/src/jalview/io/VamsasDatastore.java index 77189db..cb1a466 100755 --- a/src/jalview/io/VamsasDatastore.java +++ b/src/jalview/io/VamsasDatastore.java @@ -636,6 +636,8 @@ public class VamsasDatastore { vProperty.setName(name); if (type!=null) vProperty.setType(type); + else + vProperty.setType("String"); vProperty.setContent(content); return vProperty; } @@ -1064,8 +1066,16 @@ public class VamsasDatastore { // construct alignment view alignFrame = new AlignFrame(jal); av=alignFrame.getViewport(); + String title = alignment.getProvenance().getEntry(alignment.getProvenance().getEntryCount()-1).getAction(); + if (alignment.getPropertyCount()>0) { + for (int p=0,pe=alignment.getPropertyCount(); p0) { Cache.log.warn("Ignoring "+annotation.getLinkCount()+"links added to AlignmentAnnotation."); -- 1.7.10.2