jan
75adceda8b
Remove object locking/unlocking.
...
- It was *slow*. Often >50% of runtime for large designs.
- It didn't catch all corner cases. True immutability would require
language-level support.
- (minor) It doesn't play nice with type checking via mypy.
2 years ago
Jan Petykiewicz
b5ddb5749c
fix calculation of displacements
2 years ago
Jan Petykiewicz
fd0b2ba4cd
no longer ignore numpy types
2 years ago
Jan Petykiewicz
3640de27c7
Fix OASIS loading when strings are stored by-reference
2 years ago
jan
a4fe3d9e2e
Use ArrayLike and NDArray wherever possible. Some type fixes and some related corner cases
2 years ago
jan
89f327ba37
reformat some multiline arg lists and add missing 'None' return types
2 years ago
Jan Petykiewicz
09a5e4a2db
type-related fixes and improvements
4 years ago
Jan Petykiewicz
f364970403
style and type fixes (per flake8)
...
could potentially fix some bugs in `Library` class and dxf reader
4 years ago
Jan Petykiewicz
ce5d386a24
Determine if an existing file is gzipped based on magic bytes, not suffix
4 years ago
Jan Petykiewicz
c6684936cf
Improve docs, error messages, and type annotations
4 years ago
Jan Petykiewicz
84f811e9d1
move clean_vertices functionality out into a common function
4 years ago
Jan Petykiewicz
5f72fe318f
Loosen requirements from List to Sequence
4 years ago
Jan Petykiewicz
c4dfd06a42
improve type annotations
4 years ago
Jan Petykiewicz
49a3b4e322
add support for annotations
...
and other fixes
4 years ago
Jan Petykiewicz
e7c8708f7f
prefer f-strings
4 years ago
Jan Petykiewicz
3ec28d4720
typo fixes
4 years ago
Jan Petykiewicz
7ce601dc1d
Enable repeated shapes in gdsii and oasis
4 years ago
Jan Petykiewicz
794ebb6b37
repetition related fixup
4 years ago
Jan Petykiewicz
bab40474a0
Add repetitions and split up code into traits
4 years ago
Jan Petykiewicz
f204d917c9
Add basic support for OASIS and update setup/docs for OASIS and DXF support
4 years ago