Merge pull request #3715 from ryanbugden/main
Allow axisOrdering to be set to zero
This commit is contained in:
commit
332602ebc4
@ -1596,7 +1596,7 @@ class BaseDocWriter(object):
|
|||||||
mapElement.attrib["input"] = self.intOrFloat(inputValue)
|
mapElement.attrib["input"] = self.intOrFloat(inputValue)
|
||||||
mapElement.attrib["output"] = self.intOrFloat(outputValue)
|
mapElement.attrib["output"] = self.intOrFloat(outputValue)
|
||||||
axisElement.append(mapElement)
|
axisElement.append(mapElement)
|
||||||
if axisObject.axisOrdering or axisObject.axisLabels:
|
if axisObject.axisOrdering is not None or axisObject.axisLabels:
|
||||||
labelsElement = ET.Element("labels")
|
labelsElement = ET.Element("labels")
|
||||||
if axisObject.axisOrdering is not None:
|
if axisObject.axisOrdering is not None:
|
||||||
labelsElement.attrib["ordering"] = str(axisObject.axisOrdering)
|
labelsElement.attrib["ordering"] = str(axisObject.axisOrdering)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user