From 6f6f5dd035df25f971ab1191c76bb3bae337e950 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 d003cb0..cccf34d 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