From: jprocter Date: Sun, 17 Sep 2006 20:42:21 +0000 (+0000) Subject: minor bug fixes and temporary alignment title setting to vamsas object id. this versi... X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=1eaac5523796cfcf03b737593806ea69cccb22eb;hp=d8ec49016d27c0c3c5565021d86d7a5b50a92809;p=jalview.git minor bug fixes and temporary alignment title setting to vamsas object id. this version still doesn't create jalview annotation objects correctly. --- 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.");