Commit graph

67 commits

Author SHA1 Message Date
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
d567ce0194
tests for unparameterized and any shape arrays 2024-06-14 18:12:40 -07:00
025832aa3d
testing for fast matching mode. recursively get interface classes including disabled classes 2024-05-24 18:31:04 -07:00
1290d64833
working instancecheck, but not working static analysis 2024-05-23 21:08:38 -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
a1a440e6ad
handle and test complex 2024-05-17 18:05:36 -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
782360990e
use module scope to fix pytest stdout 2024-05-17 16:36:17 -07:00
49a51563d6
move helper methods to schema module and out of ndarray 2024-05-15 22:56:02 -07:00
060de62334
better json schema generation 2024-05-15 20:49:15 -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