Example #1
0
 def exportChildren(self,
                    outfile,
                    level,
                    name_='XSDataGridScreeningResultIntegration'):
     XSData.exportChildren(self, outfile, level, name_)
     if self._fileName is not None:
         showIndent(outfile, level)
         outfile.write(unicode('<fileName>%s</fileName>\n' %
                               self._fileName))
     else:
         warnEmptyAttribute("fileName", "string")
     if self._fileDirectory is not None:
         showIndent(outfile, level)
         outfile.write(
             unicode('<fileDirectory>%s</fileDirectory>\n' %
                     self._fileDirectory))
     else:
         warnEmptyAttribute("fileDirectory", "string")
     if self._integratedData is not None:
         showIndent(outfile, level)
         outfile.write(
             unicode('<integratedData>%s</integratedData>\n' %
                     self._integratedData))
     else:
         warnEmptyAttribute("integratedData", "string")
Example #2
0
 def exportChildren(self, outfile, level, name_='XSDataNexusAxis'):
     XSData.exportChildren(self, outfile, level, name_)
     if self._title is not None:
         self.title.export(outfile, level, name_='title')
     else:
         warnEmptyAttribute("title", "XSDataString")
     if self._axis is not None:
         self.axis.export(outfile, level, name_='axis')
     else:
         warnEmptyAttribute("axis", "XSDataInteger")
     if self._primary is not None:
         self.primary.export(outfile, level, name_='primary')
     else:
         warnEmptyAttribute("primary", "XSDataInteger")
     if self._units is not None:
         self.units.export(outfile, level, name_='units')
     else:
         warnEmptyAttribute("units", "XSDataString")
     if self._long_name is not None:
         self.long_name.export(outfile, level, name_='long_name')
     else:
         warnEmptyAttribute("long_name", "XSDataString")
     if self._axisData is not None:
         self.axisData.export(outfile, level, name_='axisData')
     else:
         warnEmptyAttribute("axisData", "XSDataArray")
	def exportChildren(self, outfile, level, name_='XSDataNexusAxis'):
		XSData.exportChildren(self, outfile, level, name_)
		if self._title is not None:
			self.title.export(outfile, level, name_='title')
		else:
			warnEmptyAttribute("title", "XSDataString")
		if self._axis is not None:
			self.axis.export(outfile, level, name_='axis')
		else:
			warnEmptyAttribute("axis", "XSDataInteger")
		if self._primary is not None:
			self.primary.export(outfile, level, name_='primary')
		else:
			warnEmptyAttribute("primary", "XSDataInteger")
		if self._units is not None:
			self.units.export(outfile, level, name_='units')
		else:
			warnEmptyAttribute("units", "XSDataString")
		if self._long_name is not None:
			self.long_name.export(outfile, level, name_='long_name')
		else:
			warnEmptyAttribute("long_name", "XSDataString")
		if self._axisData is not None:
			self.axisData.export(outfile, level, name_='axisData')
		else:
			warnEmptyAttribute("axisData", "XSDataArray")
 def exportChildren(self, outfile, level, name_='XSDataXOalignCell'):
     XSData.exportChildren(self, outfile, level, name_)
     if self._angle_alpha is not None:
         self.angle_alpha.export(outfile, level, name_='angle_alpha')
     else:
         warnEmptyAttribute("angle_alpha", "XSDataAngle")
     if self._angle_beta is not None:
         self.angle_beta.export(outfile, level, name_='angle_beta')
     else:
         warnEmptyAttribute("angle_beta", "XSDataAngle")
     if self._angle_gamma is not None:
         self.angle_gamma.export(outfile, level, name_='angle_gamma')
     else:
         warnEmptyAttribute("angle_gamma", "XSDataAngle")
     if self._length_a is not None:
         self.length_a.export(outfile, level, name_='length_a')
     else:
         warnEmptyAttribute("length_a", "XSDataLength")
     if self._length_b is not None:
         self.length_b.export(outfile, level, name_='length_b')
     else:
         warnEmptyAttribute("length_b", "XSDataLength")
     if self._length_c is not None:
         self.length_c.export(outfile, level, name_='length_c')
     else:
         warnEmptyAttribute("length_c", "XSDataLength")
Example #5
0
 def exportChildren(self, outfile, level, name_='XSDataXOalignCell'):
     XSData.exportChildren(self, outfile, level, name_)
     if self._angle_alpha is not None:
         self.angle_alpha.export(outfile, level, name_='angle_alpha')
     else:
         warnEmptyAttribute("angle_alpha", "XSDataAngle")
     if self._angle_beta is not None:
         self.angle_beta.export(outfile, level, name_='angle_beta')
     else:
         warnEmptyAttribute("angle_beta", "XSDataAngle")
     if self._angle_gamma is not None:
         self.angle_gamma.export(outfile, level, name_='angle_gamma')
     else:
         warnEmptyAttribute("angle_gamma", "XSDataAngle")
     if self._length_a is not None:
         self.length_a.export(outfile, level, name_='length_a')
     else:
         warnEmptyAttribute("length_a", "XSDataLength")
     if self._length_b is not None:
         self.length_b.export(outfile, level, name_='length_b')
     else:
         warnEmptyAttribute("length_b", "XSDataLength")
     if self._length_c is not None:
         self.length_c.export(outfile, level, name_='length_c')
     else:
         warnEmptyAttribute("length_c", "XSDataLength")
Example #6
0
	def exportChildren(self, outfile, level, name_='XSDataXDSDetector'):
		XSData.exportChildren(self, outfile, level, name_)
		if self.__detector_name is not None:
			self.detector_name.export(outfile, level, name_='detector_name')
		else:
			warnEmptyAttribute("detector_name", "XSDataString")
		if self.__image_format is not None:
			self.image_format.export(outfile, level, name_='image_format')
		else:
			warnEmptyAttribute("image_format", "XSDataString")
		if self.__nx is not None:
			self.nx.export(outfile, level, name_='nx')
		else:
			warnEmptyAttribute("nx", "XSDataInteger")
		if self.__ny is not None:
			self.ny.export(outfile, level, name_='ny')
		else:
			warnEmptyAttribute("ny", "XSDataInteger")
		if self.__qx is not None:
			self.qx.export(outfile, level, name_='qx')
		else:
			warnEmptyAttribute("qx", "XSDataDouble")
		if self.__qy is not None:
			self.qy.export(outfile, level, name_='qy')
		else:
			warnEmptyAttribute("qy", "XSDataDouble")
	def exportChildren(self, outfile, level, name_='XSDataQuery'):
		XSData.exportChildren(self, outfile, level, name_)
		for item_ in self.getItem():
			item_.export(outfile, level, name_='item')
		if self.getItem() == []:
			warnEmptyAttribute("item", "XSDataString")
		if self.__removeItems is not None:
			self.removeItems.export(outfile, level, name_='removeItems')
Example #8
0
 def exportChildren(self, outfile, level, name_='XSDataQuery'):
     XSData.exportChildren(self, outfile, level, name_)
     for item_ in self.getItem():
         item_.export(outfile, level, name_='item')
     if self.getItem() == []:
         warnEmptyAttribute("item", "XSDataString")
     if self.__removeItems is not None:
         self.removeItems.export(outfile, level, name_='removeItems')
 def exportChildren(self, outfile, level, name_='XSDataXOalignOrientation'):
     XSData.exportChildren(self, outfile, level, name_)
     if self._matrixA is not None:
         self.matrixA.export(outfile, level, name_='matrixA')
     else:
         warnEmptyAttribute("matrixA", "XSDataMatrixDouble")
     if self._matrixU is not None:
         self.matrixU.export(outfile, level, name_='matrixU')
     else:
         warnEmptyAttribute("matrixU", "XSDataMatrixDouble")
Example #10
0
	def exportChildren(self, outfile, level, name_='XSDataLabelitMosflmScriptsOutput'):
		XSData.exportChildren(self, outfile, level, name_)
		if self.__aMatrix is not None:
			self.aMatrix.export(outfile, level, name_='aMatrix')
		else:
			warnEmptyAttribute("aMatrix", "XSDataMatrixDouble")
		if self.__uMatrix is not None:
			self.uMatrix.export(outfile, level, name_='uMatrix')
		else:
			warnEmptyAttribute("uMatrix", "XSDataMatrixDouble")
Example #11
0
	def exportChildren(self, outfile, level, name_='XSDataXDSRange'):
		XSData.exportChildren(self, outfile, level, name_)
		if self.__lower is not None:
			self.lower.export(outfile, level, name_='lower')
		else:
			warnEmptyAttribute("lower", "XSDataInteger")
		if self.__upper is not None:
			self.upper.export(outfile, level, name_='upper')
		else:
			warnEmptyAttribute("upper", "XSDataInteger")
Example #12
0
 def exportChildren(self, outfile, level, name_='XSDataXOalignOrientation'):
     XSData.exportChildren(self, outfile, level, name_)
     if self._matrixA is not None:
         self.matrixA.export(outfile, level, name_='matrixA')
     else:
         warnEmptyAttribute("matrixA", "XSDataMatrixDouble")
     if self._matrixU is not None:
         self.matrixU.export(outfile, level, name_='matrixU')
     else:
         warnEmptyAttribute("matrixU", "XSDataMatrixDouble")
Example #13
0
	def exportChildren(self, outfile, level, name_='XSDataPlot'):
		XSData.exportChildren(self, outfile, level, name_)
		if self.__plotType is not None:
			showIndent(outfile, level)
			outfile.write(unicode('<plotType>%s</plotType>\n' % self.__plotType))
		else:
			warnEmptyAttribute("plotType", "string")
		if self.__title is not None:
			showIndent(outfile, level)
			outfile.write(unicode('<title>%s</title>\n' % self.__title))
		else:
			warnEmptyAttribute("title", "string")
		if self.__subTitle is not None:
			showIndent(outfile, level)
			outfile.write(unicode('<subTitle>%s</subTitle>\n' % self.__subTitle))
		else:
			warnEmptyAttribute("subTitle", "string")
		if self.__xsize is not None:
			showIndent(outfile, level)
			outfile.write(unicode('<xsize>%e</xsize>\n' % self.__xsize))
		if self.__ysize is not None:
			showIndent(outfile, level)
			outfile.write(unicode('<ysize>%e</ysize>\n' % self.__ysize))
		if self.__xmin is not None:
			showIndent(outfile, level)
			outfile.write(unicode('<xmin>%e</xmin>\n' % self.__xmin))
		if self.__ymin is not None:
			showIndent(outfile, level)
			outfile.write(unicode('<ymin>%e</ymin>\n' % self.__ymin))
		if self.__xmax is not None:
			showIndent(outfile, level)
			outfile.write(unicode('<xmax>%e</xmax>\n' % self.__xmax))
		if self.__ymax is not None:
			showIndent(outfile, level)
			outfile.write(unicode('<ymax>%e</ymax>\n' % self.__ymax))
		if self.__keypos is not None:
			showIndent(outfile, level)
			outfile.write(unicode('<keypos>%s</keypos>\n' % self.__keypos))
		if self.__xtitle is not None:
			showIndent(outfile, level)
			outfile.write(unicode('<xtitle>%s</xtitle>\n' % self.__xtitle))
		else:
			warnEmptyAttribute("xtitle", "string")
		if self.__ytitle is not None:
			showIndent(outfile, level)
			outfile.write(unicode('<ytitle>%s</ytitle>\n' % self.__ytitle))
		else:
			warnEmptyAttribute("ytitle", "string")
		for graph_ in self.getGraph():
			graph_.export(outfile, level, name_='graph')
		if self.getGraph() == []:
			warnEmptyAttribute("graph", "XSDataGraph")
Example #14
0
	def exportChildren(self, outfile, level, name_='XSDataAtom'):
		XSData.exportChildren(self, outfile, level, name_)
		if self.__concentration is not None:
			self.concentration.export(outfile, level, name_='concentration')
		else:
			warnEmptyAttribute("concentration", "XSDataDouble")
		if self.__numberOf is not None:
			self.numberOf.export(outfile, level, name_='numberOf')
		else:
			warnEmptyAttribute("numberOf", "XSDataDouble")
		if self.__symbol is not None:
			self.symbol.export(outfile, level, name_='symbol')
		else:
			warnEmptyAttribute("symbol", "XSDataString")
Example #15
0
 def exportChildren(self, outfile, level, name_='XSDataXOalignSolution'):
     XSData.exportChildren(self, outfile, level, name_)
     if self._kappa is not None:
         self.kappa.export(outfile, level, name_='kappa')
     else:
         warnEmptyAttribute("kappa", "XSDataDouble")
     if self._phi is not None:
         self.phi.export(outfile, level, name_='phi')
     else:
         warnEmptyAttribute("phi", "XSDataDouble")
     if self._settings is not None:
         self.settings.export(outfile, level, name_='settings')
     else:
         warnEmptyAttribute("settings", "XSDataString")
Example #16
0
 def exportChildren(self, outfile, level, name_='XSDataXOalignSolution'):
     XSData.exportChildren(self, outfile, level, name_)
     if self._kappa is not None:
         self.kappa.export(outfile, level, name_='kappa')
     else:
         warnEmptyAttribute("kappa", "XSDataDouble")
     if self._phi is not None:
         self.phi.export(outfile, level, name_='phi')
     else:
         warnEmptyAttribute("phi", "XSDataDouble")
     if self._settings is not None:
         self.settings.export(outfile, level, name_='settings')
     else:
         warnEmptyAttribute("settings", "XSDataString")
	def exportChildren(self, outfile, level, name_='XSDataGridScreeningResultIntegration'):
		XSData.exportChildren(self, outfile, level, name_)
		if self._fileName is not None:
			showIndent(outfile, level)
			outfile.write(unicode('<fileName>%s</fileName>\n' % self._fileName))
		else:
			warnEmptyAttribute("fileName", "string")
		if self._fileDirectory is not None:
			showIndent(outfile, level)
			outfile.write(unicode('<fileDirectory>%s</fileDirectory>\n' % self._fileDirectory))
		else:
			warnEmptyAttribute("fileDirectory", "string")
		if self._integratedData is not None:
			showIndent(outfile, level)
			outfile.write(unicode('<integratedData>%s</integratedData>\n' % self._integratedData))
		else:
			warnEmptyAttribute("integratedData", "string")
Example #18
0
	def exportChildren(self, outfile, level, name_='XSDataXDSSpot'):
		XSData.exportChildren(self, outfile, level, name_)
		if self.__centroidFrame is not None:
			self.centroidFrame.export(outfile, level, name_='centroidFrame')
		else:
			warnEmptyAttribute("centroidFrame", "XSDataDouble")
		if self.__centroidX is not None:
			self.centroidX.export(outfile, level, name_='centroidX')
		else:
			warnEmptyAttribute("centroidX", "XSDataDouble")
		if self.__centroidY is not None:
			self.centroidY.export(outfile, level, name_='centroidY')
		else:
			warnEmptyAttribute("centroidY", "XSDataDouble")
		if self.__IoverSigma is not None:
			self.IoverSigma.export(outfile, level, name_='IoverSigma')
		else:
			warnEmptyAttribute("IoverSigma", "XSDataDouble")
Example #19
0
	def exportChildren(self, outfile, level, name_='XSDataXDSSubWedge'):
		XSData.exportChildren(self, outfile, level, name_)
		if self.__background_range is not None:
			self.background_range.export(outfile, level, name_='background_range')
		else:
			warnEmptyAttribute("background_range", "XSDataXDSRange")
		if self.__data_range is not None:
			self.data_range.export(outfile, level, name_='data_range')
		else:
			warnEmptyAttribute("data_range", "XSDataXDSRange")
		if self.__name_template_of_data_frames is not None:
			self.name_template_of_data_frames.export(outfile, level, name_='name_template_of_data_frames')
		else:
			warnEmptyAttribute("name_template_of_data_frames", "XSDataString")
		if self.__XSDataXDSRange is not None:
			self.XSDataXDSRange.export(outfile, level, name_='XSDataXDSRange')
		else:
			warnEmptyAttribute("XSDataXDSRange", "XSDataXDSRange")
Example #20
0
 def exportChildren(self, outfile, level, name_='XSDataSolutionScatteringSettings'):
     XSData.exportChildren(self, outfile, level, name_)
     if self._rMaxStart is not None:
         self.rMaxStart.export(outfile, level, name_='rMaxStart')
     else:
         warnEmptyAttribute("rMaxStart", "XSDataDouble")
     if self._rMaxStop is not None:
         self.rMaxStop.export(outfile, level, name_='rMaxStop')
     else:
         warnEmptyAttribute("rMaxStop", "XSDataDouble")
     if self._rMaxIntervals is not None:
         self.rMaxIntervals.export(outfile, level, name_='rMaxIntervals')
     else:
         warnEmptyAttribute("rMaxIntervals", "XSDataInteger")
     if self._rMaxAbsTol is not None:
         self.rMaxAbsTol.export(outfile, level, name_='rMaxAbsTol')
     else:
         warnEmptyAttribute("rMaxAbsTol", "XSDataDouble")
	def exportChildren(self, outfile, level, name_='XSDataGridScreeningFileNameParameters'):
		XSData.exportChildren(self, outfile, level, name_)
		if self._motorPosition1 is not None:
			self.motorPosition1.export(outfile, level, name_='motorPosition1')
		else:
			warnEmptyAttribute("motorPosition1", "XSDataString")
		if self._motorPosition2 is not None:
			self.motorPosition2.export(outfile, level, name_='motorPosition2')
		else:
			warnEmptyAttribute("motorPosition2", "XSDataString")
		if self._scanId1 is not None:
			self.scanId1.export(outfile, level, name_='scanId1')
		else:
			warnEmptyAttribute("scanId1", "XSDataString")
		if self._scanId2 is not None:
			self.scanId2.export(outfile, level, name_='scanId2')
		else:
			warnEmptyAttribute("scanId2", "XSDataString")
Example #22
0
	def exportChildren(self, outfile, level, name_='XSDataLabelitScreenSolution'):
		XSData.exportChildren(self, outfile, level, name_)
		if self.__bravaisLattice is not None:
			self.bravaisLattice.export(outfile, level, name_='bravaisLattice')
		else:
			warnEmptyAttribute("bravaisLattice", "XSDataString")
		if self.__crystalSystem is not None:
			self.crystalSystem.export(outfile, level, name_='crystalSystem')
		else:
			warnEmptyAttribute("crystalSystem", "XSDataString")
		if self.__happy is not None:
			self.happy.export(outfile, level, name_='happy')
		else:
			warnEmptyAttribute("happy", "XSDataBoolean")
		if self.__metricFitCode is not None:
			self.metricFitCode.export(outfile, level, name_='metricFitCode')
		else:
			warnEmptyAttribute("metricFitCode", "XSDataString")
		if self.__metricFitValue is not None:
			self.metricFitValue.export(outfile, level, name_='metricFitValue')
		else:
			warnEmptyAttribute("metricFitValue", "XSDataDouble")
		if self.__numberOfSpots is not None:
			self.numberOfSpots.export(outfile, level, name_='numberOfSpots')
		else:
			warnEmptyAttribute("numberOfSpots", "XSDataInteger")
		if self.__rmsd is not None:
			self.rmsd.export(outfile, level, name_='rmsd')
		else:
			warnEmptyAttribute("rmsd", "XSDataLength")
		if self.__solutionNumber is not None:
			self.solutionNumber.export(outfile, level, name_='solutionNumber')
		else:
			warnEmptyAttribute("solutionNumber", "XSDataInteger")
		if self.__unitCell is not None:
			self.unitCell.export(outfile, level, name_='unitCell')
		else:
			warnEmptyAttribute("unitCell", "XSDataCell")
		if self.__volume is not None:
			self.volume.export(outfile, level, name_='volume')
		else:
			warnEmptyAttribute("volume", "XSDataInteger")
Example #23
0
 def exportChildren(self,
                    outfile,
                    level,
                    name_='XSDataGridScreeningFileNameParameters'):
     XSData.exportChildren(self, outfile, level, name_)
     if self._motorPosition1 is not None:
         self.motorPosition1.export(outfile, level, name_='motorPosition1')
     else:
         warnEmptyAttribute("motorPosition1", "XSDataString")
     if self._motorPosition2 is not None:
         self.motorPosition2.export(outfile, level, name_='motorPosition2')
     else:
         warnEmptyAttribute("motorPosition2", "XSDataString")
     if self._scanId1 is not None:
         self.scanId1.export(outfile, level, name_='scanId1')
     else:
         warnEmptyAttribute("scanId1", "XSDataString")
     if self._scanId2 is not None:
         self.scanId2.export(outfile, level, name_='scanId2')
     else:
         warnEmptyAttribute("scanId2", "XSDataString")
	def exportChildren(self, outfile, level, name_='XSDataNexusArrayGroup'):
		XSData.exportChildren(self, outfile, level, name_)
		if self._title is not None:
			self.title.export(outfile, level, name_='title')
		else:
			warnEmptyAttribute("title", "XSDataString")
		if self._long_name is not None:
			self.long_name.export(outfile, level, name_='long_name')
		else:
			warnEmptyAttribute("long_name", "XSDataString")
		for axis_ in self.getAxis():
			axis_.export(outfile, level, name_='axis')
		if self.getAxis() == []:
			warnEmptyAttribute("axis", "XSDataNexusAxis")
		if self._data is not None:
			self.data.export(outfile, level, name_='data')
		else:
			warnEmptyAttribute("data", "XSDataArray")
		if self._signal is not None:
			self.signal.export(outfile, level, name_='signal')
		else:
			warnEmptyAttribute("signal", "XSDataInteger")
Example #25
0
 def exportChildren(self, outfile, level, name_='XSDataNexusArrayGroup'):
     XSData.exportChildren(self, outfile, level, name_)
     if self._title is not None:
         self.title.export(outfile, level, name_='title')
     else:
         warnEmptyAttribute("title", "XSDataString")
     if self._long_name is not None:
         self.long_name.export(outfile, level, name_='long_name')
     else:
         warnEmptyAttribute("long_name", "XSDataString")
     for axis_ in self.getAxis():
         axis_.export(outfile, level, name_='axis')
     if self.getAxis() == []:
         warnEmptyAttribute("axis", "XSDataNexusAxis")
     if self._data is not None:
         self.data.export(outfile, level, name_='data')
     else:
         warnEmptyAttribute("data", "XSDataArray")
     if self._signal is not None:
         self.signal.export(outfile, level, name_='signal')
     else:
         warnEmptyAttribute("signal", "XSDataInteger")
 def exportChildren(self, outfile, level, name_='XSDataAutoPROCIdentifier'):
     XSData.exportChildren(self, outfile, level, name_)
     if self._idN is not None:
         self.idN.export(outfile, level, name_='idN')
     else:
         warnEmptyAttribute("idN", "XSDataString")
     if self._dirN is not None:
         self.dirN.export(outfile, level, name_='dirN')
     else:
         warnEmptyAttribute("dirN", "XSDataFile")
     if self._templateN is not None:
         self.templateN.export(outfile, level, name_='templateN')
     else:
         warnEmptyAttribute("templateN", "XSDataString")
     if self._fromN is not None:
         self.fromN.export(outfile, level, name_='fromN')
     else:
         warnEmptyAttribute("fromN", "XSDataInteger")
     if self._toN is not None:
         self.toN.export(outfile, level, name_='toN')
     else:
         warnEmptyAttribute("toN", "XSDataInteger")
Example #27
0
 def exportChildren(self, outfile, level, name_='XSDataAutoPROCIdentifier'):
     XSData.exportChildren(self, outfile, level, name_)
     if self._idN is not None:
         self.idN.export(outfile, level, name_='idN')
     else:
         warnEmptyAttribute("idN", "XSDataString")
     if self._dirN is not None:
         self.dirN.export(outfile, level, name_='dirN')
     else:
         warnEmptyAttribute("dirN", "XSDataFile")
     if self._templateN is not None:
         self.templateN.export(outfile, level, name_='templateN')
     else:
         warnEmptyAttribute("templateN", "XSDataString")
     if self._fromN is not None:
         self.fromN.export(outfile, level, name_='fromN')
     else:
         warnEmptyAttribute("fromN", "XSDataInteger")
     if self._toN is not None:
         self.toN.export(outfile, level, name_='toN')
     else:
         warnEmptyAttribute("toN", "XSDataInteger")
Example #28
0
	def exportChildren(self, outfile, level, name_='XSDataGraph'):
		XSData.exportChildren(self, outfile, level, name_)
		if self.__lineStyle is not None:
			showIndent(outfile, level)
			outfile.write(unicode('<lineStyle>%s</lineStyle>\n' % self.__lineStyle))
		else:
			warnEmptyAttribute("lineStyle", "string")
		if self.__lineWidth is not None:
			showIndent(outfile, level)
			outfile.write(unicode('<lineWidth>%e</lineWidth>\n' % self.__lineWidth))
		else:
			warnEmptyAttribute("lineWidth", "double")
		if self.__lineColor is not None:
			showIndent(outfile, level)
			outfile.write(unicode('<lineColor>%s</lineColor>\n' % self.__lineColor))
		else:
			warnEmptyAttribute("lineColor", "string")
		if self.__label is not None:
			showIndent(outfile, level)
			outfile.write(unicode('<label>%s</label>\n' % self.__label))
		else:
			warnEmptyAttribute("label", "string")
		if self.__markerType is not None:
			showIndent(outfile, level)
			outfile.write(unicode('<markerType>%s</markerType>\n' % self.__markerType))
		else:
			warnEmptyAttribute("markerType", "string")
		if self.__markerColor is not None:
			showIndent(outfile, level)
			outfile.write(unicode('<markerColor>%s</markerColor>\n' % self.__markerColor))
		else:
			warnEmptyAttribute("markerColor", "string")
		if self.__data is not None:
			self.data.export(outfile, level, name_='data')
		else:
			warnEmptyAttribute("data", "XSDataArray")
Example #29
0
	def exportChildren(self, outfile, level, name_='XSDataLabelitScreenOutput'):
		XSData.exportChildren(self, outfile, level, name_)
		if self.__beamCentreX is not None:
			self.beamCentreX.export(outfile, level, name_='beamCentreX')
		else:
			warnEmptyAttribute("beamCentreX", "XSDataLength")
		if self.__beamCentreY is not None:
			self.beamCentreY.export(outfile, level, name_='beamCentreY')
		else:
			warnEmptyAttribute("beamCentreY", "XSDataLength")
		if self.__distance is not None:
			self.distance.export(outfile, level, name_='distance')
		else:
			warnEmptyAttribute("distance", "XSDataLength")
		if self.__mosaicity is not None:
			self.mosaicity.export(outfile, level, name_='mosaicity')
		else:
			warnEmptyAttribute("mosaicity", "XSDataAngle")
		if self.__selectedSolutionNumber is not None:
			self.selectedSolutionNumber.export(outfile, level, name_='selectedSolutionNumber')
		else:
			warnEmptyAttribute("selectedSolutionNumber", "XSDataInteger")
		for labelitScreenSolution_ in self.getLabelitScreenSolution():
			labelitScreenSolution_.export(outfile, level, name_='labelitScreenSolution')
Example #30
0
 def exportChildren(self, outfile, level, name_='testBoolean'):
     XSData.exportChildren(self, outfile, level, name_)
     if self._b is not None:
         self.b.export(outfile, level, name_='b')
     else:
         warnEmptyAttribute("b", "XSDataBoolean")
Example #31
0
	def exportChildren(self, outfile, level, name_='XSDataPlotSet'):
		XSData.exportChildren(self, outfile, level, name_)
		for plot_ in self.getPlot():
			plot_.export(outfile, level, name_='plot')
		if self.getPlot() == []:
			warnEmptyAttribute("plot", "XSDataPlot")
Example #32
0
	def exportChildren(self, outfile, level, name_='testBoolean'):
		XSData.exportChildren(self, outfile, level, name_)
		if self._b is not None:
			self.b.export(outfile, level, name_='b')
		else:
			warnEmptyAttribute("b", "XSDataBoolean")
Example #33
0
	def exportChildren(self, outfile, level, name_='XSDataAtomicComposition'):
		XSData.exportChildren(self, outfile, level, name_)
		for atom_ in self.getAtom():
			atom_.export(outfile, level, name_='atom')