Commit graph

341 commits

Author SHA1 Message Date
2b828082e0 perf enhancements to pydantic generation 2023-09-06 22:48:47 -07:00
7b97b749ef monkeypatch to fix perf problems from nptyping 2023-09-06 19:32:33 -07:00
6a9d612b41 i'm just sorta making a mess here. coming back tomorrow 2023-09-06 00:50:49 -07:00
85beef4276 trying to get absolute paths out of coverage report 2023-09-05 22:54:20 -07:00
ecbb106581 proper .coveragerc formatting 2023-09-05 22:45:26 -07:00
456a5315d2 abandoning github action build 2023-09-05 22:42:46 -07:00
ce5cd18212 move to .coveragerc 2023-09-05 22:37:41 -07:00
2e1130c3f6 passing test directory??? 2023-09-05 22:29:48 -07:00
fcd4f70442 explicit configuration passing 2023-09-05 22:21:30 -07:00
3d69213afe optional? 2023-09-05 22:13:43 -07:00
3cb5e74ab8 upload to pypi 2023-09-05 22:10:10 -07:00
3bcf68d319 correct path 2023-09-05 21:59:19 -07:00
536de57ce4 correct path 2023-09-05 21:57:19 -07:00
2d8df6d2dc cant include package when out of working directory 2023-09-05 21:55:41 -07:00
201ed569de no working-directory in actions 2023-09-05 21:53:16 -07:00
da2eaea51e some baseline tests, fixing imports, coverage reports 2023-09-05 21:47:41 -07:00
ccc09de400 refactor nwb_linkml to src layout 2023-09-05 19:25:20 -07:00
9306f7e688 remove debugging flag 2023-09-04 22:00:43 -07:00
78d2ec59d7 - Able to complete build all the way through to importing generated classes 2023-09-04 21:46:17 -07:00
8f4f99cffd - Get imports for parent class slots
- Handle scalar valued datasets with subattributes
- start on hdf5
2023-09-04 16:16:29 -07:00
bb9dda6e66 - Don't split schema into includes and base
- Import top-level classes in namespaces pydantic file
- Don't generate or import the arraylike class
2023-09-04 14:56:36 -07:00
9dd7304334 Working recursion! and also handling multiple array shapes, and properly handling unnamed classes 2023-08-31 20:56:21 -07:00
c45458e748 github test action 2023-08-31 15:44:43 -07:00
4ee77dbb2e update to pydantic 2 2023-08-31 15:36:58 -07:00
3568037a1e Need to go home, in the middle of refactoring group and dataset as well as implementing the name property correctly 2023-08-31 00:01:43 -07:00
fd9aef9531 Cleaner code generation, npytyping type hints for arrays
- split off generated subclasses into "include" files, not sure if that's good, but in any case we have them separable now.
- more work on cleanly un-nesting scalar and 1D-vector data into attributes and lists, respectively
- brought the pydantic generator in-repo to do a bunch of overrides
2023-08-30 20:56:30 -07:00
be21325123 Cleaner code generation, npytyping type hints for arrays
- split off generated subclasses into "include" files, not sure if that's good, but in any case we have them separable now.
- more work on cleanly un-nesting scalar and 1D-vector data into attributes and lists, respectively
- brought the pydantic generator in-repo to do a bunch of overrides
2023-08-28 22:16:58 -07:00
63c6cef10b Cleaned up old files, added some mysteriously delayed pydantic models, and submitted to pypi to keep the package name. 2023-08-25 00:52:12 -07:00
4faaa8efe8 I believe that's a full translation
or at least all the semantics are present. it's not pretty by any stretch of the imagination
2023-08-25 00:22:47 -07:00
a4806543ef recursion works, more formal build method in adapters 2023-08-23 19:56:09 -07:00
170a424fb1 Actually generating some translations at this point 2023-08-21 21:43:02 -07:00
3996f319e2 some vague sketching on mapping namespaces 2023-08-20 23:00:58 -07:00
111965aace working schema language import 2023-08-18 22:09:28 -07:00
fe44c1c657 patch pydantic code generation, use anytype for dims because modeling lists of lists is not possible 2023-08-18 16:33:06 -07:00
63ccd800b3 progress with using pydantic models 2023-08-18 01:11:14 -07:00
e8adb4f88c first draft linkml schema 2023-08-16 23:47:35 -07:00
5c69c48f35 make linkml cookiecutter 2023-08-16 16:07:36 -07:00
cee4f3146b moving notes to own folder 2023-08-15 02:25:21 -07:00
819513e797 pynwb schema notes 2023-08-11 22:29:57 -07:00
a69388ffb5 starts 2023-08-11 19:52:35 -07:00
26242054e8
Initial commit 2023-06-30 20:34:12 -07:00