def setVolumeShapeInfo(self):
text = ""
for i in range(len(self.workflow.images.outputs["Outputs"][0].shape)):
text = text + "%s : %d " % (self.workflow.images.outputs["Outputs"][0].axistags[i].key, self.workflow.images.outputs["Outputs"][0].shape[i])
self.labelShape.setText(text)
def setLineEditFilePath(self, filePath):
After Change
def setVolumeShapeInfo(self):
for i in range(len(self.input.shape)):
self.lineEditInputShapeList[i].setText("0 - %d" % (int(self.input.shape[i])-1))
self.lineEditOutputShapeList[i].setText("0 - %d" % (int(self.input.shape[i])-1))
def setRegExToLineEditOutputShape(self):
r = QRegExp("([0-9]*)(-|\W)+([0-9]*)")
for i in self.lineEditOutputShapeList: