Commit graph

84 commits

Author SHA1 Message Date
1187b37b2d
hoo boy. working combinatoric testing.
Split out annotation dtype and shape, swap out all interface tests, fix numpy and dask model casting, make merging models more efficient, correctly parameterize and mark tests!
2024-10-10 23:56:45 -07:00
5d4f03a8a9
finish replacing interface tests with new helper system 2024-10-10 18:58:05 -07:00
3356738e42
refactoring array generation, swapping in the interface case generators 2024-10-04 00:46:49 -07:00
e701bf6e9b
interface cases 2024-10-03 23:18:18 -07:00
7dbb22f828
format and also add pdm scripts 2024-10-03 20:01:56 -07:00
8f1eb6e5b4
linting for tests 2024-10-03 19:57:54 -07:00
f291afbbe2
create testing module, add to docs 2024-10-03 19:33:40 -07:00
124024f48a
split fixtures into folder 2024-10-03 18:51:34 -07:00
8f7d48fc56
close hdf5 files, use hdfpy 3.12 2024-09-26 19:58:27 -07:00
99e07925e6
updates to readme
Some checks are pending
Lint / Ruff Linting (push) Waiting to run
Lint / Black Formatting (push) Waiting to run
LinkML Tests / test-linkml (macos-latest, 3.12) (push) Waiting to run
LinkML Tests / test-linkml (macos-latest, 3.9) (push) Waiting to run
LinkML Tests / test-linkml (ubuntu-latest, 3.12) (push) Waiting to run
LinkML Tests / test-linkml (ubuntu-latest, 3.9) (push) Waiting to run
LinkML Tests / test-linkml (windows-latest, 3.12) (push) Waiting to run
LinkML Tests / test-linkml (windows-latest, 3.9) (push) Waiting to run
Tests / test (<2.0.0, macos-latest, 3.12) (push) Waiting to run
Tests / test (<2.0.0, macos-latest, 3.9) (push) Waiting to run
Tests / test (<2.0.0, ubuntu-latest, 3.12) (push) Waiting to run
Tests / test (<2.0.0, ubuntu-latest, 3.9) (push) Waiting to run
Tests / test (<2.0.0, windows-latest, 3.12) (push) Waiting to run
Tests / test (<2.0.0, windows-latest, 3.9) (push) Waiting to run
Tests / test (>=2.0.0, macos-latest, 3.12) (push) Waiting to run
Tests / test (>=2.0.0, macos-latest, 3.9) (push) Waiting to run
Tests / test (>=2.0.0, ubuntu-latest, 3.10) (push) Waiting to run
Tests / test (>=2.0.0, ubuntu-latest, 3.11) (push) Waiting to run
Tests / test (>=2.0.0, ubuntu-latest, 3.12) (push) Waiting to run
Tests / test (>=2.0.0, ubuntu-latest, 3.9) (push) Waiting to run
Tests / test (>=2.0.0, windows-latest, 3.12) (push) Waiting to run
Tests / test (>=2.0.0, windows-latest, 3.9) (push) Waiting to run
Tests / finish-coverage (push) Blocked by required conditions
2024-09-25 18:15:27 -07:00
ea2d1238ed
python 3.9 compat 2024-09-25 17:11:02 -07:00
1f9e3ea481
only pin h5py version on non-mac platforms, since mac seems to be unaffected by file locking problem. fix windows permission error 2024-09-25 17:06:03 -07:00
fe2dbdcd58
indexerror finding filesystem root 2024-09-25 16:58:50 -07:00
5a7e2e2389
fix skipping relativize absolute paths that are first-level root directories 2024-09-25 16:54:42 -07:00
81e8854e4c
fix duplicated test name
Some checks are pending
Lint / Ruff Linting (push) Waiting to run
Lint / Black Formatting (push) Waiting to run
Tests / test (<2.0.0, macos-latest, 3.12) (push) Waiting to run
Tests / test (<2.0.0, macos-latest, 3.9) (push) Waiting to run
Tests / test (<2.0.0, ubuntu-latest, 3.12) (push) Waiting to run
Tests / test (<2.0.0, ubuntu-latest, 3.9) (push) Waiting to run
Tests / test (<2.0.0, windows-latest, 3.12) (push) Waiting to run
Tests / test (<2.0.0, windows-latest, 3.9) (push) Waiting to run
Tests / test (>=2.0.0, macos-latest, 3.12) (push) Waiting to run
Tests / test (>=2.0.0, macos-latest, 3.9) (push) Waiting to run
Tests / test (>=2.0.0, ubuntu-latest, 3.10) (push) Waiting to run
Tests / test (>=2.0.0, ubuntu-latest, 3.11) (push) Waiting to run
Tests / test (>=2.0.0, ubuntu-latest, 3.12) (push) Waiting to run
Tests / test (>=2.0.0, ubuntu-latest, 3.9) (push) Waiting to run
Tests / test (>=2.0.0, windows-latest, 3.12) (push) Waiting to run
Tests / test (>=2.0.0, windows-latest, 3.9) (push) Waiting to run
Tests / finish-coverage (push) Blocked by required conditions
2024-09-24 20:20:09 -07:00
dfcd8479f0
test walk and apply 2024-09-24 00:15:56 -07:00
402bf09cf1
python 39 compat 2024-09-23 23:42:00 -07:00
85cef50603
refactor validation into separate module, perf improvements from not iterating over every element of array, rename array to value universally in serialized json lol 2024-09-23 23:25:20 -07:00
0a175d17c0
changelog, bump version, remove pdb 2024-09-23 18:15:10 -07:00
16b0eb0542
test shape ellipsis at last 2024-09-23 17:35:24 -07:00
f9a992843e
tests for paths 2024-09-23 17:30:06 -07:00
708e6e81d8
roundtripping marked arrays, roundtrip or not 2024-09-23 15:54:55 -07:00
8cc2574399
add marks to all tests 2024-09-23 13:28:38 -07:00
70bf254ddd
lint, fix zarr dump test 2024-09-21 18:26:25 -07:00
b436d8d592
Roundtrip json serialization using dataclasses for all interfaces. Separate JSON schema generation from core_schema generation. More consistent json dumping behavior - always return just the array unless round_trip=True. 2024-09-20 23:44:59 -07:00
2cb09076fd
add ability to dump proxy classes to arrays, tests for doing so and json dumping 2024-09-20 18:28:38 -07:00
47e5cb8da1
bugfix - don't choke on empty datasets during validation 2024-09-03 17:41:34 -07:00
56c5b9ac79
support datetimes in hdf5 proxies 2024-09-03 16:54:31 -07:00
88fd42cdc3
fix test interfaces not being disabled 2024-09-03 13:10:26 -07:00
4152af1f91
allow revalidation of already-proxied arrays 2024-09-03 12:58:05 -07:00
d595e87e10
failing test for revalidation 2024-09-03 12:50:26 -07:00
e78c170a2b
correct decoding of byte arrays 2024-09-02 22:49:13 -07:00
f28c766b96
strings in compound dtypes 2024-09-02 22:40:17 -07:00
0f1e0d0caf
oop still have to do bytes conversion 2024-09-02 22:29:58 -07:00
0e6ea07d5e
Add support for strings in hdf5 2024-09-02 22:14:47 -07:00
8883076e5c
we actually don't need to manually delete that since the tmp_dir should delete it on its own 2024-09-02 18:20:55 -07:00
b1c8d3e422
Add len method to video and hdf5 interfaces, make dunder test module to test dunder methods across all interfaces 2024-09-02 18:13:28 -07:00
2a93694cfc
fix setting values 2024-09-02 17:05:32 -07:00
03fe97b7e0
add ability to index hdf5 compound datasets 2024-09-02 16:45:56 -07:00
3304ab3d88
update changelog, bump version 2024-08-13 23:05:28 -07:00
a8ba11f772
update changelog, bump version 2024-08-12 21:35:01 -07:00
90994b1ba1
get inner object from object array to test arbitrary dtype 2024-08-12 21:10:56 -07:00
dd9a8e959f
allow arbitrary dtypes, and allow pydantic models as the inner type in json schema array creation 2024-08-12 20:50:33 -07:00
b2db1014bd
Better string dtype checking support, restructuring the validation hooks to allow finer grained control over the process. 2024-08-05 19:43:15 -07:00
fef528f3bc
make test order insensitive 2024-07-31 16:51:37 -07:00
a64bb2186f
changelog, bump version, fill in coverage 2024-07-31 16:45:48 -07:00
0a930eed35
windows doesn't like to let go of files 2024-07-31 16:25:59 -07:00
40c8e9d95d
remove nptyping dependency, update CI, remove old numpy types 2024-07-31 15:50:24 -07:00
a45967818c
v1.2.1 - fix dtypeerror inheritance 2024-06-27 22:24:57 -07:00
07ab3d1b76
add array shape ranges! take over shape specification and checking from nptyping 2024-06-14 22:38:13 -07:00