551
558
newNode = libxml2.newNode("physvol")
552
559
fileNode = libxml2.newNode("file")
553
560
if len(diffuserSetting) > 0: # test of whether the statement exists.
562
569
newNode.setProp("name", "iris" + str(inum))
563
570
fileNode.setProp("name", "iris" + str(inum) + "_open.gdml")