applied 2009 GPL license
[jalview.git] / src / jalview / io / VamsasAppDatastore.java
index e77355e..fe8b053 100644 (file)
@@ -1,6 +1,6 @@
 /*
- * Jalview - A Sequence Alignment Editor and Viewer (Version 2.4)
- * Copyright (C) 2008 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle
+ * Jalview - A Sequence Alignment Editor and Viewer (Version 2.4.0.b2)
+ * Copyright (C) 2009 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
@@ -350,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();
@@ -378,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)
       {
@@ -455,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)
@@ -2046,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.
@@ -2147,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;
@@ -2158,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)
       {