From ccbdb56cd70f5ae2daa40449c12a156019dc345f Mon Sep 17 00:00:00 2001 From: gmungoc Date: Tue, 9 Dec 2014 12:21:20 +0000 Subject: [PATCH] JAL-1616 loading of datasets from XML patched --- src/jalview/gui/Jalview2XML.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jalview/gui/Jalview2XML.java b/src/jalview/gui/Jalview2XML.java index aa2ae7a..4e72236 100644 --- a/src/jalview/gui/Jalview2XML.java +++ b/src/jalview/gui/Jalview2XML.java @@ -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); } -- 1.7.10.2