Commit Graph

40 Commits

Author SHA1 Message Date
2ea9d32984 use KlamathError everywhere 2024-07-29 18:35:55 -07:00
15af9078f0 modernize type annotations and improve handling of int scalars 2024-07-29 18:35:55 -07:00
f12a1c6421 ignore a lint 2024-07-29 18:35:55 -07:00
438cde513e whitespace 2024-07-29 18:35:55 -07:00
59c94f7c17 improve type annotations 2024-07-29 18:35:55 -07:00
e7e42a2ef8 Allow NDArray inputs to pack_* and avoid unnecesary copies 2024-07-29 18:35:55 -07:00
dc58159cdf use redundant imports for re-exported names 2024-07-29 18:35:55 -07:00
e94b93d5af replace flake8 with ruff 2024-07-29 18:35:55 -07:00
jan
6a0019010f reduce date normalization log priority from 'warning' to 'info' 2024-04-11 18:43:33 -07:00
jan
46b3349935 Allow reading files with invalid dates
Notably, KLayout writes invalid dates when told to not write the date
2024-04-06 12:22:05 -07:00
jan
97527a5948 specify signature instead of using astype 2024-04-06 12:22:05 -07:00
61d04f89ad add github link 2024-03-30 19:48:21 -07:00
jan
9d14bf27c6 Update type annotations and some formatting 2023-04-14 11:57:31 -07:00
4d362f8e09 do some linting with flake8 2023-01-26 12:40:54 -08:00
0bbc8f8e08 Loosen constraints from BinaryIO to IO[bytes] 2023-01-26 12:32:19 -08:00
e90e44bd15 bump version to v1.3 2022-08-18 23:07:23 -07:00
38fc306644 Move to hatch-based build 2022-08-18 23:06:41 -07:00
a8ecd5f0ef Bump version to v1.2 2022-02-23 15:41:42 -08:00
3569096e89 Widen type hints to placate mypy
Apparently there's no way to specify a Sequence with fixed length, so
Union it is!
2022-02-23 15:41:42 -08:00
6a585294e6 Tests: Empty string should no longer cause an error during parsing 2022-02-23 15:41:42 -08:00
b5a53bac91 fix docstring 2022-02-23 15:41:42 -08:00
e54d041d85 ldexp requires i64 (not u64) exponent in numpy 1.21 2022-02-23 15:41:42 -08:00
jan
2a37a3e85f Bump status from Beta to Production/Stable 2021-12-18 21:19:07 -08:00
6ee977cd06 update email 2021-07-11 17:21:53 -07:00
jan
e9266d344f bump to v1.1 2021-04-12 13:59:12 -07:00
jan
6b0d1cd842 fix reading some elements 2021-04-12 13:58:52 -07:00
jan
4022622de5 bump to v1.0 2021-03-26 10:14:14 -07:00
jan
38c22f081b fixup real coversion for large exponents
also implement subnormals, though they don't have real8 equivalents so
it's wasted effort
2021-03-26 10:14:02 -07:00
jan
329a86c94f remove newlines from version string 2021-03-26 08:24:37 -07:00
jan
fbe5cee7f5 Add library.scan_hierarchy to quickly gather layout stats 2021-03-26 08:24:13 -07:00
jan
34a334f6f3 allow zero-length ascii strings
klayout sometimes writes these
2021-03-26 08:22:58 -07:00
288952f961 Use VERSION.py instead of plain VERSION
reduces reliance on package_data
2020-11-03 01:32:54 -08:00
e684669f8e Fix readme issues and bump version to v0.3 2020-10-10 19:23:09 -07:00
429ce99ed1 bump version to v0.2 2020-10-10 19:08:02 -07:00
2f2ec61d19 indicate that tags are in hex 2020-09-29 00:04:23 -07:00
8620c55034 Don't care what version we read 2020-09-29 00:04:12 -07:00
082e167768 add missing STRING record when writing 2020-09-29 00:03:59 -07:00
a860271866 add license info 2020-09-26 18:15:20 -07:00
b9272f5a12 add .gitignore and remove pycache 2020-09-26 17:57:50 -07:00
034d5fbcb7 initial commit 2020-09-26 17:55:17 -07:00