Commit Graph

13 Commits (master)

Author SHA1 Message Date
Jan Petykiewicz 25fe2067cd Fix error check to not include properties 3 years ago
Jan Petykiewicz 60f879a1ad style fixes (per flake8) 4 years ago
Jan Petykiewicz 4a878aa7bf fix type definition for modals 4 years ago
Jan Petykiewicz 3ca999fa2e documentation updates 4 years ago
Jan Petykiewicz 3627b63658 Make records store their associated Property records.
Previously, `Property` records were (incorrectly) just associated with
the library or cell.

This requires a change to how `CellName`s are handled by `OasisLayout`,
since they can have associated properties. They now have their own
non-record object (like `XName`s did before) which holds the properties.

There is also now a `FileModals.property_target` attribute which tracks
which record new `Property` rescords should be associated with.
4 years ago
Jan Petykiewicz 99283aaaf0 enable passing in str where an AString or NString is needed. 4 years ago
Jan Petykiewicz 3af40dd1bc Use a dummy unit of -1 when reading (to satisfy type checker) 4 years ago
Jan Petykiewicz 8fb2f2b594 fix attempted access to xname.string -> xname.bstring 4 years ago
Jan Petykiewicz 7f0c46525e improve type annotations 4 years ago
Jan Petykiewicz 62fca39a69 Modernize comments and type annotations. Ugly commit with a couple code fixes:
- modal variable name change: path_halfwidth -> path_half_width
- Fixed `hasattr(other, 'as_list')` calls in __eq__() functions
4 years ago
Jan Petykiewicz daf301dfce Fix reading CELL records with id 14 6 years ago
Jan Petykiewicz 65e03d67d6 Use logging module for printing 6 years ago
jan dc5538dd68 initial commit 7 years ago