X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fio%2FVamsasAppDatastore.java;h=c2031cc66940d56039d20ecf3cfa5616b558be37;hb=2253f31565d4e96edffce2fac596e2ef0578d596;hp=1964c2f8f62b760f283875970ae37c8e344ee4b1;hpb=a32b2c8d6f9d68da9fdcd07e2557c62c90fed630;p=jalview.git diff --git a/src/jalview/io/VamsasAppDatastore.java b/src/jalview/io/VamsasAppDatastore.java index 1964c2f..c2031cc 100644 --- a/src/jalview/io/VamsasAppDatastore.java +++ b/src/jalview/io/VamsasAppDatastore.java @@ -1,22 +1,21 @@ /* - * Jalview - A Sequence Alignment Editor and Viewer - * Copyright (C) 2005 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle - * + * Jalview - A Sequence Alignment Editor and Viewer (Version 2.4) + * Copyright (C) 2008 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle + * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA */ - package jalview.io; import jalview.bin.Cache; @@ -351,7 +350,7 @@ public class VamsasAppDatastore } } } - if (sq.getDatasetSequence()==null && sq.getDBRef() != null) + if (sq.getDatasetSequence() == null && sq.getDBRef() != null) { // only sync database references for dataset sequences DBRefEntry[] entries = sq.getDBRef(); @@ -379,22 +378,22 @@ public class VamsasAppDatastore // //////////////////////////////////////////// if (!av.getAlignment().isAligned()) return; // TODO: trees could be written - but for the moment we just - // skip + // skip // //////////////////////////////////////////// // Save the Alignments Alignment alignment = (Alignment) getjv2vObj(av.getSequenceSetId()); // bind - // to - // the - // value - // used - // to - // associate - // different - // views - // to - // same - // alignment + // to + // the + // value + // used + // to + // associate + // different + // views + // to + // same + // alignment if (alignment == null) { @@ -456,20 +455,20 @@ public class VamsasAppDatastore { // info in the undo addProvenance(alignment.getProvenance(), "Edited"); // TODO: - // insert - // something - // sensible - // here again + // insert + // something + // sensible + // here again } else { // info in the undo addProvenance(alignment.getProvenance(), "Attributes Edited"); // TODO: - // insert - // something - // sensible - // here - // again + // insert + // something + // sensible + // here + // again } } if (alismod) @@ -2047,9 +2046,9 @@ public class VamsasAppDatastore if (type == 0) { type = jalview.datamodel.AlignmentAnnotation.BAR_GRAPH; // default - // type of - // value - // annotation + // type of + // value + // annotation if (has[HASHPHOB]) { // no hints - so we ensure HPHOB display is like this. @@ -2148,7 +2147,7 @@ public class VamsasAppDatastore } if (annotation.getModifiable() == null || annotation.getModifiable().length() == 0) // TODO: USE VAMSAS - // LIBRARY OBJECT + // LIBRARY OBJECT // LOCK METHODS) { jan.editable = true; @@ -2159,12 +2158,12 @@ public class VamsasAppDatastore && annotation.getGroup().length() > 0) { jan.graphGroup = Integer.parseInt(annotation.getGroup()); // TODO: - // group - // similarly - // named - // annotation - // together - // ? + // group + // similarly + // named + // annotation + // together + // ? } } catch (Exception e) {