From 31c213885bdaafe2670313893fc62a5282d84eb9 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Tue, 13 Feb 2018 13:46:26 +0000 Subject: [PATCH] JAL-2781 FIXME: value of sourceType parameter always overwritten --- src/jalview/structure/StructureSelectionManager.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/jalview/structure/StructureSelectionManager.java b/src/jalview/structure/StructureSelectionManager.java index 8380b19..434d4ff 100644 --- a/src/jalview/structure/StructureSelectionManager.java +++ b/src/jalview/structure/StructureSelectionManager.java @@ -397,6 +397,7 @@ public class StructureSelectionManager boolean isMapUsingSIFTs = SiftsSettings.isMapWithSifts(); try { + // FIXME if sourceType is not null, we've lost data here sourceType = AppletFormatAdapter.checkProtocol(pdbFile); pdb = new JmolParser(pdbFile, sourceType); -- 1.7.10.2