def buildChildren(self, child_, nodeName_): if child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'image': obj_ = XSDataFile() obj_.build(child_) self.image.append(obj_) XSDataInput.buildChildren(self, child_, nodeName_)
def buildChildren(self, child_, nodeName_): if child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'hklfile': obj_ = XSDataFile() obj_.build(child_) self.setHklfile(obj_) XSDataResult.buildChildren(self, child_, nodeName_)
def buildChildren(self, child_, nodeName_): if child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'outputFilePath': obj_ = XSDataFile() obj_.build(child_) self.setOutputFilePath(obj_) XSDataResult.buildChildren(self, child_, nodeName_)
def buildChildren(self, child_, nodeName_): if child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'fileGraph': obj_ = XSDataFile() obj_.build(child_) self.fileGraph.append(obj_) XSDataResult.buildChildren(self, child_, nodeName_)
def buildChildren(self, child_, nodeName_): if child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'image': obj_ = XSDataFile() obj_.build(child_) self.setImage(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'height': obj_ = XSDataInteger() obj_.build(child_) self.setHeight(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'width': obj_ = XSDataInteger() obj_.build(child_) self.setWidth(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'outputPath': obj_ = XSDataFile() obj_.build(child_) self.setOutputPath(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'format': obj_ = XSDataString() obj_.build(child_) self.setFormat(obj_) XSDataInput.buildChildren(self, child_, nodeName_)
def buildChildren(self, child_, nodeName_): if child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'imageFile': obj_ = XSDataFile() obj_.build(child_) self.setImageFile(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'diffractionPlan': obj_ = XSDataDiffractionPlan() obj_.build(child_) self.setDiffractionPlan(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'storeImageQualityIndicatorsInISPyB': obj_ = XSDataBoolean() obj_.build(child_) self.setStoreImageQualityIndicatorsInISPyB(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'doOnlyImageQualityIndicators': obj_ = XSDataBoolean() obj_.build(child_) self.setDoOnlyImageQualityIndicators(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'doOnlyIntegrationWithXMLOutput': obj_ = XSDataBoolean() obj_.build(child_) self.setDoOnlyIntegrationWithXMLOutput(obj_) XSDataInput.buildChildren(self, child_, nodeName_)
def buildChildren(self, child_, nodeName_): if child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'image': obj_ = XSDataFile() obj_.build(child_) self.setImage(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'startImageNumber': obj_ = XSDataInteger() obj_.build(child_) self.setStartImageNumber(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'endImageNumber': obj_ = XSDataInteger() obj_.build(child_) self.setEndImageNumber(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'anomalous': obj_ = XSDataBoolean() obj_.build(child_) self.setAnomalous(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'spacegroup': obj_ = XSDataString() obj_.build(child_) self.setSpacegroup(obj_) XSDataInput.buildChildren(self, child_, nodeName_)
def buildChildren(self, child_, nodeName_): if child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'inputMatrixFile': obj_ = XSDataFile() obj_.build(child_) self.setInputMatrixFile(obj_) XSDataInput.buildChildren(self, child_, nodeName_)
def buildChildren(self, child_, nodeName_): if child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'outputMatrixFile': obj_ = XSDataFile() obj_.build(child_) self.setOutputMatrixFile(obj_) XSDataResult.buildChildren(self, child_, nodeName_)
def buildChildren(self, child_, nodeName_): if child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'thumbnail': obj_ = XSDataFile() obj_.build(child_) self.setThumbnail(obj_) XSDataResult.buildChildren(self, child_, nodeName_)
def buildChildren(self, child_, nodeName_): if child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'docPath': obj_ = XSDataFile() obj_.build(child_) self.setDocPath(obj_) XSDataResult.buildChildren(self, child_, nodeName_)
def buildChildren(self, child_, nodeName_): if child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'docPath': obj_ = XSDataFile() obj_.build(child_) self.setDocPath(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'sources': obj_ = XSDataFile() obj_.build(child_) self.sources.append(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'docType': obj_ = XSDataString() obj_.build(child_) self.setDocType(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'verbosity': obj_ = XSDataInteger() obj_.build(child_) self.setVerbosity(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'projectName': obj_ = XSDataString() obj_.build(child_) self.setProjectName(obj_) XSDataInput.buildChildren(self, child_, nodeName_)
def buildChildren(self, child_, nodeName_): if child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'pathToJPEGImage': obj_ = XSDataFile() obj_.build(child_) self.pathToJPEGImage.append(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'pathToThumbImage': obj_ = XSDataFile() obj_.build(child_) self.pathToThumbImage.append(obj_) XSDataResult.buildChildren(self, child_, nodeName_)
def buildChildren(self, child_, nodeName_): if child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'pathToHTMLFile': obj_ = XSDataFile() obj_.build(child_) self.setPathToHTMLFile(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'pathToHTMLDirectory': obj_ = XSDataFile() obj_.build(child_) self.setPathToHTMLDirectory(obj_) XSDataResult.buildChildren(self, child_, nodeName_)
def buildChildren(self, child_, nodeName_): if child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'logFile': obj_ = XSDataFile() obj_.build(child_) self.setLogFile(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'solution': obj_ = XSDataXOalignSolution() obj_.build(child_) self.solution.append(obj_) XSDataResult.buildChildren(self, child_, nodeName_)
def buildChildren(self, child_, nodeName_): if child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'inputFile': obj_ = XSDataFile() obj_.build(child_) self.inputFile.append(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'energyCalibration': obj_ = XSDataEnergyCalibration() obj_.build(child_) self.setEnergyCalibration(obj_) XSDataInput.buildChildren(self, child_, nodeName_)
def buildChildren(self, child_, nodeName_): if child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'peakFile2D': obj_ = XSDataFile() obj_.build(child_) self.peakFile2D.append(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'peakFile3D': obj_ = XSDataFile() obj_.build(child_) self.peakFile3D.append(obj_) XSDataResult.buildChildren(self, child_, nodeName_)
def buildChildren(self, child_, nodeName_): if child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'inputFile': obj_ = XSDataFile() obj_.build(child_) self.setInputFile(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'nSkipHeader': obj_ = XSDataInteger() obj_.build(child_) self.setNSkipHeader(obj_) XSDataInput.buildChildren(self, child_, nodeName_)
def buildChildren(self, child_, nodeName_): if child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'outputCBFFile': obj_ = XSDataFile() obj_.build(child_) self.setOutputCBFFile(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'outputCBFFileTemplate': obj_ = XSDataFile() obj_.build(child_) self.setOutputCBFFileTemplate(obj_) XSDataResult.buildChildren(self, child_, nodeName_)
def buildChildren(self, child_, nodeName_): if child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'diffractionImage': obj_ = XSDataFile() obj_.build(child_) self.diffractionImage.append(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'forcedOutputDirectory': obj_ = XSDataFile() obj_.build(child_) self.setForcedOutputDirectory(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'waitForFileTimeOut': obj_ = XSDataTime() obj_.build(child_) self.setWaitForFileTimeOut(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'format': obj_ = XSDataString() obj_.build(child_) self.setFormat(obj_) XSDataInput.buildChildren(self, child_, nodeName_)
def buildChildren(self, child_, nodeName_): if child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'mtzfile': obj_ = XSDataFile() obj_.build(child_) self.setMtzfile(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'labin': obj_ = XSDataString() obj_.build(child_) self.labin.append(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'output': obj_ = XSDataString() obj_.build(child_) self.setOutput(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'format': obj_ = XSDataString() obj_.build(child_) self.setFormat(obj_) XSDataInput.buildChildren(self, child_, nodeName_)
def buildChildren(self, child_, nodeName_): if child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'htmlFile': obj_ = XSDataFile() obj_.build(child_) self.htmlFile.append(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'resultDirectory': obj_ = XSDataFile() obj_.build(child_) self.setResultDirectory(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'paperSize': obj_ = XSDataString() obj_.build(child_) self.setPaperSize(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'lowQuality': obj_ = XSDataBoolean() obj_.build(child_) self.setLowQuality(obj_) XSDataInput.buildChildren(self, child_, nodeName_)
def buildChildren(self, child_, nodeName_): if child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'actualFile': obj_ = XSDataFile() obj_.build(child_) self.actualFile.append(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'actualMinSize': obj_ = XSDataInteger() obj_.build(child_) self.setActualMinSize(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'timedOut': obj_ = XSDataBoolean() obj_.build(child_) self.setTimedOut(obj_) XSDataResult.buildChildren(self, child_, nodeName_)
def buildChildren(self, child_, nodeName_): if child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'logFile': obj_ = XSDataFile() obj_.build(child_) self.setLogFile(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'processDirectory': obj_ = XSDataFile() obj_.build(child_) self.processDirectory.append(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'ispybXML': obj_ = XSDataFile() obj_.build(child_) self.setIspybXML(obj_) XSDataResult.buildChildren(self, child_, nodeName_)
def buildChildren(self, child_, nodeName_): if child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'expectedFile': obj_ = XSDataFile() obj_.build(child_) self.expectedFile.append(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'expectedSize': obj_ = XSDataInteger() obj_.build(child_) self.setExpectedSize(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'timeOut': obj_ = XSDataTime() obj_.build(child_) self.setTimeOut(obj_) XSDataInput.buildChildren(self, child_, nodeName_)
def buildChildren(self, child_, nodeName_): if child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'logFile': obj_ = XSDataFile() obj_.build(child_) self.setLogFile(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'workingDirectory': obj_ = XSDataFile() obj_.build(child_) self.setWorkingDirectory(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'processDirectory': obj_ = XSDataFile() obj_.build(child_) self.processDirectory.append(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'ispybXML': obj_ = XSDataFile() obj_.build(child_) self.setIspybXML(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'ispybXML_staraniso': obj_ = XSDataFile() obj_.build(child_) self.setIspybXML_staraniso(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'reportPdf': obj_ = XSDataFile() obj_.build(child_) self.setReportPdf(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'reportPdf_staraniso': obj_ = XSDataFile() obj_.build(child_) self.setReportPdf_staraniso(obj_) XSDataResult.buildChildren(self, child_, nodeName_)
def buildChildren(self, child_, nodeName_): if child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'logFile': obj_ = XSDataFile() obj_.build(child_) self.setLogFile(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'htmlFile': obj_ = XSDataFile() obj_.build(child_) self.setHtmlFile(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'dataFiles': obj_ = XSDataFile() obj_.build(child_) self.dataFiles.append(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'ispybXML': obj_ = XSDataFile() obj_.build(child_) self.setIspybXML(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'summary': obj_ = XSDataFile() obj_.build(child_) self.setSummary(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'logFiles': obj_ = XSDataFile() obj_.build(child_) self.logFiles.append(obj_) XSDataResult.buildChildren(self, child_, nodeName_)
def buildChildren(self, child_, nodeName_): if child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'logFile': obj_ = XSDataFile() obj_.build(child_) self.setLogFile(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'pointlessLog': obj_ = XSDataFile() obj_.build(child_) self.setPointlessLog(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'phenixXtriageLog': obj_ = XSDataFile() obj_.build(child_) self.setPhenixXtriageLog(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'correctLP': obj_ = XSDataFile() obj_.build(child_) self.setCorrectLP(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'XDS_ASCII_HKL': obj_ = XSDataFile() obj_.build(child_) self.setXDS_ASCII_HKL(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'XDS_ASCII_HKL_1': obj_ = XSDataFile() obj_.build(child_) self.setXDS_ASCII_HKL_1(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'XSCALE_LP': obj_ = XSDataFile() obj_.build(child_) self.setXSCALE_LP(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'XDS_INP': obj_ = XSDataFile() obj_.build(child_) self.setXDS_INP(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'mtz_F': obj_ = XSDataFile() obj_.build(child_) self.mtz_F.append(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'mtz_I': obj_ = XSDataFile() obj_.build(child_) self.mtz_I.append(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'mtz_F_plus_F_minus': obj_ = XSDataFile() obj_.build(child_) self.mtz_F_plus_F_minus.append(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'hkl': obj_ = XSDataFile() obj_.build(child_) self.hkl.append(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'cv': obj_ = XSDataFile() obj_.build(child_) self.cv.append(obj_) XSDataResult.buildChildren(self, child_, nodeName_)
def buildChildren(self, child_, nodeName_): if child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'image': obj_ = XSDataFile() obj_.build(child_) self.setImage(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'scale': obj_ = XSDataDouble() obj_.build(child_) self.setScale(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'bfactor': obj_ = XSDataDouble() obj_.build(child_) self.setBfactor(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'resolution': obj_ = XSDataDouble() obj_.build(child_) self.setResolution(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'correlation': obj_ = XSDataDouble() obj_.build(child_) self.setCorrelation(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'rfactor': obj_ = XSDataDouble() obj_.build(child_) self.setRfactor(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'b_coef': obj_ = XSDataDouble() obj_.build(child_) self.setB_coef(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'b_cryst': obj_ = XSDataDouble() obj_.build(child_) self.setB_cryst(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'estimate': obj_ = XSDataDouble() obj_.build(child_) self.setEstimate(obj_)
def buildChildren(self, child_, nodeName_): if child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'bestXmlFile': obj_ = XSDataFile() obj_.build(child_) self.setBestXmlFile(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'xdsHklFile': obj_ = XSDataFile() obj_.build(child_) self.xdsHklFile.append(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'dmin': obj_ = XSDataDouble() obj_.build(child_) self.setDmin(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'defaultBeta': obj_ = XSDataDouble() obj_.build(child_) self.setDefaultBeta(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'defaultGama': obj_ = XSDataDouble() obj_.build(child_) self.setDefaultGama(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'bFactorMtvplotFile': obj_ = XSDataFile() obj_.build(child_) self.setBFactorMtvplotFile(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'bFactorGlePlotFile': obj_ = XSDataFile() obj_.build(child_) self.setBFactorGlePlotFile(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'bScaleIntensityMtvPlotFile': obj_ = XSDataFile() obj_.build(child_) self.setBScaleIntensityMtvPlotFile(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'bScaleIntensityGleFile': obj_ = XSDataFile() obj_.build(child_) self.setBScaleIntensityGleFile(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'resultsFile': obj_ = XSDataFile() obj_.build(child_) self.setResultsFile(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'resultsXmlFile': obj_ = XSDataFile() obj_.build(child_) self.setResultsXmlFile(obj_) XSDataInput.buildChildren(self, child_, nodeName_)
def buildChildren(self, child_, nodeName_): if child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'image': obj_ = XSDataFile() obj_.build(child_) self.setImage(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'spots_num_of': obj_ = XSDataInteger() obj_.build(child_) self.setSpots_num_of(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'spots_int_aver': obj_ = XSDataDouble() obj_.build(child_) self.setSpots_int_aver(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'spots_resolution': obj_ = XSDataDouble() obj_.build(child_) self.setSpots_resolution(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'powder_wilson_scale': obj_ = XSDataDouble() obj_.build(child_) self.setPowder_wilson_scale(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'powder_wilson_bfactor': obj_ = XSDataDouble() obj_.build(child_) self.setPowder_wilson_bfactor(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'powder_wilson_resolution': obj_ = XSDataDouble() obj_.build(child_) self.setPowder_wilson_resolution(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'powder_wilson_correlation': obj_ = XSDataDouble() obj_.build(child_) self.setPowder_wilson_correlation(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'powder_wilson_rfactor': obj_ = XSDataDouble() obj_.build(child_) self.setPowder_wilson_rfactor(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'score': obj_ = XSDataDouble() obj_.build(child_) self.setScore(obj_)
def buildChildren(self, child_, nodeName_): if child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'darkFile': obj_ = XSDataFile() obj_.build(child_) self.setDarkFile(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'imageFormat': obj_ = XSDataString() obj_.build(child_) self.setImageFormat(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'indexMax': obj_ = XSDataInteger() obj_.build(child_) self.setIndexMax(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'indexMin': obj_ = XSDataInteger() obj_.build(child_) self.setIndexMin(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'numberOfDigits': obj_ = XSDataInteger() obj_.build(child_) self.setNumberOfDigits(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'outputStem': obj_ = XSDataString() obj_.build(child_) self.setOutputStem(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'stem': obj_ = XSDataString() obj_.build(child_) self.setStem(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'threshold': obj_ = XSDataDouble() obj_.build(child_) self.threshold.append(obj_) XSDataInput.buildChildren(self, child_, nodeName_)
def buildChildren(self, child_, nodeName_): if child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'image': obj_ = XSDataFile() obj_.build(child_) self.image.append(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'anomalous': obj_ = XSDataBoolean() obj_.build(child_) self.setAnomalous(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'spaceGroup': obj_ = XSDataString() obj_.build(child_) self.setSpaceGroup(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'unitCell': obj_ = XSDataString() obj_.build(child_) self.setUnitCell(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'startFrame': obj_ = XSDataInteger() obj_.build(child_) self.setStartFrame(obj_) elif child_.nodeType == Node.ELEMENT_NODE and \ nodeName_ == 'endFrame': obj_ = XSDataInteger() obj_.build(child_) self.setEndFrame(obj_) XSDataInput.buildChildren(self, child_, nodeName_)