JAL-2781 FIXME: value of sourceType parameter always overwritten
authorJim Procter <jprocter@issues.jalview.org>
Tue, 13 Feb 2018 13:46:26 +0000 (13:46 +0000)
committerJim Procter <jprocter@issues.jalview.org>
Tue, 13 Feb 2018 13:46:26 +0000 (13:46 +0000)
src/jalview/structure/StructureSelectionManager.java

index 8380b19..434d4ff 100644 (file)
@@ -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);