From: Jim Procter Date: Tue, 13 Feb 2018 13:46:26 +0000 (+0000) Subject: JAL-2781 FIXME: value of sourceType parameter always overwritten X-Git-Tag: Release_2_10_4~68^2~9 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=31c213885bdaafe2670313893fc62a5282d84eb9;p=jalview.git JAL-2781 FIXME: value of sourceType parameter always overwritten --- 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);