Beispiel #1
0
    def __init__(self):
        ''' Initiate the content widget '''
        super(Content, self).__init__()
        
        # Create DDStorm object with the global configuration
        self.dd=DDStorm(True, conf)

        # Show warning if any error happened during data compilation 
        if(not self.dd.compiler.is_clean()):
            ret=QtWidgets.QMessageBox.warning(self, "Compilation Error", "Error was encountered while compiling the Knowledgebase.", "Ignore", "View Log")
            if(ret==1):
                x_logfile()
        
        self.initUI()