Commit graph

333 commits

Author SHA1 Message Date
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
3641d33cc8
split up fixtures and nwb fixture in particular, add --clean pytest option 2024-09-02 13:40:46 -07:00
49585e467a
working on grpah loading of nwb files 2024-08-31 01:47:42 -07:00
b555ccb199
testing nwb file, and experimenting with yaml format 2024-08-30 00:39:10 -07:00
0e4058520a
Merge pull request #9 from p2p-ld/perf-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
[perf] Parallel builds
2024-08-27 21:08:13 -07:00
a60499080c
simplify gitattributes 2024-08-27 21:04:56 -07:00
79a7beb1c6
gitattributes to exclude from diffs 2024-08-27 21:01:22 -07:00
bb900774d8
gitattributes to exclude from diffs 2024-08-27 21:00:10 -07:00
81b475a2d4
regenerate models with sorted imports 2024-08-27 20:50:23 -07:00
fac18ab147
copy and overwrite rather than shutil.move in generate 2024-08-27 20:49:53 -07:00
798b92de6b
name change in imports from schema -> is_schema 2024-08-20 23:21:40 -07:00
fc8cca0e16
correct cache invalidation 2024-08-20 23:17:44 -07:00
cc334ae195
lint 2024-08-20 23:12:01 -07:00
fe7e9f89ca
regenerate models 2024-08-20 23:04:05 -07:00
582ac5f09c
parallel builds, remove monkeypatches 2024-08-20 22:45:24 -07:00
98a9975406
Merge pull request #8 from p2p-ld/separate-nwb-models
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
Separate models into `nwb_models` package
2024-08-20 20:42:24 -07:00
0c51f00596
aha fix black formatting include, generate core by cloning into tmp directory 2024-08-20 20:26:00 -07:00
d03e4107a4
install models, editable install 2024-08-20 20:07:41 -07:00
647bdae442
add diff 2024-08-20 20:05:48 -07:00
c48a7f1126
oop not a module 2024-08-20 20:00:38 -07:00
0571669f7d
add caching 2024-08-20 20:00:07 -07:00