Skip to content

Commit

Permalink
Add Suite2pSegmentationInterface (#460)
Browse files Browse the repository at this point in the history
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
garrettmflynn and pre-commit-ci[bot] authored Jan 9, 2024
1 parent d932295 commit e140dcc
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 0 deletions.
2 changes: 2 additions & 0 deletions guideGlobalMetadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
"AxonaRecordingInterface",
"VideoInterface",
"NeuralynxRecordingInterface",
"Suite2pSegmentationInterface",
"AlphaOmegaRecordingInterface",
"AlphaOmegaRecordingInterface",
"DeepLabCutInterface",
"SLEAPInterface",
Expand Down
37 changes: 37 additions & 0 deletions schemas/json/generated/Suite2pSegmentationInterface.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"required": [],
"properties": {
"Suite2pSegmentationInterface": {
"required": [
"folder_path"
],
"properties": {
"folder_path": {
"format": "directory",
"type": "string"
},
"combined": {
"type": "boolean",
"default": false
},
"plane_no": {
"type": "number",
"default": 0
},
"verbose": {
"type": "boolean",
"default": true
}
},
"type": "object",
"additionalProperties": false
}
},
"type": "object",
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "source.schema.json",
"title": "Source data schema",
"description": "Schema for the source data, files and directories",
"version": "0.1.0"
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ const propsToIgnore = [
"load_sync_channel",
"stream_id", // NOTE: May be desired for other interfaces
"nsx_override",
"combined",
"plane_no",
];

export class GuidedSourceDataPage extends ManagedPage {
Expand Down

0 comments on commit e140dcc

Please sign in to comment.