Commit b50fa85
Standardize nwb ingestion (LorenFrankLab#1377)
* initial version of standard import steps
* add new standard for ingesting configs
* debug and make SpyglassIngestion class
* transition CameraDevice for new mixin
* cleanup commented lines
* accomodate tables that insert into parts in mixin
* transition common lab ingestion to new standard
* adjust calls in Session population for new standard
* remove commented lines
* migrate table to new ingestion format
* move subject to new import
* add validation of secondary keys for duplicates
* update Probe tables to new ingestion
* for table objects, have defaut get entries run on each row
* move interval list to new ingestion
* Move table inserts out of Session.make and run in populate_all_common
* Migrate session to new ingestion scheme
* update method call in test_lab_member_insert_file_str
* restore imports for table definitions
* add lab institute and subject data to mock dio file
* spelling
* initial version of auto doc markdown table
* Auto-gen mapping doc
* Refactor SpyglassIngestion
* execute_inserts -> dry_run
* Handle inserts as dict for parts. Quiet ingest logging
* Minor edits
* Add load config
* Prevent prompt on equivalent entries. Always handle entries as dict
* Fix ingestion order
* Add DIOEvents
* Remove debug print
* Pluralize 'adjust_keys'. Add Raw
* Update changelog
* Fix tests
* Remove comment
* Apply suggestions from code review
Co-authored-by: Copilot <[email protected]>
* Apply suggestions from code review 2
* IntervalList.insert -> cautious_insert
* Fix recursive call
* Fix restrict by UUID
* Standardize import - re-opened PR (LorenFrankLab#1423)
* Auto-gen mapping doc
* Refactor SpyglassIngestion
* execute_inserts -> dry_run
* Handle inserts as dict for parts. Quiet ingest logging
* Minor edits
* Add load config
* Prevent prompt on equivalent entries. Always handle entries as dict
* Fix ingestion order
* Add DIOEvents
* Remove debug print
* Pluralize 'adjust_keys'. Add Raw
* Update changelog
* Fix tests
* Remove comment
* Apply suggestions from code review
Co-authored-by: Copilot <[email protected]>
* Apply suggestions from code review 2
* IntervalList.insert -> cautious_insert
* Fix recursive call
* Fix restrict by UUID
---------
Co-authored-by: Copilot <[email protected]>
* Revise based on code review
* `interval_name_from_tags` fallback
* WIP: fix boolean condition of index==0
* WIP: fix interval typing
* cleanup mixin merge
* rename to IngestionMixin and move to mixin folder
* fix import location
* update docs
* spelling fix
* change to SpyglassIngestion = SpyglassMixin + IngestionMixin
* update docs yaml
---------
Co-authored-by: CBroz1 <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Chris Broz <[email protected]>1 parent 33f30f2 commit b50fa85
File tree
28 files changed
+1743
-1125
lines changed- docs
- src
- Features
- ForDevelopers
- api
- src/spyglass
- common
- data_import
- spikesorting
- utils
- mixins
- tests
- common
- position/v1
28 files changed
+1743
-1125
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | 33 | | |
37 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
46 | 54 | | |
47 | 55 | | |
48 | 56 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| 82 | + | |
82 | 83 | | |
83 | 84 | | |
84 | 85 | | |
| |||
89 | 90 | | |
90 | 91 | | |
91 | 92 | | |
| 93 | + | |
92 | 94 | | |
93 | 95 | | |
94 | 96 | | |
| |||
127 | 129 | | |
128 | 130 | | |
129 | 131 | | |
| 132 | + | |
130 | 133 | | |
131 | 134 | | |
132 | 135 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
125 | 132 | | |
126 | 133 | | |
127 | 134 | | |
| |||
234 | 241 | | |
235 | 242 | | |
236 | 243 | | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
237 | 288 | | |
238 | 289 | | |
239 | 290 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
0 commit comments