示例#1
0
    def doSuccess_MTZDUMP(self, _edPlugin=None):
        """
        This method is called after the MTZDUMPUnitCellSpaceGroup execution plugin has successfully processed, 
        it retrieves the results out of the execution plugin MTZDUMPUnitCellSpaceGroupv10 
        and sets the input for the second execution plugin EDPluginExecPDBSETUnitCellv10
        before running it. The two methods doSuccess_PDBSET and doFailure_PDBSET are also connected here.
        """
        EDVerbose.DEBUG("*** doSuccess_MTZDUMP")
        self.xsDataInput_inputUnitCell = self.edPluginMTZDUMP.getDataOutput(
        ).getUnitCell()
        self.xsDataInput_PDBSET = XSDataInputPDBSETUnitCell()
        self.xsDataInput_PDBSET.setUnitCell(self.xsDataInput_inputUnitCell)
        self.xsDataInput_PDBSET.setInputPDBFile(self.xsDataInput_inputPDBFile)

        self.edPluginPDBSET = self.loadPlugin('EDPluginExecPDBSETUnitCellv10')
        self.edPluginPDBSET.setDataInput(self.xsDataInput_PDBSET)
        self.edPluginPDBSET.connectSUCCESS(self.doSuccess_PDBSET)
        self.edPluginPDBSET.connectFAILURE(self.doFailure_PDBSET)
        self.edPluginPDBSET.executeSynchronous()