JAL-2136 broken build fix attempt
authortcofoegbu <tcnofoegbu@dundee.ac.uk>
Mon, 22 May 2017 10:59:09 +0000 (11:59 +0100)
committertcofoegbu <tcnofoegbu@dundee.ac.uk>
Mon, 22 May 2017 10:59:09 +0000 (11:59 +0100)
src/jalview/io/AnnotationFile.java

index 8e1730a..206d971 100755 (executable)
@@ -32,7 +32,6 @@ import jalview.datamodel.PDBEntry;
 import jalview.datamodel.PDBEntry.Type;
 import jalview.datamodel.SequenceGroup;
 import jalview.datamodel.SequenceI;
-import jalview.gui.Desktop;
 import jalview.schemes.ColourSchemeI;
 import jalview.schemes.ColourSchemeProperty;
 import jalview.structure.StructureSelectionManager;
@@ -1303,7 +1302,7 @@ public class AnnotationFile
         querySequence.getDatasetSequence().addPDBId(phyre2PDBEntry);
       }
       StructureSelectionManager ssm = StructureSelectionManager
-              .getStructureSelectionManager(Desktop.instance);
+              .getStructureSelectionManager();
       ssm.registerPhyre2Template(structureModelFile, fastaMappingFile);
       added = true;