Commit graph

353 commits

Author SHA1 Message Date
af53ee1ea9
omfg working serialization (with forthcoming updates to numpydantic) 2024-10-03 01:17:08 -07:00
4672f54630
fix generics with defaults, use typing_extensions 2024-10-03 00:11:38 -07:00
748b304426
tidy hdf5 io module, copy rather than get references 2024-10-03 00:10:10 -07:00
9560b9f839
a bit of tidying 2024-10-03 00:09:43 -07:00
77a852913c
Merge pull request #16 from p2p-ld/tests-generator
Some checks failed
Lint / Ruff Linting (push) Has been cancelled
Lint / Black Formatting (push) Has been cancelled
Lint / Check for spelling errors (push) Has been cancelled
Model Rebuild / build_models (push) Has been cancelled
Tests / test (3.10) (push) Has been cancelled
Tests / test (3.11) (push) Has been cancelled
Tests / test (3.12) (push) Has been cancelled
Tests / finish-coverage (push) Has been cancelled
Restore generator tests
2024-10-02 20:40:57 -07:00
06b68e8b42
model rebuild 2024-10-02 20:20:50 -07:00
8449e9f742
exclude building vector_data slot, force rebuild of older models which apparently wasn't happening... 2024-10-02 20:20:34 -07:00
8f95d55790
re-remove vector_data 2024-09-30 23:19:30 -07:00
198ed3bcea
test named slot, add skeletons for basemodel methods 2024-09-30 23:14:50 -07:00
016b81a5c5
lint 2024-09-30 22:53:55 -07:00
dfeac9e808
remove outdated generator tests, unskip module 2024-09-30 22:51:56 -07:00
ae37db3a41
Merge pull request #14 from p2p-ld/roll-down
Some checks failed
Lint / Ruff Linting (push) Has been cancelled
Lint / Black Formatting (push) Has been cancelled
Lint / Check for spelling errors (push) Has been cancelled
Model Rebuild / build_models (push) Has been cancelled
Tests / test (3.10) (push) Has been cancelled
Tests / test (3.11) (push) Has been cancelled
Tests / test (3.12) (push) Has been cancelled
Tests / finish-coverage (push) Has been cancelled
roll down parent inheritance recursively
2024-09-30 21:51:23 -07:00
2ce136709b
minor tidying 2024-09-30 21:47:02 -07:00
8c76ce82c3
one last model generation 2024-09-26 01:59:45 -07:00
dfb2f3701b
codespell got me again! 2024-09-26 01:50:25 -07:00
58affeb5db
regenerate models 2024-09-26 01:49:29 -07:00
a6ab1cf61b
regenerate models 2024-09-26 01:40:46 -07:00
7a0da1528c
regenerate models 2024-09-26 01:27:36 -07:00
f9f1d49fca
working complete, strict validating io :) 2024-09-26 01:02:16 -07:00
886d3db860
model checkpoint before fixing group generation 2024-09-25 22:58:02 -07:00
911a3ddb61
cast to value in container classes 2024-09-25 21:18:09 -07:00
fc6f60ad61
fix hdmf inheritance during testing, error handling 2024-09-25 20:41:53 -07:00
8993014832
make the tests pass again - add validator to do the opposite of coerce_value, try to pass the input as the `value` field of the model. fix test assumptions and model creation.
model update to follow
2024-09-19 22:43:29 -07:00
734088f18e
remove commented out pdb call, add more inline docs to rolldown 2024-09-19 19:28:17 -07:00
e06c8ad656
model update 2024-09-19 19:22:33 -07:00
03ba6568a3
lint 2024-09-19 19:21:03 -07:00
1d27c6a259
correctly generating rolled down classes. model update to follow 2024-09-19 19:17:59 -07:00
cad57554fd
get ting there, working rolldown of extra attributes, but something still funny in patchclampseries children w.r.t. losing attributes in data 2024-09-13 23:05:34 -07:00
749703e077
partially functioning rolldown, but getting some wonky results - missing attributes in nested inheritance, and the models are now extremely noisy, creating the same fields over and over even when they aren't overridden or modified by the child class. Need to redo the rolldown, make it less generic, don't dump to dicts, merge in a more targeted way. 2024-09-13 02:42:01 -07:00
880352d9a4
v0.2.0 of nwb_schema_language - parentization 2024-09-12 22:40:14 -07:00
f94a144d75
Merge pull request #10 from p2p-ld/nwb-loader
Some checks failed
Lint / Ruff Linting (push) Has been cancelled
Lint / Black Formatting (push) Has been cancelled
Lint / Check for spelling errors (push) Has been cancelled
Model Rebuild / build_models (push) Has been cancelled
Tests / test (3.10) (push) Has been cancelled
Tests / test (3.11) (push) Has been cancelled
Tests / test (3.12) (push) Has been cancelled
Tests / finish-coverage (push) Has been cancelled
NWB Loader
2024-09-11 21:24:37 -07:00
0eeea4c517
lint 2024-09-11 21:17:46 -07:00
95fbce1c4a
add id to index name on aligneddynamictable correctly 2024-09-11 21:16:37 -07:00
91b2abf07e
working thru tests for nwb file 2024-09-11 21:04:41 -07:00
bb59c9d465
remove unused code, nocover some debug arms 2024-09-11 19:30:04 -07:00
d31ac29294
clean up old hdf5 reader methods, fix truncate_hdf5 method, make proper'd test data files with working references 2024-09-11 19:02:15 -07:00
1f1325e4aa
bump version of dependant nwb-models 2024-09-11 16:11:55 -07:00
b76b0fddf3
bump nwb-models version 2024-09-11 16:00:30 -07:00
3f360c2cc3
use in-repo version of models 2024-09-11 15:56:45 -07:00
dfcb395295
regenerate models 2024-09-11 15:50:09 -07:00
000ddde000
Updating model generation methods to make both loader tests and hdmf include unit tests pass (pending following model update commit) 2024-09-11 15:44:57 -07:00
27b5dddfdd
updating model generation methods, still some models being converted to str instead of being inlined, but almost there 2024-09-04 00:04:21 -07:00
8078492f90
CHECKPOINT WITH IT WORKING before cleanup and model regeneration 2024-09-03 17:48:36 -07:00
d1498a3733
checkpointing working on model loading. it's a sloggggggggg 2024-09-03 00:54:56 -07:00
cd3d7ca78e
model update 2024-09-03 00:54:38 -07:00
676d42d4f5
instantiate ValidationError according to https://github.com/pydantic/pydantic/issues/6734 2024-09-02 19:00:15 -07:00
ee35e5921b
exclude metadata vars from column and category checks 2024-09-02 18:50:48 -07:00
97135c14f2
update models to correctly handle ElementIdentifiers 2024-09-02 18:46:02 -07:00
a6934276d2
codespell 2024-09-02 13:41:41 -07:00
53c415d947
lint 2024-09-02 13:41:04 -07:00