def unloadData(self): self.loaded = False self.helixLoaded = False self.sheetLoaded = False self.helixFileName = "" self.sheetFileName = "" BaseViewer.unloadData(self)
def unloadData(self): #overwriting the function in base viewer for chain in self.loadedChains: del chain chain = None self.loadedChains = [] BaseViewer.unloadData(self)