hohlraum / gdsCAD

A simple but powerful Python package for creating photolithography masks in the GDSII format.
GNU General Public License v3.0
88 stars 52 forks source link

core.GdsImport(mygds) error with texttype #40

Closed muab closed 7 years ago

muab commented 8 years ago

I cannot import my own gds. It seems to be some incompatibility with the record texttype. The traceback is: Traceback (most recent call last): File "gds_tests.py", line 9, in amarks = core.GdsImport(myfile) File "/usr/local/lib/python2.7/dist-packages/gdsCAD/core.py", line 1968, in GdsImport cell.add(create_element(kwargs)) File "/usr/local/lib/python2.7/dist-packages/gdsCAD/core.py", line 2172, in _create_text return Text(kwargs) TypeError: init() got an unexpected keyword argument 'texttype'

muab commented 8 years ago

it seems that this error has been corrected in version '0.5.0', which can be downloaded here, but is not updated in the python repository (last version there is '0.4.5').