Beispiel #1
0
    def createCellDictionary (self):
        if (not self.transient):
            self.stringVar_status.set("Populating data point storage...")
            self.update()
            print("Populating data point storage...")

            self.loadThread = Actions.LoadThread(graphicalElements=self.graphicalElements, filename=self.filename, cellDict=self.cellDict)

            # Do not wait for this thread (it disables the graph generation and file selection buttons until completed)
            # The thread is a daemon and will terminate when finished or when the main thread terminates
            self.loadThread.start()