Commit graph

60 commits

Author SHA1 Message Date
jan
966e350f66 [records] early return if we got an int 2026-03-09 01:00:48 -07:00
jan
9cfcad9acd [records] fix some expected sizes 2026-03-09 01:00:30 -07:00
jan
92492b01d4 [README] clarify intended use of scan_structs 2026-03-09 00:16:13 -07:00
jan
49a7ba2209 [tests] add a bunch of tests 2026-03-09 00:15:52 -07:00
jan
cf4d7f70d4 [records] fix record id for HARDFENCE 2026-03-08 21:41:24 -07:00
jan
2512c83749 misc linter cleanup 2026-03-08 20:06:45 -07:00
jan
5cd20f9751 [Path] fix handling of non-int extensions (cast) 2026-03-08 20:06:30 -07:00
jan
14f795e592 add file formats tag 2025-12-30 02:52:40 -08:00
jan
74b9672b4a bump version to v1.5 release v1.5 2025-10-12 23:37:53 -07:00
jan
0ac4c3b275 fix path extensions not getting written correctly 2025-10-12 23:37:53 -07:00
ae9c2d7b5f add type annotation 2025-04-21 19:39:23 -07:00
428e396b9b Loosen type requirements / guarantees for properties
We will still return a dict, but only require a mapping when writing
2025-04-21 19:39:23 -07:00
jan
4ffb87d361 Include repr() of data in error msg 2024-12-20 19:52:16 -08:00
a50d53b508 bump version to v1.4 v1.4
Main change is numpy 2.0 compatibility
2024-07-29 20:53:45 -07:00
6ad3358665 update reqs in readme 2024-07-29 18:35:55 -07:00
65a33d2eca allow numpy v2 2024-07-29 18:35:55 -07:00
7d6cea1c4a numpy.array(..., copy=False) -> numpy.asarray(...)
for numpy 2.0 compatibility
2024-07-29 18:35:55 -07:00
95976cd637 increase min python version 2024-07-29 18:35:55 -07:00
8061d6cd37 note intentionally non-abstract method 2024-07-29 18:35:55 -07:00
cae970e65c simplify comparisons 2024-07-29 18:35:55 -07:00
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 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 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 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 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