JAL-1616 loading of datasets from XML patched
authorgmungoc <g.m.carstairs@dundee.ac.uk>
Tue, 9 Dec 2014 12:21:20 +0000 (12:21 +0000)
committergmungoc <g.m.carstairs@dundee.ac.uk>
Tue, 9 Dec 2014 12:31:54 +0000 (12:31 +0000)
src/jalview/gui/Jalview2XML.java

index aa2ae7a..4e72236 100644 (file)
@@ -4014,7 +4014,7 @@ public class Jalview2XML
       addDatasetRef(vamsasSet.getDatasetId(), ds);
     }
     // set the dataset for the newly imported alignment.
-    if (al.getDataset() == null)
+    if (al.getDataset() == null && !ignoreUnrefed)
     {
       al.setDataset(ds);
     }