From: gmungoc Date: Tue, 9 Dec 2014 12:21:20 +0000 (+0000) Subject: JAL-1616 loading of datasets from XML patched X-Git-Tag: Release_2_8_2b1^2~2 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2FRelease_2_8_2_Branch;p=jalview.git JAL-1616 loading of datasets from XML patched --- 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); }