Beispiel #1
0
 def __init__(self, _edStringTestName=None):
     EDTestCasePluginExecuteControlCharacterisationv1_5.__init__(self, "EDTestCasePluginExecuteControlCharacterisationv1_5_integrationError")
     self.setConfigurationFile(self.getRefConfigFile())
     self.setDataInputFile(os.path.join(self.getPluginTestsDataHome(), "XSDataInputCharacterisation_integrationError.xml"))
     self.setNoExpectedWarningMessages(0)
     self.setNoExpectedErrorMessages(1)
     self.setAcceptPluginFailure(True)
Beispiel #2
0
    def testExecute(self):
        EDTestCasePluginExecuteControlCharacterisationv1_5.testExecute(self)

        edPlugin = self.getPlugin()
        strStatusMessage = None
        if edPlugin.hasDataOutput("statusMessage"):
            strStatusMessage = edPlugin.getDataOutput("statusMessage")[0].getValue()
        EDAssert.equal(True, strStatusMessage.find("Integration FAILURE") != -1, "Status message contains 'Integration FAILURE'")
    def testExecute(self):
        EDTestCasePluginExecuteControlCharacterisationv1_5.testExecute(self)

        edPlugin = self.getPlugin()
        strStatusMessage = None
        if edPlugin.hasDataOutput("statusMessage"):
            strStatusMessage = edPlugin.getDataOutput("statusMessage")[0].getValue()
        EDAssert.equal(True, strStatusMessage.find("ring") != -1, "Status message contains 'ring'")
 def __init__(self, _edStringTestName=None):
     EDTestCasePluginExecuteControlCharacterisationv1_5.__init__(
         self,
         "EDTestCasePluginExecuteControlCharacterisationv1_5_iceRings")
     self.setConfigurationFile(self.getRefConfigFile())
     self.setDataInputFile(
         os.path.join(self.getPluginTestsDataHome(),
                      "XSDataInputCharacterisation_iceRings.xml"))
     self.setNoExpectedWarningMessages(2)
 def __init__(self, _edStringTestName=None):
     EDTestCasePluginExecuteControlCharacterisationv1_5.__init__(
         self, "EDTestCasePluginExecuteControlCharacterisationv1_5_withForcedSpaceGroup"
     )
     self.setConfigurationFile(self.getRefConfigFile())
     self.setDataInputFile(
         os.path.join(self.getPluginTestsDataHome(), "XSDataInputCharacterisation_withForcedSpaceGroup.xml")
     )
     self.setNoExpectedWarningMessages(1)
     self.setNoExpectedErrorMessages(0)
    def testExecute(self):
        EDTestCasePluginExecuteControlCharacterisationv1_5.testExecute(self)

        edPlugin = self.getPlugin()
        strStatusMessage = None
        if edPlugin.hasDataOutput("statusMessage"):
            strStatusMessage = edPlugin.getDataOutput("statusMessage")[0].getValue()
        EDAssert.equal(True, strStatusMessage.find("Indexing FAILURE") != -1, "Status message contains 'Indexing FAILURE'")
        
        edPlugin.generateExecutiveSummary(edPlugin)
        edPlugin.verboseScreenExecutiveSummary()
    def testExecute(self):
        EDTestCasePluginExecuteControlCharacterisationv1_5.testExecute(self)

        edPlugin = self.getPlugin()
        xsDataCharacterisation = edPlugin.getDataOutput()
        xsDataResultIndexing = xsDataCharacterisation.getIndexingResult()
        xsDataSelectedSolution = xsDataResultIndexing.getSelectedSolution()
        xsDataCrystal = xsDataSelectedSolution.getCrystal()
        xsDataSpaceGroup = xsDataCrystal.getSpaceGroup()
        strSpaceGroupName = xsDataSpaceGroup.getName().getValue()
        EDAssert.equal("P1", strSpaceGroupName, "Selected indexing solution is P1")
Beispiel #8
0
    def testExecute(self):
        EDTestCasePluginExecuteControlCharacterisationv1_5.testExecute(self)

        edPlugin = self.getPlugin()
        xsDataCharacterisation = edPlugin.getDataOutput()
        xsDataResultIndexing = xsDataCharacterisation.getIndexingResult()
        xsDataSelectedSolution = xsDataResultIndexing.getSelectedSolution()
        xsDataCrystal = xsDataSelectedSolution.getCrystal()
        xsDataSpaceGroup = xsDataCrystal.getSpaceGroup()
        strSpaceGroupName = xsDataSpaceGroup.getName().getValue()
        EDAssert.equal("P1", strSpaceGroupName,
                       "Selected indexing solution is P1")
 def __init__(self, _edStringTestName=None):
     EDTestCasePluginExecuteControlCharacterisationv1_5.__init__(
         self,
         "EDTestCasePluginExecuteControlCharacterisationv1_5_bestBFactorFailed"
     )
     self.setConfigurationFile(self.getRefConfigFile())
     self.setDataInputFile(
         os.path.join(
             self.getPluginTestsDataHome(),
             "XSDataInputCharacterisation_withRFriedelAndDoseLimit.xml"))
     self.setNoExpectedWarningMessages(0)
     self.setNoExpectedErrorMessages(0)
Beispiel #10
0
    def testExecute(self):
        EDTestCasePluginExecuteControlCharacterisationv1_5.testExecute(self)

        edPlugin = self.getPlugin()
        strStatusMessage = None
        if edPlugin.hasDataOutput("statusMessage"):
            strStatusMessage = edPlugin.getDataOutput(
                "statusMessage")[0].getValue()
        EDAssert.equal(True,
                       strStatusMessage.find("Indexing FAILURE") != -1,
                       "Status message contains 'Indexing FAILURE'")

        edPlugin.generateExecutiveSummary(edPlugin)
        edPlugin.verboseScreenExecutiveSummary()
Beispiel #11
0
    def testExecute(self):
        EDTestCasePluginExecuteControlCharacterisationv1_5.testExecute(self)

        plugin = self.getPlugin()

        xsDataCharacterisation = plugin.getDataOutput()
        xsDataCollectionPlanList = xsDataCharacterisation.getStrategyResult().getCollectionPlan()

        EDAssert.equal(2, len(xsDataCollectionPlanList))

        strRankingResolutionInitial = xsDataCollectionPlanList[1].getStrategySummary().getResolutionReasoning().getValue()
        EDAssert.equal("Resolution limit is set by the initial image resolution", strRankingResolutionInitial)

        #Ric: to avoid error:
        strRankingResolutionLow = xsDataCollectionPlanList[0].getStrategySummary().getResolutionReasoning().getValue()
        if (plugin.getPluginStrategyName == "EDPluginControlStrategyv1_2"):
            EDAssert.equal("Low-resolution pass, no overloads", strRankingResolutionLow)
        elif (plugin.getPluginStrategyName == "EDPluginControlStrategyv1_2"):
            EDAssert.equal("Low-resolution pass, no overloads and full completeness", strRankingResolutionLow)
 def preProcess(self):
     EDTestCasePluginExecuteControlCharacterisationv1_5.preProcess(self)
     self.loadTestImage(
         ["ref-testscale_1_001.img", "ref-testscale_1_002.img"])
Beispiel #13
0
 def preProcess(self):
     EDTestCasePluginExecuteControlCharacterisationv1_5.preProcess(self)
     self.loadTestImage(
         ["ref-apofer-nat_1_0001.mccd", "ref-apofer-nat_1_0002.mccd"])
 def preProcess(self):
     EDTestCasePluginExecuteControlCharacterisationv1_5.preProcess(self)
     self.loadTestImage([ "iceRings_1_001.img" ])
 def __init__(self, _edStringTestName=None):
     EDTestCasePluginExecuteControlCharacterisationv1_5.__init__(self, "EDTestCasePluginExecuteControlCharacterisationv1_5With2Sweep")
     self.setConfigurationFile(self.getRefConfigFile())
     self.setDataInputFile(os.path.join(self.getPluginTestsDataHome(), "XSDataInputCharacterisation_reference_2_sweep.xml"))
     self.setNoExpectedWarningMessages(2)
 def preProcess(self):
     EDTestCasePluginExecuteControlCharacterisationv1_5.preProcess(self)
     self.loadTestImage([ "ref-2m_RNASE_1_0002.cbf", "ref-2m_RNASE_1_0001.cbf" ])
Beispiel #17
0
 def preProcess(self):
     EDTestCasePluginExecuteControlCharacterisationv1_5.preProcess(self)
     self.loadTestImage([ "integrationError_2_001.img" ])
 def preProcess(self):
     EDTestCasePluginExecuteControlCharacterisationv1_5.preProcess(self)
     self.loadTestImage([ "ref-testscale_1_001.img", "ref-testscale_1_002.img" ])
 def testExecute(self):
     EDTestCasePluginExecuteControlCharacterisationv1_5.testExecute(self)
Beispiel #20
0
 def preProcess(self):
     EDTestCasePluginExecuteControlCharacterisationv1_5.preProcess(self)
     self.loadTestImage(["fewSpots_1_001.img"])
Beispiel #21
0
 def preProcess(self):
     EDTestCasePluginExecuteControlCharacterisationv1_5.preProcess(self)
     self.loadTestImage(["bestBFactorFailed_2_001.img"])
 def preProcess(self):
     EDTestCasePluginExecuteControlCharacterisationv1_5.preProcess(self)
     self.loadTestImage([ "ref-apofer-nat_1_0001.mccd", "ref-apofer-nat_1_0002.mccd" ])
 def __init__(self, _edStringTestName=None):
     EDTestCasePluginExecuteControlCharacterisationv1_5.__init__(self, "EDTestCasePluginExecuteControlCharacterisationv1_5_bestBFactorFailed")
     self.setConfigurationFile(self.getRefConfigFile())
     self.setDataInputFile(os.path.join(self.getPluginTestsDataHome(), "XSDataInputCharacterisation_withRFriedelAndDoseLimit.xml"))
     self.setNoExpectedWarningMessages(0)
     self.setNoExpectedErrorMessages(0)
 def preProcess(self):
     EDTestCasePluginExecuteControlCharacterisationv1_5.preProcess(self)
     self.loadTestImage([ "bestBFactorFailed_2_001.img" ])
 def testExecute(self):
     EDTestCasePluginExecuteControlCharacterisationv1_5.testExecute(self)
 def preProcess(self):
     EDTestCasePluginExecuteControlCharacterisationv1_5.preProcess(self)
     self.loadTestImage(
         ["ref-2m_RNASE_1_0002.cbf", "ref-2m_RNASE_1_0001.cbf"])