bugfixes
authorjprocter <Jim Procter>
Fri, 21 Dec 2007 14:55:02 +0000 (14:55 +0000)
committerjprocter <Jim Procter>
Fri, 21 Dec 2007 14:55:02 +0000 (14:55 +0000)
src/jalview/io/vamsas/Sequencemapping.java
src/jalview/io/vamsas/Tree.java

index 746a7d0..8c73992 100644 (file)
@@ -67,8 +67,7 @@ public class Sequencemapping extends Rangetype
   }
   private void conflict(Mapping mjvmapping, SequenceMapping sequenceMapping)
   {
-    // TODO Auto-generated method stub
-
+    System.err.println("Conflict in update of sequenceMapping "+sequenceMapping.getVorbaId());
   }
   private void add(Mapping mjvmapping, uk.ac.vamsas.objects.core.SequenceType from, DataSet ds)
   {
index a45c98d..eb4af4a 100644 (file)
@@ -557,6 +557,10 @@ public class Tree extends DatastoreItem
   {
     try
     {
+      if (ntree==null)
+      {
+        return false;
+      }
       ntree.parse();
       if (ntree.getTree() != null)
       {