def __init__(self, _pyStrTestName=None): EDTestCasePluginUnit.__init__( self, "EDPluginControlStrategyv1_2", "EDPluginControlStrategy-v1.1", _pyStrTestName ) self.strDataPath = self.getPluginTestsDataHome() self.strObtainedInputFile = "XSDataInputStrategyv1_2.xml" self.strReferenceInputFile = os.path.join(self.strDataPath, "XSDataInputStrategy_unitTest.xml")
def __init__(self, _edStringTestName=None): """ """ EDTestCasePluginUnit.__init__(self, "EDPluginSPDCakev1_5") edStringPluginTestDataHome = self.getPluginTestsDataHome() self.m_edStringReferenceInputFileName = os.path.join(edStringPluginTestDataHome, "XSDataInputSPDCorrect_simple.xml") self.loadTestImage(["MokeImage-2th21-tilt3-rot30.edf"])
def __init__( self, _oalStringTestName = None): """ """ EDTestCasePluginUnit.__init__( self, "EDPluginExecSRBRegisterv10", "EDPluginExecSRBRegister-v1.0", _oalStringTestName ) self.m_edStringReferenceDataInputFile = EDDiskExplorer.mergePath( self.getPluginTestsDataHome(), "XSDataInputPluginExecSRBRegister_reference.xml") self.m_edStringReferenceDataInputFile2 = EDDiskExplorer.mergePath( self.getPluginTestsDataHome(), "XSDataInputPluginExecSRBRegister_reference2.xml") self.m_edStringReferenceDataInputFile3 = EDDiskExplorer.mergePath( self.getPluginTestsDataHome(), "XSDataInputPluginExecSRBRegister_reference3.xml")
def __init__(self, _pyStrTestName="EDPluginXDSSpotSearchv1_1"): """ Set up paths, reference files etc. """ EDTestCasePluginUnit.__init__(self, _pyStrTestName) self.m_pyStrReferenceInputFile = os.path.join( self.getPluginTestsDataHome(), "XSDataInputXDSSpotSearch_reference.xml" )
def preProcess(self): """ """ EDTestCasePluginUnit.preProcess(self) self.loadTestImage(["ID11-Dark.edf", "ID11-Flat.edf", "ID11-Frelon.spline"]) tmpdir = "/tmp/edna-%s" % os.environ["USER"] if not os.path.isdir(tmpdir): os.mkdir(tmpdir)
def __init__(self, _edStringTestName = None): EDTestCasePluginUnit.__init__( self, 'EDPluginControlDIMPLECopySpaceGroupPDBtoMTZv10', 'EDPluginControlDIMPLECopySpaceGroupPDBtoMTZ-v1.0', _edStringTestName) return
def __init__(self, _edStringTestName = None): EDTestCasePluginUnit.__init__( self, 'EDPluginControlDIMPLEPrepareMTZFileForRefinementv10', 'EDPluginControlDIMPLEPrepareMTZFileForRefinement-v1.0', _edStringTestName) return
def __init__(self, _pyStrTestName=None): """ Set up paths, reference files etc. """ EDTestCasePluginUnit.__init__(self, "EDPluginISPyBv1_1", "EDPluginGroupISPyB-v1.1", _pyStrTestName) self.m_edStrDataPath = self.getPluginTestsDataHome() self.m_edObtainedInputFile = "XSDataInputISPyBv1_1.xml" self.m_edReferenceInputFile = os.path.join(self.m_edStrDataPath, "XSDataISPyBv1_1Input_reference.xml")
def __init__(self, _pyStrTestName=None): EDTestCasePluginUnit.__init__(self, "EDPluginBestv1_2") self.m_pyStrDataPath = self.getPluginTestsDataHome() self.m_edObtainedInputFile = "XSDataInputBest_test.xml" self.m_edReferenceInputFile = os.path.join(self.m_pyStrDataPath, "XSDataInputBest_reference.xml") self.m_edReferenceResultFile = os.path.join(self.m_pyStrDataPath, "XSDataResultBest_reference.xml") self.m_edReferenceScriptLogFileName = os.path.join(self.m_pyStrDataPath, "EDPluginBestv1_2.log")
def __init__(self, _strTestName=None): EDTestCasePluginUnit.__init__(self, "EDPluginBestv10") self.strDataPath = self.getPluginTestsDataHome() self.strObtainedInputFile = "XSDataInputBestv10.xml" self.strObtainedInputFile2 = "XSDataInputBestv10FromObject_02.xml" self.strReferenceInputFile = os.path.join(self.strDataPath, "XSDataBestv10Input_reference.xml") self.strReferenceInputFile2 = os.path.join(self.strDataPath, "XSDataBestv10Input_reference_02.xml") self.strReferenceScriptLogFileName = os.path.join(self.strDataPath, "EDPluginBestv10.log")
def __init__(self, _edStringTestName=None): EDTestCasePluginUnit.__init__(self, "EDPluginMOSFLMIndexingv10") strDataImageDir = "images" self.strDataImagePath = os.path.join(self.getTestsDataHome(), strDataImageDir) strPluginTestDataHome = self.getPluginTestsDataHome() self.strUnitTestDataHome = EDUtilsPath.mergePath(strPluginTestDataHome, "unitTest") self.strReferenceDataInputFile = os.path.join(self.strUnitTestDataHome, "XSDataMOSFLMInputIndexing_reference.xml") self.strReferenceDataOutputFile = os.path.join(self.strUnitTestDataHome, "XSDataMOSFLMOutputIndexing_reference.xml")
def __init__(self, _edStringTestName=None): EDTestCasePluginUnit.__init__(self, "EDPluginMOSFLMGeneratePredictionv10", "EDPluginGroupMOSFLM-v1.0", _edStringTestName) strDataImageDir = "images" self.strDataImagePath = os.path.join(self.getTestsDataHome(), strDataImageDir) stringPluginTestDataHome = self.getPluginTestsDataHome() self.strUnitTestDataHome = os.path.join(stringPluginTestDataHome, "unitTest") self.strReferenceInputFile = os.path.join(self.strUnitTestDataHome, "XSDataMOSFLMv10InputGeneratePrediction_reference.xml") self.strReferenceDataOutputFile = os.path.join(self.strUnitTestDataHome, "XSDataMOSFLMOutputGeneratePrediction_reference.xml")
def __init__(self, _strTestName=None): """ """ EDTestCasePluginUnit.__init__(self, "EDPluginMOSFLMIntegrationv10", "EDPluginGroupMOSFLM-v1.0", _strTestName) strPluginTestDataHome = self.getPluginTestsDataHome() self.strUnitTestDataHome = os.path.join(strPluginTestDataHome, "unitTest") self.strReferenceDataInputFile = os.path.join(self.strUnitTestDataHome, "XSDataMOSFLMInputIntegration_reference.xml") self.strReferenceDataOutputFile = os.path.join(self.strUnitTestDataHome, "XSDataMOSFLMOutputIntegration_reference.xml") strDataImageDir = "images" self.strDataImagePath = os.path.join(self.getTestsDataHome(), strDataImageDir)
def __init__(self, _edStringTestName=None): EDTestCasePluginUnit.__init__(self, "EDPluginControlID11v1_0") self.dictID11Reference = { "1 DEGREE AZ": "NO", "ANGLE OF TILT": "-0.63004673688", "AZIMUTH BINS": "36", "CONSERVE INT.": "NO", "DARK CURRENT": "YES", "DC FILE": os.path.join(EDUtilsTest.getTestsDataImagesHome(), "ID11-Dark.edf"), "DIM1_DATA": "2048", "DIM2_DATA": "2048", "DISTANCE": "136.908", "END AZIMUTH": "360", "FF FILE": os.path.join(EDUtilsTest.getTestsDataImagesHome(), "ID11-Flat.edf"), "FF MULTIPLIER": "1000.000", "FF SCALE": "NO", "FLAT-FIELD": "YES", "GEOMETRY COR.": "YES", "INNER RADIUS": "5", "MASK FILE": "None", "OUTER RADIUS": "1000", "POLARISATION": "YES", "RADIAL BINS": "20", "SCAN TYPE": "2-THETA", "SD FILE": os.path.join(EDUtilsTest.getTestsDataImagesHome(), "ID11-Frelon.spline"), "SPATIAL DIS.": "YES", "START AZIMUTH": "0.0", "TILT ROTATION": "-2.51342948328", "USE MASK": "NO", "WAVELENGTH": "0.2952", "X-BEAM CENTRE": "1002.509", "X-PIXEL SIZE": "50", "Y-BEAM CENTRE": "999.6282", "Y-PIXEL SIZE": "50", "input_extn": "edf", "output_extn": "spr", "saving_format": "SPREAD SHEET", "output_dir": "/tmp/edna-" + os.environ["USER"], }
def __init__(self, _strTestName=None): """ Set up paths, reference files etc. """ EDTestCasePluginUnit.__init__(self, "EDPluginISPyBv1_2", "EDPluginGroupISPyB-v1.1", _strTestName) self.__strDataPath = self.getPluginTestsDataHome() self.__strObtainedInputFile = "XSDataInputISPyBv1_2.xml" self.__strObtainedScreening = "XSDataISPyBScreening.xml" self.__strObtainedScreeningInput = "XSDataISPyBScreeningInput.xml" self.__strObtainedScreeningOutputContainer = "XSDataISPyBScreeningOutputContainer.xml" self.__strObtainedScreeningRank = "XSDataISPyBScreeningRank.xml" self.__strObtainedScreeningRankSet = "XSDataISPyBScreeningRankSet.xml" self.__strObtainedScreeningFile = "XSDataISPyBScreeningFile.xml" self.__strReferenceInputScreening = os.path.join(self.__strDataPath, "XSDataISPyBv1_2Input_reference_screening.xml") self.__strReferenceInputScreeningInput = os.path.join(self.__strDataPath, "XSDataISPyBv1_2Input_reference_screeningInput.xml") self.__strReferenceInputScreeningOutputContainer = os.path.join(self.__strDataPath, "XSDataISPyBv1_2Input_reference_screeningOutputContainer.xml") self.__strReferenceInputScreeningRank = os.path.join(self.__strDataPath, "XSDataISPyBv1_2Input_reference_screeningRank.xml") self.__strReferenceInputScreeningRankSet = os.path.join(self.__strDataPath, "XSDataISPyBv1_2Input_reference_screeningRankSet.xml") self.__strReferenceInputScreeningFile = os.path.join(self.__strDataPath, "XSDataISPyBv1_2Input_reference_screeningFile.xml") self.__strReferenceInputFile = os.path.join(self.__strDataPath, "XSDataISPyBv1_2_UnitTest_reference.xml")
def __init__(self, _edStringTestName=None): EDTestCasePluginUnit.__init__(self, "EDPluginLabelitv10", "EDPluginLabelit-v1.0", _edStringTestName) self.strReferenceInputFile = os.path.join(self.getPluginTestsDataHome(), "XSDataInputLabelit_reference.xml") self.strReferenceOutputFile = os.path.join(self.getPluginTestsDataHome(), "XSDataResultLabelit_reference.xml")
def __init__(self, _strTestName="EDPluginSubWedgeMergev10"): EDTestCasePluginUnit.__init__(self, _strTestName) self.__strPathToReferenceInput = os.path.join(self.getPluginTestsDataHome(), "XSDataInputSubWedgeMerge_reference.xml")
def __init__(self, _edStringTestName=None): EDTestCasePluginUnit.__init__(self, "EDPluginControlSolutionScatteringv0_5")
def __init__(self, _edStringTestName=None): EDTestCasePluginUnit.__init__(self, "EDPluginControlInterfaceToMXCuBEv1_2") self.strDataPath = self.getPluginTestsDataHome()
def __init__(self, _edStringTestName=None): EDTestCasePluginUnit.__init__(self, "EDPluginBioSaxsAsciiExportv1_0")
def __init__(self, _edStringTestName=None): EDTestCasePluginUnit.__init__(self, "EDPluginBioSaxsNormalizev1_1")
def __init__(self, _edStringTestName=None): EDTestCasePluginUnit.__init__(self, "EDPluginBioSaxsMetadatav1_1")
def __init__(self, _strTestName = None): EDTestCasePluginUnit.__init__(self, "EDPluginExecMtz2Variousv1_0")
def __init__(self, _strTestName=None): EDTestCasePluginUnit.__init__(self, "EDPluginControlEDNAprocv1_0")
def __init__(self, _edStringTestName=None): EDTestCasePluginUnit.__init__(self, "EDHandlerESRFPyarchv1_0")
def __init__(self, _strTestName=None): """ """ EDVerbose.DEBUG("EDTestCasePluginUnitExecSaxsMacv1_0: init") EDTestCasePluginUnit.__init__(self, "EDPluginExecSaxsMacv1_0")
def __init__(self, _pyStrTestName=None): EDTestCasePluginUnit.__init__(self, "EDPluginPhenixXtriagev1_1")
def __init__(self, _strTestName=None): """ """ EDTestCasePluginUnit.__init__(self, "EDPluginExecShiftImagev1_0")
def __init__(self, _strTestName=None): EDTestCasePluginUnit.__init__(self, "EDPluginExecAutoPROCv1_0") self.strDataPath = self.getPluginTestsDataHome()
def __init__(self, _edStringTestName=None): EDTestCasePluginUnit.__init__(self, "EDPluginControlIntegrationv10", "EDPluginControlIntegration-v1.0", _edStringTestName) self.strReferenceInputFile = os.path.join(self.getPluginTestsDataHome(), "XSDataIntegrationInput_reference.xml")
def __init__(self, _strTestName="EDPluginExecReadImageHeaderPilatus6Mv10"): EDTestCasePluginUnit.__init__(self, _strTestName)
def __init__(self, _strTestName=None): EDTestCasePluginUnit.__init__(self, "EDPluginExecWriteNexusFilev1_0")
def __init__(self, _edStringTestName=None): EDTestCasePluginUnit.__init__(self, "EDPluginBioSaxsSmartMergev1_0")
def __init__(self, _strTestName=None): """ """ EDTestCasePluginUnit.__init__(self, "EDPluginCopyExifv1_0")
def __init__(self, _edStringTestName=None): EDTestCasePluginUnit.__init__(self, "EDPluginAutoSubv1_0")
def __init__(self, _edStringTestName=None): EDTestCasePluginUnit.__init__(self, "EDPluginControlCCP4iv1_1", "EDPluginGroupInterface-v1.1", _edStringTestName) self.strDataPath = self.getPluginTestsDataHome() self.strXSDataGenerateTemplateFile = os.path.join(self.getPluginTestsDataHome(), "XSDataGenerateTemplate.xml") self.edObtainedInputFile = "XSDataInputCCP4i.xml"
def __init__(self, _edStringTestName=None): """ """ EDTestCasePluginUnit.__init__( self, "EDPluginControlDCTPowderIntegrationv1_0", "EDPluginControlDCTPowderIntegration-v1.0", _edStringTestName)
def __init__(self, _edStringTestName=None): """ """ EDTestCasePluginUnit.__init__(self, "EDPluginControlDCTReadHeaderv1_0", "EDPluginControlDCTReadHeader-v1.0", _edStringTestName)
def __init__(self, _strTestName=None): """ """ EDTestCasePluginUnit.__init__(self, "EDPluginWaitMultiFile")
def __init__(self, _strTestName=None): """ """ EDTestCasePluginUnit.__init__(self, "EDPluginAccumulatorv1_0")
def __init__(self, _strTestName=None): EDTestCasePluginUnit.__init__(self, "EDPluginMOSFLMv10", "EDPluginGroupMOSFLM-v1.0", _strTestName) strPluginTestDataHome = self.getPluginTestsDataHome() self.strUnitTestDataHome = os.path.join(strPluginTestDataHome, "unitTest")
def __init__(self, _strTestName = None): """ """ EDTestCasePluginUnit.__init__(self, "EDPluginExecStitchOffsetedImagev1_0")
def __init__(self, _strTestName=None): """ """ EDVerbose.DEBUG("EDTestCasePluginUnitExecSaxsCurvesv1_0: init") EDTestCasePluginUnit.__init__(self, "EDPluginExecSaxsCurvesv1_0")
def __init__(self, _edStringTestName=None): EDTestCasePluginUnit.__init__(self, "EDPluginBioSaxsSingleSamplev1_0")
def __init__(self, _strTestName = None): """ """ EDTestCasePluginUnit.__init__(self, "EDPluginExecSiftDescriptorv1_0")
def __init__(self, _pyStrTestName=None): EDTestCasePluginUnit.__init__(self, "EDPluginLabelitIndexingv1_1") self.__strReferenceInputFile1 = os.path.join(self.getPluginTestsDataHome(), "XSDataImage_1_reference.xml") self.__strReferenceInputFile2 = os.path.join(self.getPluginTestsDataHome(), "XSDataImage_2_reference.xml")
def __init__(self, _edStringTestName=None): EDTestCasePluginUnit.__init__(self, "EDPluginControlImageQualityIndicatorsv1_4")
def __init__(self, _edStringTestName = None): EDTestCasePluginUnit.__init__(self, 'EDPluginExecDIMPLEREINDEXv10') return
def __init__(self, _strTestName = None): """ """ EDTestCasePluginUnit.__init__(self, "EDPluginExecDIMPLECheckValidXYZv10")
def __init__(self, _strTestName=None): """ """ EDTestCasePluginUnit.__init__(self, "EDPluginExecGnomv0_2")
def __init__(self, _strTestName=None): """ """ EDTestCasePluginUnit.__init__(self, "EDPluginExecDamminv0_1")
def __init__(self, _edStringTestName=None): EDTestCasePluginUnit.__init__(self, "EDPluginControlStrategyv1_1", "EDPluginControlStrategy-v1.1", _edStringTestName) self.strDataPath = self.getPluginTestsDataHome() self.strObtainedInputFile = "XSDataInputStrategyv1_1.xml" self.strReferenceInputFile = os.path.join(self.strDataPath, "XSDataInputStrategy_reference.xml")
def __init__(self, _edStringTestName=None): EDTestCasePluginUnit.__init__(self, "EDPluginExecPDBSETUnitCellv10") self.m_pyStrReferenceInputFile = os.path.join(self.getPluginTestsDataHome(), "XSDataInputPDBSETUnitCell_reference.xml")
def __init__(self, _strTestName=None): """ """ EDTestCasePluginUnit.__init__(self, "EDPluginExecSaxsDelMetadatav1_0")
def __init__(self, _strTestName=None): """ """ EDTestCasePluginUnit.__init__(self, "EDPluginExecDatcmpv2_0")
def __init__(self, _strTestName=None): """ """ EDTestCasePluginUnit.__init__(self, "EDPluginHDF5MapOfSpectrav10")
def __init__(self, _edStringTestName=None): EDTestCasePluginUnit.__init__(self, "EDPluginBioSaxsAzimutIntv1_0")
def __init__(self, _edStringTestName=None): EDTestCasePluginUnit.__init__(self, "EDPluginControlISPyBv1_4")