6ce3d58528
working roundtrip serialization from extra after correcting serialization schema. doh.
2024-10-18 19:31:22 -07:00
33eb1c15d5
stuck at the recursion error in pydantic core
2024-10-18 00:30:33 -07:00
1701ef9d7e
get tests working again
2024-10-17 22:15:30 -07:00
b0a63af95a
tests for testing helpers
2024-10-11 00:48:02 -07:00
5268884050
use the validated array instance in testing numpy dump to array, not the array we would generate
2024-10-11 00:19:59 -07:00
84cecfb09f
ut oh left a pdb in
2024-10-11 00:10:45 -07:00
d9f785efdd
windows can't do <U as a path even hypothetically
2024-10-11 00:09:27 -07:00
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
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
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
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
0e6ea07d5e
Add support for strings in hdf5
2024-09-02 22:14:47 -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
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
025832aa3d
testing for fast matching mode. recursively get interface classes including disabled classes
2024-05-24 18:31:04 -07:00
6ebed2b804
lint
2024-05-20 21:21:45 -07:00
a948a41663
coverage for video tests
2024-05-20 21:20:56 -07:00
a4d82f0879
docs! add recursive any shaped arrays!
2024-05-20 21:16:16 -07:00
e2231cc9f0
video interface!
2024-05-20 19:17:46 -07:00
fd252e3911
fix string checking in raised asserts
2024-05-17 18:14:00 -07:00
3a6984f3f0
correct error raising tests after more generous numpy coercion method
2024-05-17 17:55:05 -07:00
5e90c1bee1
add serialization info to to_json methods, zarr dump array context option, remove coerce_list and just let numpy interface handle it
2024-05-17 17:39:30 -07:00
f3fd0a0ed2
coverage tests for hdf5 interface. filter numpy deprecation warnings from nptyping
2024-05-17 16:51:41 -07:00
2b56da6808
correct attr naming
2024-05-14 20:19:24 -07:00
9b13226164
tests and no covers continue
2024-05-14 20:18:04 -07:00
a079fbcafc
working zarr impl
2024-05-08 22:06:41 -07:00
b82a49df1b
Better test cases, dtype module, compound types
2024-05-08 21:29:13 -07:00
d884055067
not quite working zarr implementation
2024-04-29 19:49:38 -07:00
5b722bb6da
remove nwb_linkml remnants, add to_json method for json serialization
2024-04-22 19:31:56 -07:00
46060c1154
dask and hdf5 array interfaces
2024-04-08 18:36:47 -07:00