If I comment out line 12 in the above code, I am back to the original problem:

File "/Users/robert/PycharmProjects/pcbMrp/Utilities/dialogTest.py", line 18, in showPartDescription
part = self.pcePartNoEditor.text()
AttributeError: 'PartCountEditorDialog' object has no attribute 'pcePartNoEditor'