Skip to content

Commit 9cc92df

Browse files
authored
Merge pull request #1060 from NeurodataWithoutBorders/add-whitematter-recording-interface
Add WhiteMatterRecordingInterface
2 parents dc6f954 + 96592fe commit 9cc92df

49 files changed

Lines changed: 468 additions & 152 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,5 @@ src/build
4242

4343
# PyCharm
4444
.idea/
45+
46+
ophys_testing_data/

src/supported_interfaces.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,10 @@
2929
"PlexonRecordingInterface",
3030
"PlexonSortingInterface",
3131
"AxonaRecordingInterface",
32-
"VideoInterface",
32+
"ExternalVideoInterface",
3333
"NeuralynxRecordingInterface",
3434
"Suite2pSegmentationInterface",
3535
"AlphaOmegaRecordingInterface",
36-
"AlphaOmegaRecordingInterface",
3736
"DeepLabCutInterface",
3837
"SLEAPInterface",
3938
"FicTracDataInterface",
@@ -44,5 +43,6 @@
4443
"BrukerTiffSinglePlaneConverter",
4544
"BrukerTiffMultiPlaneConverter",
4645
"MiniscopeConverter",
47-
"CellExplorerRecordingInterface"
46+
"CellExplorerRecordingInterface",
47+
"WhiteMatterRecordingInterface"
4848
]

stories/inputs/interface_schemas/AlphaOmegaRecordingInterface.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
"AlphaOmegaRecordingInterface": {
55
"properties": {
66
"folder_path": {
7-
"format": "directory-path",
7+
"format": "path",
88
"type": "string",
99
"description": "Path to the folder of .mpx files."
1010
},
1111
"verbose": {
12-
"default": true,
12+
"default": false,
1313
"type": "boolean"
1414
},
1515
"es_key": {

stories/inputs/interface_schemas/AudioInterface.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"properties": {
66
"file_paths": {
77
"items": {
8-
"format": "file-path",
8+
"format": "path",
99
"type": "string"
1010
},
1111
"type": "array"

stories/inputs/interface_schemas/AxonaRecordingInterface.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
"AxonaRecordingInterface": {
55
"properties": {
66
"file_path": {
7-
"format": "file-path",
7+
"format": "path",
88
"type": "string",
99
"description": "Path to .bin file."
1010
},
1111
"verbose": {
12-
"default": true,
12+
"default": false,
1313
"type": "boolean"
1414
},
1515
"es_key": {

stories/inputs/interface_schemas/BiocamRecordingInterface.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
"BiocamRecordingInterface": {
55
"properties": {
66
"file_path": {
7-
"format": "file-path",
7+
"format": "path",
88
"type": "string",
99
"description": "Path to the .bwr file."
1010
},
1111
"verbose": {
12-
"default": true,
12+
"default": false,
1313
"type": "boolean"
1414
},
1515
"es_key": {

stories/inputs/interface_schemas/BlackrockRecordingInterface.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
"BlackrockRecordingInterface": {
55
"properties": {
66
"file_path": {
7-
"format": "file-path",
7+
"format": "path",
88
"type": "string",
99
"description": "Path to the Blackrock file with suffix being .ns1, .ns2, .ns3, .ns4m .ns4, or .ns6."
1010
},
1111
"nsx_override": {
1212
"anyOf": [
1313
{
14-
"format": "file-path",
14+
"format": "path",
1515
"type": "string"
1616
},
1717
{
@@ -21,7 +21,7 @@
2121
"default": null
2222
},
2323
"verbose": {
24-
"default": true,
24+
"default": false,
2525
"type": "boolean"
2626
},
2727
"es_key": {

stories/inputs/interface_schemas/BlackrockSortingInterface.json

Lines changed: 30 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,43 @@
44
"BlackrockSortingInterface": {
55
"properties": {
66
"file_path": {
7-
"format": "file-path",
7+
"format": "path",
88
"type": "string",
99
"description": "Path to Blackrock .nev file."
1010
},
1111
"sampling_frequency": {
12+
"anyOf": [
13+
{
14+
"type": "number"
15+
},
16+
{
17+
"type": "null"
18+
}
19+
],
1220
"default": null,
13-
"type": "number",
14-
"description": "The sampling frequency for the sorting extractor. When the signal data is available (.ncs) those files will be"
21+
"description": "The sampling frequency for the sorting extractor. When the signal data is available (.ncs) those files will be\nused to extract the frequency automatically. Otherwise, the sampling frequency needs to be specified for\nthis extractor to be initialized."
22+
},
23+
"nsx_to_load": {
24+
"anyOf": [
25+
{
26+
"type": "integer"
27+
},
28+
{
29+
"items": {},
30+
"type": "array"
31+
},
32+
{
33+
"type": "string"
34+
},
35+
{
36+
"type": "null"
37+
}
38+
],
39+
"default": null,
40+
"description": "IDs of nsX file from which to load data, e.g., if set to 5 only data from the ns5 file are loaded.\nIf 'all', then all nsX will be loaded. If None, all nsX files will be loaded. If empty list, no nsX files will be loaded."
1541
},
1642
"verbose": {
17-
"default": true,
43+
"default": false,
1844
"type": "boolean",
1945
"description": "Enables verbosity"
2046
}

stories/inputs/interface_schemas/BrukerTiffMultiPlaneConverter.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,11 @@
44
"BrukerTiffMultiPlaneConverter": {
55
"properties": {
66
"folder_path": {
7-
"format": "directory-path",
7+
"format": "path",
88
"type": "string",
99
"description": "The folder that contains the Bruker TIF image files (.ome.tif) and configuration files (.xml, .env)."
1010
},
1111
"plane_separation_type": {
12-
"default": null,
1312
"enum": [
1413
"disjoint",
1514
"contiguous"
@@ -22,7 +21,8 @@
2221
}
2322
},
2423
"required": [
25-
"folder_path"
24+
"folder_path",
25+
"plane_separation_type"
2626
],
2727
"type": "object",
2828
"additionalProperties": false

stories/inputs/interface_schemas/BrukerTiffMultiPlaneImagingInterface.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"BrukerTiffMultiPlaneImagingInterface": {
55
"properties": {
66
"folder_path": {
7-
"format": "directory-path",
7+
"format": "path",
88
"type": "string",
99
"description": "The folder that contains the Bruker TIF image files (.ome.tif) and configuration files (.xml, .env)."
1010
},
@@ -20,7 +20,7 @@
2020
"default": null
2121
},
2222
"verbose": {
23-
"default": true,
23+
"default": false,
2424
"type": "boolean"
2525
}
2626
},

0 commit comments

Comments
 (0)