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 preProcess( self, _oedObject = None ):
     EDPluginSTACv10.preProcess( self )
     self.DEBUG( "EDPluginSTACalignmentv01.preProcess")
     #bestfile.par
     EDUtilsFile.writeFile( EDDiskExplorer.mergePath( self.getWorkingDirectory(), "bestfile.par" ), self.m_xsDataInput.getBestFileContentPar().getValue())
     #self.writeAlignmentRequest() - for now use a predefined request
     EDUtilsFile.writeFile( EDDiskExplorer.mergePath( self.getWorkingDirectory(), "DNA_kappa_alignment_request" ), "<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?><kappa_alignment_request><desired_orientation><v1>a*</v1><v2>b*</v2><close>false</close><comment></comment></desired_orientation><desired_orientation><v1>a*</v1><v2>c*</v2><close>false</close><comment></comment></desired_orientation><desired_orientation><v1>b*</v1><v2>a*</v2><close>false</close><comment></comment></desired_orientation><desired_orientation><v1>b*</v1><v2>c*</v2><close>false</close><comment></comment></desired_orientation><desired_orientation><v1>c*</v1><v2>a*</v2><close>true</close><comment></comment></desired_orientation><desired_orientation><v1>c*</v1><v2>b*</v2><close>false</close><comment></comment></desired_orientation><comment>First test parameter passed</comment></kappa_alignment_request>")
     #self.writeKappaSettings() - for now use a predefined datum (0;0;0)
     EDUtilsFile.writeFile( EDDiskExplorer.mergePath( self.getWorkingDirectory(), "DNA_STAC_Kappa_Settings" ), "<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?><kappa_collect_settings><motorSettings><motorName>Omega</motorName><motorValue>0</motorValue></motorSettings><motorSettings><motorName>Kappa</motorName><motorValue>0.000000</motorValue></motorSettings><motorSettings><motorName>Phi</motorName><motorValue>0</motorValue></motorSettings><motorSettings><motorName>X</motorName><motorValue>0.261444</motorValue></motorSettings><motorSettings><motorName>Y</motorName><motorValue>-0.085559</motorValue></motorSettings><motorSettings><motorName>Z</motorName><motorValue>0.659333</motorValue></motorSettings><comment>BCM query performed by STAC</comment></kappa_collect_settings>")
 def preProcess( self, _oedObject = None ):
     EDPluginSTACv10.preProcess( self )
     self.DEBUG( "EDPluginSTACalignmentv01.preProcess")
     #bestfile.par
     EDUtilsFile.writeFile( EDDiskExplorer.mergePath( self.getWorkingDirectory(), "bestfile.par" ), self.m_oxsDataBestFileContentPar.getValue())
     #self.writeStrategyRequest()
     EDUtilsFile.writeFile( EDDiskExplorer.mergePath( self.getWorkingDirectory(), "DNA_kappa_strategy_request" ), self.m_xsDataInput.marshal() )
     #self.writeKappaSettings() - for now use a predefined datum (0;0;0)
     EDUtilsFile.writeFile( EDDiskExplorer.mergePath( self.getWorkingDirectory(), "DNA_STAC_Kappa_Settings" ), "<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?><kappa_collect_settings><motorSettings><motorName>Omega</motorName><motorValue>0</motorValue></motorSettings><motorSettings><motorName>Kappa</motorName><motorValue>0.000000</motorValue></motorSettings><motorSettings><motorName>Phi</motorName><motorValue>0</motorValue></motorSettings><motorSettings><motorName>X</motorName><motorValue>0.261444</motorValue></motorSettings><motorSettings><motorName>Y</motorName><motorValue>-0.085559</motorValue></motorSettings><motorSettings><motorName>Z</motorName><motorValue>0.659333</motorValue></motorSettings><comment>BCM query performed by STAC</comment></kappa_collect_settings>")
 def fetchOutput( self ):
     """
     method for reading back the specific output
     """
     # Then read the XML file
     self.m_oxsKappaResponse = kappa_strategy_response.parseFile( EDDiskExplorer.mergePath( self.getWorkingDirectory(), "STAC_DNA_kappa_strategy_response" ) )
     return self.m_oxsKappaResponse
Beispiel #5
0
 def fetchOutput(self):
     """
     method for reading back the specific output
     """
     self.m_oxsKappaAlignmentResponse = kappa_alignment_response.parseFile(
         EDDiskExplorer.mergePath(self.getWorkingDirectory(),
                                  "STAC_DNA_kappa_alignment_response"))
     return self.m_oxsKappaAlignmentResponse
Beispiel #6
0
 def fetchOutput(self):
     """
     method for reading back the specific output
     """
     # Then read the XML file
     self.m_oxsKappaResponse = kappa_strategy_response.parseFile(
         EDDiskExplorer.mergePath(self.getWorkingDirectory(),
                                  "STAC_DNA_kappa_strategy_response"))
     return self.m_oxsKappaResponse
 def __init__(self, _oalStringTestName=None):
     """
     """
     EDTestCasePluginUnit.__init__(self, "EDPluginControlDLSArchiverv10",
                                   "EDPluginControlDLSArchiver-v1.0",
                                   _oalStringTestName)
     self.m_edStringReferenceDataInputFile = EDDiskExplorer.mergePath(
         self.getPluginTestsDataHome(),
         "XSDataInputPluginControlDLSArchiverv10_reference.xml")
Beispiel #8
0
 def preProcess(self, _oedObject=None):
     EDPluginSTACv10.preProcess(self)
     self.DEBUG("EDPluginSTACalignmentv01.preProcess")
     #bestfile.par
     EDUtilsFile.writeFile(
         EDDiskExplorer.mergePath(self.getWorkingDirectory(),
                                  "bestfile.par"),
         self.m_oxsDataBestFileContentPar.getValue())
     #self.writeStrategyRequest()
     EDUtilsFile.writeFile(
         EDDiskExplorer.mergePath(self.getWorkingDirectory(),
                                  "DNA_kappa_strategy_request"),
         self.m_xsDataInput.marshal())
     #self.writeKappaSettings() - for now use a predefined datum (0;0;0)
     EDUtilsFile.writeFile(
         EDDiskExplorer.mergePath(self.getWorkingDirectory(),
                                  "DNA_STAC_Kappa_Settings"),
         "<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?><kappa_collect_settings><motorSettings><motorName>Omega</motorName><motorValue>0</motorValue></motorSettings><motorSettings><motorName>Kappa</motorName><motorValue>0.000000</motorValue></motorSettings><motorSettings><motorName>Phi</motorName><motorValue>0</motorValue></motorSettings><motorSettings><motorName>X</motorName><motorValue>0.261444</motorValue></motorSettings><motorSettings><motorName>Y</motorName><motorValue>-0.085559</motorValue></motorSettings><motorSettings><motorName>Z</motorName><motorValue>0.659333</motorValue></motorSettings><comment>BCM query performed by STAC</comment></kappa_collect_settings>"
     )
 def __init__(self, _oalStringTestName=None):
     """
     """
     EDTestCasePluginExecute.__init__(self, "EDPluginExecSRBRegisterv10",
                                      "EDPluginExecSRBRegister-v1.0",
                                      _oalStringTestName)
     self.setConfigurationFile(self.getRefConfigFile())
     self.setDataInputFile(
         EDDiskExplorer.mergePath(
             self.getPluginTestsDataHome(),
             "XSDataInputPluginExecSRBRegister_reference.xml"))
Beispiel #10
0
 def preProcess(self, _oedObject=None):
     EDPluginSTACv10.preProcess(self)
     self.DEBUG("EDPluginSTACalignmentv01.preProcess")
     #bestfile.par
     EDUtilsFile.writeFile(
         EDDiskExplorer.mergePath(self.getWorkingDirectory(),
                                  "bestfile.par"),
         self.m_xsDataInput.getBestFileContentPar().getValue())
     #self.writeAlignmentRequest() - for now use a predefined request
     EDUtilsFile.writeFile(
         EDDiskExplorer.mergePath(self.getWorkingDirectory(),
                                  "DNA_kappa_alignment_request"),
         "<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?><kappa_alignment_request><desired_orientation><v1>a*</v1><v2>b*</v2><close>false</close><comment></comment></desired_orientation><desired_orientation><v1>a*</v1><v2>c*</v2><close>false</close><comment></comment></desired_orientation><desired_orientation><v1>b*</v1><v2>a*</v2><close>false</close><comment></comment></desired_orientation><desired_orientation><v1>b*</v1><v2>c*</v2><close>false</close><comment></comment></desired_orientation><desired_orientation><v1>c*</v1><v2>a*</v2><close>true</close><comment></comment></desired_orientation><desired_orientation><v1>c*</v1><v2>b*</v2><close>false</close><comment></comment></desired_orientation><comment>First test parameter passed</comment></kappa_alignment_request>"
     )
     #self.writeKappaSettings() - for now use a predefined datum (0;0;0)
     EDUtilsFile.writeFile(
         EDDiskExplorer.mergePath(self.getWorkingDirectory(),
                                  "DNA_STAC_Kappa_Settings"),
         "<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?><kappa_collect_settings><motorSettings><motorName>Omega</motorName><motorValue>0</motorValue></motorSettings><motorSettings><motorName>Kappa</motorName><motorValue>0.000000</motorValue></motorSettings><motorSettings><motorName>Phi</motorName><motorValue>0</motorValue></motorSettings><motorSettings><motorName>X</motorName><motorValue>0.261444</motorValue></motorSettings><motorSettings><motorName>Y</motorName><motorValue>-0.085559</motorValue></motorSettings><motorSettings><motorName>Z</motorName><motorValue>0.659333</motorValue></motorSettings><comment>BCM query performed by STAC</comment></kappa_collect_settings>"
     )
 def fetchOutput( self ):
     """
     method for reading back the specific output
     """
     self.m_oxsKappaAlignmentResponse = kappa_alignment_response.parseFile( EDDiskExplorer.mergePath( self.getWorkingDirectory(), "STAC_DNA_kappa_alignment_response" ) )
     return self.m_oxsKappaAlignmentResponse
 def __init__( self, _oalStringTestName = None):
     """
     """       
     EDTestCasePluginExecute.__init__( self, "EDPluginExecICATIngesterv10", "EDPluginExecICATIngester-v1.0", _oalStringTestName )
     self.setConfigurationFile( self.getRefConfigFile() )
     self.setDataInputFile( EDDiskExplorer.mergePath( self.getPluginTestsDataHome(), "XSDataInputPluginExecICATIngester_reference.xml" ) )
 def __init__( self, _oalStringTestName = None):
     """
     """
     EDTestCasePluginUnit.__init__( self, "EDPluginControlDLSArchiverv10", "EDPluginControlDLSArchiver-v1.0", _oalStringTestName )
     self.m_edStringReferenceDataInputFile  = EDDiskExplorer.mergePath( self.getPluginTestsDataHome(), "XSDataInputPluginControlDLSArchiverv10_reference.xml")