Skip to content

Commit

Permalink
Merge pull request #401 from NeurodataWithoutBorders/BrukerTiffMultiP…
Browse files Browse the repository at this point in the history
…laneImagingInterface

Add BrukerTiffMultiPlaneImagingInterface
  • Loading branch information
CodyCBakerPhD authored Sep 29, 2023
2 parents 703d069 + d4ed5da commit d60cbaa
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 0 deletions.
1 change: 1 addition & 0 deletions guideGlobalMetadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"KiloSortSortingInterface",
"Spike2RecordingInterface",
"BrukerTiffSinglePlaneImagingInterface",
"BrukerTiffMultiPlaneImagingInterface",
"MicroManagerTiffImagingInterface"
]
}
33 changes: 33 additions & 0 deletions schemas/json/generated/BrukerTiffMultiPlaneImagingInterface.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"required": [],
"properties": {
"BrukerTiffMultiPlaneImagingInterface": {
"required": [
"folder_path"
],
"properties": {
"folder_path": {
"format": "directory",
"type": "string",
"description": "The path that points to the folder containing the Bruker volumetric TIF image files and configuration files."
},
"stream_name": {
"type": "string"
},
"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 @@ -14,6 +14,7 @@ import CellExplorerSortingInterfaceSchema from "../../../../../../schemas/json/g
import KiloSortSortingInterfaceSchema from "../../../../../../schemas/json/generated/KiloSortSortingInterface.json";
import Spike2RecordingInterfaceSchema from "../../../../../../schemas/json/generated/Spike2RecordingInterface.json";
import BrukerTiffSinglePlaneImagingInterfaceSchema from "../../../../../../schemas/json/generated/BrukerTiffSinglePlaneImagingInterface.json";
import BrukerTiffMultiPlaneImagingInterfaceSchema from "../../../../../../schemas/json/generated/BrukerTiffMultiPlaneImagingInterface.json";
import MicroManagerTiffImagingInterfaceSchema from "../../../../../../schemas/json/generated/MicroManagerTiffImagingInterface.json";

export default {
Expand Down Expand Up @@ -56,6 +57,8 @@ globalStateCopy.schema.source_data.properties.Spike2RecordingInterface =
Spike2RecordingInterfaceSchema.properties.Spike2RecordingInterface;
globalStateCopy.schema.source_data.properties.BrukerTiffSinglePlaneImagingInterface =
BrukerTiffSinglePlaneImagingInterfaceSchema.properties.BrukerTiffSinglePlaneImagingInterface;
globalStateCopy.schema.source_data.properties.BrukerTiffMultiPlaneImagingInterface =
BrukerTiffMultiPlaneImagingInterfaceSchema.properties.BrukerTiffMultiPlaneImagingInterface;
globalStateCopy.schema.source_data.properties.MicroManagerTiffImagingInterface =
MicroManagerTiffImagingInterfaceSchema.properties.MicroManagerTiffImagingInterface;

Expand Down Expand Up @@ -161,6 +164,12 @@ BrukerTiffSinglePlaneImagingInterface.args = {
globalState: BrukerTiffSinglePlaneImagingInterfaceGlobalCopy,
};

export const BrukerTiffMultiPlaneImagingInterface = PageTemplate.bind({});
const BrukerTiffMultiPlaneImagingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState));
BrukerTiffMultiPlaneImagingInterfaceGlobalCopy.interfaces.interface = BrukerTiffMultiPlaneImagingInterface;
BrukerTiffMultiPlaneImagingInterfaceGlobalCopy.schema.source_data = BrukerTiffMultiPlaneImagingInterfaceSchema;
BrukerTiffMultiPlaneImagingInterface.args = { activePage, globalState: BrukerTiffMultiPlaneImagingInterfaceGlobalCopy };

export const MicroManagerTiffImagingInterface = PageTemplate.bind({});
const MicroManagerTiffImagingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState));
MicroManagerTiffImagingInterfaceGlobalCopy.interfaces.interface = MicroManagerTiffImagingInterface;
Expand Down

0 comments on commit d60cbaa

Please sign in to comment.