Example #1
0
 def error(self, strXMLin):
     """
     This is an example of XMLerr function ... it prints only the name of the file created
     @param srXMLin: The XML string used to launch the job
     @type strXMLin: python string with the input XML
     @rtype: None
     @return: None     
     """
     xsd = XSDataInputDiffractionCT.parseString(strXMLin)
     filename = xsd.getImage().getPath().getValue
     EDVerbose.ERROR("Error in the processing of: %s" % filename)
Example #2
0
 def error(self, strXMLin):
     """
     This is an example of XMLerr function ... it prints only the name of the file created
     @param srXMLin: The XML string used to launch the job
     @type strXMLin: python string with the input XML
     @rtype: None
     @return: None     
     """
     xsd = XSDataInputDiffractionCT.parseString(strXMLin)
     filename = xsd.getImage().getPath().getValue
     EDVerbose.ERROR("Error in the processing of: %s" % filename)