From 60602c4ad3d6cea7fde33d757edce1e112b7f71d Mon Sep 17 00:00:00 2001 From: Garrett Michael Flynn Date: Tue, 4 Jun 2024 13:40:12 -0700 Subject: [PATCH 1/4] Generate all stories again given new descriptions --- .../AlphaOmegaRecordingInterface.json | 5 +- .../interface_schemas/AudioInterface.json | 2 +- .../AxonaRecordingInterface.json | 5 +- .../BiocamRecordingInterface.json | 5 +- .../BlackrockRecordingInterface.json | 4 +- .../BlackrockSortingInterface.json | 4 +- .../BrukerTiffMultiPlaneConverter.json | 5 +- .../BrukerTiffMultiPlaneImagingInterface.json | 4 +- .../BrukerTiffSinglePlaneConverter.json | 2 +- ...BrukerTiffSinglePlaneImagingInterface.json | 4 +- .../CaimanSegmentationInterface.json | 5 +- .../CellExplorerRecordingInterface.json | 4 +- .../CellExplorerSortingInterface.json | 2 +- .../CnmfeSegmentationInterface.json | 2 +- .../DeepLabCutInterface.json | 8 +- .../EDFRecordingInterface.json | 5 +- .../ExtractSegmentationInterface.json | 2 +- .../FicTracDataInterface.json | 5 +- .../IntanRecordingInterface.json | 8 +- .../KiloSortSortingInterface.json | 5 +- .../MCSRawRecordingInterface.json | 5 +- .../MEArecRecordingInterface.json | 5 +- .../MicroManagerTiffImagingInterface.json | 4 +- .../MiniscopeBehaviorInterface.json | 5 +- .../interface_schemas/MiniscopeConverter.json | 5 +- .../MiniscopeImagingInterface.json | 5 +- .../NeuralynxRecordingInterface.json | 5 +- .../NeuroScopeLFPInterface.json | 5 +- .../NeuroScopeRecordingInterface.json | 5 +- .../NeuroScopeSortingInterface.json | 14 +- .../OpenEphysRecordingInterface.json | 5 +- .../PhySortingInterface.json | 5 +- .../PlexonRecordingInterface.json | 5 +- .../PlexonSortingInterface.json | 5 +- .../interface_schemas/SLEAPInterface.json | 8 +- .../SbxImagingInterface.json | 2 +- .../ScanImageImagingInterface.json | 8 +- .../Spike2RecordingInterface.json | 4 +- .../SpikeGLXConverterPipe.json | 2 +- .../SpikeGLXNIDQInterface.json | 2 +- .../SpikeGLXRecordingInterface.json | 2 +- .../Suite2pSegmentationInterface.json | 15 +- .../TdtRecordingInterface.json | 2 +- .../TiffImagingInterface.json | 2 +- .../interface_schemas/VideoInterface.json | 2 +- stories/pages/SourceData.stories.js | 809 +++++++++--------- 46 files changed, 504 insertions(+), 518 deletions(-) diff --git a/stories/inputs/interface_schemas/AlphaOmegaRecordingInterface.json b/stories/inputs/interface_schemas/AlphaOmegaRecordingInterface.json index 420bf7378d..597696ddf7 100644 --- a/stories/inputs/interface_schemas/AlphaOmegaRecordingInterface.json +++ b/stories/inputs/interface_schemas/AlphaOmegaRecordingInterface.json @@ -8,7 +8,8 @@ "properties": { "folder_path": { "format": "directory", - "type": "string" + "type": "string", + "description": "Path to the folder of .mpx files." }, "verbose": { "type": "boolean", @@ -30,4 +31,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/inputs/interface_schemas/AudioInterface.json b/stories/inputs/interface_schemas/AudioInterface.json index 9ffca2ef0f..2be8cc6b19 100644 --- a/stories/inputs/interface_schemas/AudioInterface.json +++ b/stories/inputs/interface_schemas/AudioInterface.json @@ -25,4 +25,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/inputs/interface_schemas/AxonaRecordingInterface.json b/stories/inputs/interface_schemas/AxonaRecordingInterface.json index 3459b77b23..bb3cc57611 100644 --- a/stories/inputs/interface_schemas/AxonaRecordingInterface.json +++ b/stories/inputs/interface_schemas/AxonaRecordingInterface.json @@ -8,7 +8,8 @@ "properties": { "file_path": { "format": "file", - "type": "string" + "type": "string", + "description": "Path to .bin file." }, "verbose": { "type": "boolean", @@ -30,4 +31,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/inputs/interface_schemas/BiocamRecordingInterface.json b/stories/inputs/interface_schemas/BiocamRecordingInterface.json index 8d51c7b063..5ce0ab4270 100644 --- a/stories/inputs/interface_schemas/BiocamRecordingInterface.json +++ b/stories/inputs/interface_schemas/BiocamRecordingInterface.json @@ -8,7 +8,8 @@ "properties": { "file_path": { "format": "file", - "type": "string" + "type": "string", + "description": "Path to the .bwr file." }, "verbose": { "type": "boolean", @@ -30,4 +31,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/inputs/interface_schemas/BlackrockRecordingInterface.json b/stories/inputs/interface_schemas/BlackrockRecordingInterface.json index 415e95cc33..00c78406d1 100644 --- a/stories/inputs/interface_schemas/BlackrockRecordingInterface.json +++ b/stories/inputs/interface_schemas/BlackrockRecordingInterface.json @@ -8,7 +8,7 @@ "properties": { "file_path": { "format": "file", - "description": "Path to Blackrock file.", + "description": "Path to the Blackrock file with suffix being .ns1, .ns2, .ns3, .ns4m .ns4, or .ns6.", "type": "string" }, "nsx_override": { @@ -35,4 +35,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/inputs/interface_schemas/BlackrockSortingInterface.json b/stories/inputs/interface_schemas/BlackrockSortingInterface.json index da459b8245..3db9e086d7 100644 --- a/stories/inputs/interface_schemas/BlackrockSortingInterface.json +++ b/stories/inputs/interface_schemas/BlackrockSortingInterface.json @@ -8,7 +8,7 @@ "properties": { "file_path": { "format": "file", - "description": "Path to Blackrock file.", + "description": "Path to Blackrock .nev file.", "type": "string" }, "sampling_frequency": { @@ -32,4 +32,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/inputs/interface_schemas/BrukerTiffMultiPlaneConverter.json b/stories/inputs/interface_schemas/BrukerTiffMultiPlaneConverter.json index 48200f14ed..f32ce890ba 100644 --- a/stories/inputs/interface_schemas/BrukerTiffMultiPlaneConverter.json +++ b/stories/inputs/interface_schemas/BrukerTiffMultiPlaneConverter.json @@ -8,7 +8,8 @@ "properties": { "folder_path": { "format": "directory", - "type": "string" + "type": "string", + "description": "The folder that contains the Bruker TIF image files (.ome.tif) and configuration files (.xml, .env)." }, "plane_separation_type": { "enum": [ @@ -32,4 +33,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/inputs/interface_schemas/BrukerTiffMultiPlaneImagingInterface.json b/stories/inputs/interface_schemas/BrukerTiffMultiPlaneImagingInterface.json index a4383d1772..8bca7878d1 100644 --- a/stories/inputs/interface_schemas/BrukerTiffMultiPlaneImagingInterface.json +++ b/stories/inputs/interface_schemas/BrukerTiffMultiPlaneImagingInterface.json @@ -9,7 +9,7 @@ "folder_path": { "format": "directory", "type": "string", - "description": "The path that points to the folder containing the Bruker volumetric TIF image files and configuration files." + "description": "The folder that contains the Bruker TIF image files (.ome.tif) and configuration files (.xml, .env)." }, "stream_name": { "type": "string" @@ -30,4 +30,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/inputs/interface_schemas/BrukerTiffSinglePlaneConverter.json b/stories/inputs/interface_schemas/BrukerTiffSinglePlaneConverter.json index a4a52ec3e5..1b813f76de 100644 --- a/stories/inputs/interface_schemas/BrukerTiffSinglePlaneConverter.json +++ b/stories/inputs/interface_schemas/BrukerTiffSinglePlaneConverter.json @@ -26,4 +26,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/inputs/interface_schemas/BrukerTiffSinglePlaneImagingInterface.json b/stories/inputs/interface_schemas/BrukerTiffSinglePlaneImagingInterface.json index 844834ff9a..9717a52a3c 100644 --- a/stories/inputs/interface_schemas/BrukerTiffSinglePlaneImagingInterface.json +++ b/stories/inputs/interface_schemas/BrukerTiffSinglePlaneImagingInterface.json @@ -9,7 +9,7 @@ "folder_path": { "format": "directory", "type": "string", - "description": "The path that points to the folder containing the Bruker TIF image files and configuration files." + "description": "The folder containing the Bruker TIF image files and configuration files." }, "stream_name": { "type": "string" @@ -30,4 +30,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/inputs/interface_schemas/CaimanSegmentationInterface.json b/stories/inputs/interface_schemas/CaimanSegmentationInterface.json index db580d9a52..42509ea5b6 100644 --- a/stories/inputs/interface_schemas/CaimanSegmentationInterface.json +++ b/stories/inputs/interface_schemas/CaimanSegmentationInterface.json @@ -8,7 +8,8 @@ "properties": { "file_path": { "format": "file", - "type": "string" + "type": "string", + "description": "Path to .hdf5 file." }, "verbose": { "type": "boolean", @@ -26,4 +27,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/inputs/interface_schemas/CellExplorerRecordingInterface.json b/stories/inputs/interface_schemas/CellExplorerRecordingInterface.json index 1e4e944289..7edd701fe9 100644 --- a/stories/inputs/interface_schemas/CellExplorerRecordingInterface.json +++ b/stories/inputs/interface_schemas/CellExplorerRecordingInterface.json @@ -8,7 +8,7 @@ "properties": { "folder_path": { "format": "directory", - "description": "The folder where the session data is located. It should contain a\n`{folder.name}.session.mat` file and the binary files `{folder.name}.dat`\nor `{folder.name}.lfp` for the LFP interface.", + "description": "Folder containing the .session.mat file", "type": "string" }, "verbose": { @@ -32,4 +32,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/inputs/interface_schemas/CellExplorerSortingInterface.json b/stories/inputs/interface_schemas/CellExplorerSortingInterface.json index c51a65d4ee..e2cc689b17 100644 --- a/stories/inputs/interface_schemas/CellExplorerSortingInterface.json +++ b/stories/inputs/interface_schemas/CellExplorerSortingInterface.json @@ -26,4 +26,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/inputs/interface_schemas/CnmfeSegmentationInterface.json b/stories/inputs/interface_schemas/CnmfeSegmentationInterface.json index 381a6c3a7c..81006ec6d7 100644 --- a/stories/inputs/interface_schemas/CnmfeSegmentationInterface.json +++ b/stories/inputs/interface_schemas/CnmfeSegmentationInterface.json @@ -26,4 +26,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/inputs/interface_schemas/DeepLabCutInterface.json b/stories/inputs/interface_schemas/DeepLabCutInterface.json index 29cbcd0bdf..cf5c37c7c0 100644 --- a/stories/inputs/interface_schemas/DeepLabCutInterface.json +++ b/stories/inputs/interface_schemas/DeepLabCutInterface.json @@ -9,11 +9,13 @@ "properties": { "file_path": { "format": "file", - "type": "string" + "type": "string", + "description": "Path to the .h5 file output by dlc." }, "config_file_path": { "format": "file", - "type": "string" + "type": "string", + "description": "Path to .yml config file" }, "subject_name": { "type": "string", @@ -35,4 +37,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/inputs/interface_schemas/EDFRecordingInterface.json b/stories/inputs/interface_schemas/EDFRecordingInterface.json index 0caa4372dc..fff3b1fe74 100644 --- a/stories/inputs/interface_schemas/EDFRecordingInterface.json +++ b/stories/inputs/interface_schemas/EDFRecordingInterface.json @@ -8,7 +8,8 @@ "properties": { "file_path": { "format": "file", - "type": "string" + "type": "string", + "description": "Path to the .edf file." }, "verbose": { "type": "boolean", @@ -30,4 +31,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/inputs/interface_schemas/ExtractSegmentationInterface.json b/stories/inputs/interface_schemas/ExtractSegmentationInterface.json index 6d488ff38a..993d64284e 100644 --- a/stories/inputs/interface_schemas/ExtractSegmentationInterface.json +++ b/stories/inputs/interface_schemas/ExtractSegmentationInterface.json @@ -33,4 +33,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/inputs/interface_schemas/FicTracDataInterface.json b/stories/inputs/interface_schemas/FicTracDataInterface.json index a04818bf73..b0773ebeef 100644 --- a/stories/inputs/interface_schemas/FicTracDataInterface.json +++ b/stories/inputs/interface_schemas/FicTracDataInterface.json @@ -8,7 +8,8 @@ "properties": { "file_path": { "format": "file", - "type": "string" + "type": "string", + "description": "Path to the .dat file (the output of fictrac)" }, "radius": { "type": "number" @@ -33,4 +34,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/inputs/interface_schemas/IntanRecordingInterface.json b/stories/inputs/interface_schemas/IntanRecordingInterface.json index 07904ada2e..fb0cf8d592 100644 --- a/stories/inputs/interface_schemas/IntanRecordingInterface.json +++ b/stories/inputs/interface_schemas/IntanRecordingInterface.json @@ -8,11 +8,11 @@ "properties": { "file_path": { "format": "file", - "type": "string" + "type": "string", + "description": "Path to either a .rhd or a .rhs file" }, "stream_id": { - "type": "string", - "default": "0" + "type": "string" }, "verbose": { "type": "boolean", @@ -34,4 +34,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/inputs/interface_schemas/KiloSortSortingInterface.json b/stories/inputs/interface_schemas/KiloSortSortingInterface.json index a31d22b750..8799b8132d 100644 --- a/stories/inputs/interface_schemas/KiloSortSortingInterface.json +++ b/stories/inputs/interface_schemas/KiloSortSortingInterface.json @@ -8,7 +8,8 @@ "properties": { "folder_path": { "format": "directory", - "type": "string" + "type": "string", + "description": "Path to the output Phy folder (containing the params.py)" }, "keep_good_only": { "type": "boolean", @@ -30,4 +31,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/inputs/interface_schemas/MCSRawRecordingInterface.json b/stories/inputs/interface_schemas/MCSRawRecordingInterface.json index 872b4e85c1..53bfeb9c77 100644 --- a/stories/inputs/interface_schemas/MCSRawRecordingInterface.json +++ b/stories/inputs/interface_schemas/MCSRawRecordingInterface.json @@ -8,7 +8,8 @@ "properties": { "file_path": { "format": "file", - "type": "string" + "type": "string", + "description": "Path to the .raw file." }, "verbose": { "type": "boolean", @@ -30,4 +31,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/inputs/interface_schemas/MEArecRecordingInterface.json b/stories/inputs/interface_schemas/MEArecRecordingInterface.json index b2a4df0110..c29c7f18e0 100644 --- a/stories/inputs/interface_schemas/MEArecRecordingInterface.json +++ b/stories/inputs/interface_schemas/MEArecRecordingInterface.json @@ -8,7 +8,8 @@ "properties": { "file_path": { "format": "file", - "type": "string" + "type": "string", + "description": "Path to the MEArec .h5 file." }, "verbose": { "type": "boolean", @@ -30,4 +31,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/inputs/interface_schemas/MicroManagerTiffImagingInterface.json b/stories/inputs/interface_schemas/MicroManagerTiffImagingInterface.json index fb0cd88769..77674f61e9 100644 --- a/stories/inputs/interface_schemas/MicroManagerTiffImagingInterface.json +++ b/stories/inputs/interface_schemas/MicroManagerTiffImagingInterface.json @@ -9,7 +9,7 @@ "folder_path": { "format": "directory", "type": "string", - "description": "The path that points to the folder containing the OME-TIF image files." + "description": "The folder containing the OME-TIF image files." }, "verbose": { "type": "boolean", @@ -27,4 +27,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/inputs/interface_schemas/MiniscopeBehaviorInterface.json b/stories/inputs/interface_schemas/MiniscopeBehaviorInterface.json index 467086c405..244d3a8dc8 100644 --- a/stories/inputs/interface_schemas/MiniscopeBehaviorInterface.json +++ b/stories/inputs/interface_schemas/MiniscopeBehaviorInterface.json @@ -8,7 +8,8 @@ "properties": { "folder_path": { "format": "directory", - "type": "string" + "type": "string", + "description": "The main Miniscope folder. The movie files are expected to be in sub folders within the main folder." } }, "type": "object", @@ -22,4 +23,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/inputs/interface_schemas/MiniscopeConverter.json b/stories/inputs/interface_schemas/MiniscopeConverter.json index 392e08169b..d36c738312 100644 --- a/stories/inputs/interface_schemas/MiniscopeConverter.json +++ b/stories/inputs/interface_schemas/MiniscopeConverter.json @@ -8,7 +8,8 @@ "properties": { "folder_path": { "format": "directory", - "type": "string" + "type": "string", + "description": "The path to the main Miniscope folder." }, "verbose": { "type": "boolean", @@ -26,4 +27,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/inputs/interface_schemas/MiniscopeImagingInterface.json b/stories/inputs/interface_schemas/MiniscopeImagingInterface.json index 33171beb59..2792e9a5a6 100644 --- a/stories/inputs/interface_schemas/MiniscopeImagingInterface.json +++ b/stories/inputs/interface_schemas/MiniscopeImagingInterface.json @@ -8,7 +8,8 @@ "properties": { "folder_path": { "format": "directory", - "type": "string" + "type": "string", + "description": "The main Miniscope folder. The microscope movie files are expected to be in sub folders within the main folder." } }, "type": "object", @@ -22,4 +23,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/inputs/interface_schemas/NeuralynxRecordingInterface.json b/stories/inputs/interface_schemas/NeuralynxRecordingInterface.json index dfd28cadaa..6928d94f92 100644 --- a/stories/inputs/interface_schemas/NeuralynxRecordingInterface.json +++ b/stories/inputs/interface_schemas/NeuralynxRecordingInterface.json @@ -8,7 +8,8 @@ "properties": { "folder_path": { "format": "directory", - "type": "string" + "type": "string", + "description": "Path to Neuralynx directory containing \".nse\", \".ntt\", \".nse\", or \".nev\" files." }, "stream_name": { "type": "string" @@ -33,4 +34,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/inputs/interface_schemas/NeuroScopeLFPInterface.json b/stories/inputs/interface_schemas/NeuroScopeLFPInterface.json index d42a885ab0..04eae8031e 100644 --- a/stories/inputs/interface_schemas/NeuroScopeLFPInterface.json +++ b/stories/inputs/interface_schemas/NeuroScopeLFPInterface.json @@ -8,7 +8,8 @@ "properties": { "file_path": { "format": "file", - "type": "string" + "type": "string", + "description": "Path to .lfp or .eeg file." }, "gain": { "type": "number" @@ -29,4 +30,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/inputs/interface_schemas/NeuroScopeRecordingInterface.json b/stories/inputs/interface_schemas/NeuroScopeRecordingInterface.json index 3e95a33d07..762672589b 100644 --- a/stories/inputs/interface_schemas/NeuroScopeRecordingInterface.json +++ b/stories/inputs/interface_schemas/NeuroScopeRecordingInterface.json @@ -8,7 +8,8 @@ "properties": { "file_path": { "format": "file", - "type": "string" + "type": "string", + "description": "Path to .dat file." }, "gain": { "type": "number" @@ -37,4 +38,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/inputs/interface_schemas/NeuroScopeSortingInterface.json b/stories/inputs/interface_schemas/NeuroScopeSortingInterface.json index 680fcbce92..65957ad236 100644 --- a/stories/inputs/interface_schemas/NeuroScopeSortingInterface.json +++ b/stories/inputs/interface_schemas/NeuroScopeSortingInterface.json @@ -8,18 +8,22 @@ "properties": { "folder_path": { "format": "directory", - "type": "string" + "type": "string", + "description": "Path to folder containing .res and .clu files." }, "keep_mua_units": { "type": "boolean", - "default": true + "default": true, + "description": "Whether to return sorted spikes from multi-unit activity." }, "exclude_shanks": { - "type": "array" + "type": "array", + "description": "List of indices to ignore." }, "xml_file_path": { "format": "file", - "type": "string" + "type": "string", + "description": "Path to .xml file containing device and electrode configuration." }, "verbose": { "type": "boolean", @@ -37,4 +41,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/inputs/interface_schemas/OpenEphysRecordingInterface.json b/stories/inputs/interface_schemas/OpenEphysRecordingInterface.json index df1202bc20..d0c142efef 100644 --- a/stories/inputs/interface_schemas/OpenEphysRecordingInterface.json +++ b/stories/inputs/interface_schemas/OpenEphysRecordingInterface.json @@ -8,7 +8,8 @@ "properties": { "folder_path": { "format": "directory", - "type": "string" + "type": "string", + "description": "Path to OpenEphys directory (.continuous or .dat files)." }, "stream_name": { "type": "string" @@ -36,4 +37,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/inputs/interface_schemas/PhySortingInterface.json b/stories/inputs/interface_schemas/PhySortingInterface.json index a1c9e140b1..8371aca2bf 100644 --- a/stories/inputs/interface_schemas/PhySortingInterface.json +++ b/stories/inputs/interface_schemas/PhySortingInterface.json @@ -8,7 +8,8 @@ "properties": { "folder_path": { "format": "directory", - "type": "string" + "type": "string", + "description": "Path to the output Phy folder (containing the params.py)." }, "exclude_cluster_groups": { "type": "array", @@ -32,4 +33,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/inputs/interface_schemas/PlexonRecordingInterface.json b/stories/inputs/interface_schemas/PlexonRecordingInterface.json index 98fbba8242..be9a910aa4 100644 --- a/stories/inputs/interface_schemas/PlexonRecordingInterface.json +++ b/stories/inputs/interface_schemas/PlexonRecordingInterface.json @@ -8,7 +8,8 @@ "properties": { "file_path": { "format": "file", - "type": "string" + "type": "string", + "description": "Path to the .plx file." }, "verbose": { "type": "boolean", @@ -30,4 +31,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/inputs/interface_schemas/PlexonSortingInterface.json b/stories/inputs/interface_schemas/PlexonSortingInterface.json index 7d7963c401..c55df73046 100644 --- a/stories/inputs/interface_schemas/PlexonSortingInterface.json +++ b/stories/inputs/interface_schemas/PlexonSortingInterface.json @@ -8,7 +8,8 @@ "properties": { "file_path": { "format": "file", - "type": "string" + "type": "string", + "description": "Path to the plexon spiking data (.plx file)." }, "verbose": { "type": "boolean", @@ -26,4 +27,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/inputs/interface_schemas/SLEAPInterface.json b/stories/inputs/interface_schemas/SLEAPInterface.json index 57242afdc3..e86ce424a2 100644 --- a/stories/inputs/interface_schemas/SLEAPInterface.json +++ b/stories/inputs/interface_schemas/SLEAPInterface.json @@ -8,11 +8,13 @@ "properties": { "file_path": { "format": "file", - "type": "string" + "type": "string", + "description": "Path to the .slp file (the output of sleap)" }, "video_file_path": { "format": "file", - "type": "string" + "type": "string", + "description": "Path of the video for extracting timestamps (optional)." }, "verbose": { "type": "boolean", @@ -33,4 +35,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/inputs/interface_schemas/SbxImagingInterface.json b/stories/inputs/interface_schemas/SbxImagingInterface.json index d02d2c0e74..8b97044b02 100644 --- a/stories/inputs/interface_schemas/SbxImagingInterface.json +++ b/stories/inputs/interface_schemas/SbxImagingInterface.json @@ -29,4 +29,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/inputs/interface_schemas/ScanImageImagingInterface.json b/stories/inputs/interface_schemas/ScanImageImagingInterface.json index 71b3cb59a1..0b2c0cffd8 100644 --- a/stories/inputs/interface_schemas/ScanImageImagingInterface.json +++ b/stories/inputs/interface_schemas/ScanImageImagingInterface.json @@ -11,6 +11,12 @@ "type": "string", "description": "Path to Tiff file." }, + "channel_name": { + "type": "string" + }, + "plane_name": { + "type": "string" + }, "fallback_sampling_frequency": { "type": "number" }, @@ -30,4 +36,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/inputs/interface_schemas/Spike2RecordingInterface.json b/stories/inputs/interface_schemas/Spike2RecordingInterface.json index e9bf8f6b1a..1f561d8552 100644 --- a/stories/inputs/interface_schemas/Spike2RecordingInterface.json +++ b/stories/inputs/interface_schemas/Spike2RecordingInterface.json @@ -8,7 +8,7 @@ "properties": { "file_path": { "format": "file", - "description": "Path to CED data file.", + "description": "Path to .smr or .smrx file.", "type": "string" }, "verbose": { @@ -31,4 +31,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/inputs/interface_schemas/SpikeGLXConverterPipe.json b/stories/inputs/interface_schemas/SpikeGLXConverterPipe.json index 4b2fb1eae9..dd6a4e9cda 100644 --- a/stories/inputs/interface_schemas/SpikeGLXConverterPipe.json +++ b/stories/inputs/interface_schemas/SpikeGLXConverterPipe.json @@ -28,4 +28,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/inputs/interface_schemas/SpikeGLXNIDQInterface.json b/stories/inputs/interface_schemas/SpikeGLXNIDQInterface.json index 0903b15800..9aea153710 100644 --- a/stories/inputs/interface_schemas/SpikeGLXNIDQInterface.json +++ b/stories/inputs/interface_schemas/SpikeGLXNIDQInterface.json @@ -37,4 +37,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/inputs/interface_schemas/SpikeGLXRecordingInterface.json b/stories/inputs/interface_schemas/SpikeGLXRecordingInterface.json index fe04f74eea..1e3565f2ca 100644 --- a/stories/inputs/interface_schemas/SpikeGLXRecordingInterface.json +++ b/stories/inputs/interface_schemas/SpikeGLXRecordingInterface.json @@ -31,4 +31,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/inputs/interface_schemas/Suite2pSegmentationInterface.json b/stories/inputs/interface_schemas/Suite2pSegmentationInterface.json index f0e101c813..2c34480e34 100644 --- a/stories/inputs/interface_schemas/Suite2pSegmentationInterface.json +++ b/stories/inputs/interface_schemas/Suite2pSegmentationInterface.json @@ -8,13 +8,15 @@ "properties": { "folder_path": { "format": "directory", - "type": "string" + "type": "string", + "description": "Path to the folder containing Suite2p segmentation data. Should contain 'plane#' subfolder(s)." }, "channel_name": { "type": "string" }, "plane_name": { - "type": "string" + "type": "string", + "description": "The name of the plane to load. This interface only loads one plane at a time. Use the full name, e.g. 'plane0'. If this value is omitted, the first plane found will be loaded." }, "plane_segmentation_name": { "type": "string" @@ -22,13 +24,6 @@ "verbose": { "type": "boolean", "default": true - }, - "combined": { - "type": "boolean", - "default": false - }, - "plane_no": { - "type": "number" } }, "type": "object", @@ -42,4 +37,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/inputs/interface_schemas/TdtRecordingInterface.json b/stories/inputs/interface_schemas/TdtRecordingInterface.json index d48e0f968e..6ea7b38dc1 100644 --- a/stories/inputs/interface_schemas/TdtRecordingInterface.json +++ b/stories/inputs/interface_schemas/TdtRecordingInterface.json @@ -38,4 +38,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/inputs/interface_schemas/TiffImagingInterface.json b/stories/inputs/interface_schemas/TiffImagingInterface.json index 036de528ab..0cce7efa66 100644 --- a/stories/inputs/interface_schemas/TiffImagingInterface.json +++ b/stories/inputs/interface_schemas/TiffImagingInterface.json @@ -31,4 +31,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/inputs/interface_schemas/VideoInterface.json b/stories/inputs/interface_schemas/VideoInterface.json index 259c53a3da..99abd0068f 100644 --- a/stories/inputs/interface_schemas/VideoInterface.json +++ b/stories/inputs/interface_schemas/VideoInterface.json @@ -25,4 +25,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/pages/SourceData.stories.js b/stories/pages/SourceData.stories.js index 841007cf22..ec92334040 100644 --- a/stories/pages/SourceData.stories.js +++ b/stories/pages/SourceData.stories.js @@ -1,426 +1,383 @@ -import { globalState, PageTemplate } from "./storyStates"; -import SpikeGLXRecordingInterfaceSchema from "../inputs/interface_schemas/SpikeGLXRecordingInterface.json"; -import SpikeGLXNIDQInterfaceSchema from "../inputs/interface_schemas/SpikeGLXNIDQInterface.json"; -import PhySortingInterfaceSchema from "../inputs/interface_schemas/PhySortingInterface.json"; -import NeuroScopeRecordingInterfaceSchema from "../inputs/interface_schemas/NeuroScopeRecordingInterface.json"; -import NeuroScopeLFPInterfaceSchema from "../inputs/interface_schemas/NeuroScopeLFPInterface.json"; -import NeuroScopeSortingInterfaceSchema from "../inputs/interface_schemas/NeuroScopeSortingInterface.json"; -import BiocamRecordingInterfaceSchema from "../inputs/interface_schemas/BiocamRecordingInterface.json"; -import IntanRecordingInterfaceSchema from "../inputs/interface_schemas/IntanRecordingInterface.json"; -import OpenEphysRecordingInterfaceSchema from "../inputs/interface_schemas/OpenEphysRecordingInterface.json"; -import BlackrockRecordingInterfaceSchema from "../inputs/interface_schemas/BlackrockRecordingInterface.json"; -import BlackrockSortingInterfaceSchema from "../inputs/interface_schemas/BlackrockSortingInterface.json"; -import CellExplorerSortingInterfaceSchema from "../inputs/interface_schemas/CellExplorerSortingInterface.json"; -import KiloSortSortingInterfaceSchema from "../inputs/interface_schemas/KiloSortSortingInterface.json"; -import TdtRecordingInterfaceSchema from "../inputs/interface_schemas/TdtRecordingInterface.json"; -import Spike2RecordingInterfaceSchema from "../inputs/interface_schemas/Spike2RecordingInterface.json"; -import BrukerTiffSinglePlaneImagingInterfaceSchema from "../inputs/interface_schemas/BrukerTiffSinglePlaneImagingInterface.json"; -import ExtractSegmentationInterfaceSchema from "../inputs/interface_schemas/ExtractSegmentationInterface.json"; -import CnmfeSegmentationInterfaceSchema from "../inputs/interface_schemas/CnmfeSegmentationInterface.json"; -import BrukerTiffMultiPlaneImagingInterfaceSchema from "../inputs/interface_schemas/BrukerTiffMultiPlaneImagingInterface.json"; -import MicroManagerTiffImagingInterfaceSchema from "../inputs/interface_schemas/MicroManagerTiffImagingInterface.json"; -import ScanImageImagingInterfaceSchema from "../inputs/interface_schemas/ScanImageImagingInterface.json"; -import TiffImagingInterfaceSchema from "../inputs/interface_schemas/TiffImagingInterface.json"; -import MiniscopeImagingInterfaceSchema from "../inputs/interface_schemas/MiniscopeImagingInterface.json"; -import SbxImagingInterfaceSchema from "../inputs/interface_schemas/SbxImagingInterface.json"; -import CaimanSegmentationInterfaceSchema from "../inputs/interface_schemas/CaimanSegmentationInterface.json"; -import MCSRawRecordingInterfaceSchema from "../inputs/interface_schemas/MCSRawRecordingInterface.json"; -import MEArecRecordingInterfaceSchema from "../inputs/interface_schemas/MEArecRecordingInterface.json"; -import PlexonRecordingInterfaceSchema from "../inputs/interface_schemas/PlexonRecordingInterface.json"; -import PlexonSortingInterfaceSchema from "../inputs/interface_schemas/PlexonSortingInterface.json"; -import AxonaRecordingInterfaceSchema from "../inputs/interface_schemas/AxonaRecordingInterface.json"; -import VideoInterfaceSchema from "../inputs/interface_schemas/VideoInterface.json"; -import NeuralynxRecordingInterfaceSchema from "../inputs/interface_schemas/NeuralynxRecordingInterface.json"; -import Suite2pSegmentationInterfaceSchema from "../inputs/interface_schemas/Suite2pSegmentationInterface.json"; -import AlphaOmegaRecordingInterfaceSchema from "../inputs/interface_schemas/AlphaOmegaRecordingInterface.json"; -import DeepLabCutInterfaceSchema from "../inputs/interface_schemas/DeepLabCutInterface.json"; -import SLEAPInterfaceSchema from "../inputs/interface_schemas/SLEAPInterface.json"; -import FicTracDataInterfaceSchema from "../inputs/interface_schemas/FicTracDataInterface.json"; -import AudioInterfaceSchema from "../inputs/interface_schemas/AudioInterface.json"; -import MiniscopeBehaviorInterfaceSchema from "../inputs/interface_schemas/MiniscopeBehaviorInterface.json"; -import EDFRecordingInterfaceSchema from "../inputs/interface_schemas/EDFRecordingInterface.json"; -import SpikeGLXConverterPipeSchema from "../inputs/interface_schemas/SpikeGLXConverterPipe.json"; -import BrukerTiffSinglePlaneConverterSchema from "../inputs/interface_schemas/BrukerTiffSinglePlaneConverter.json"; -import BrukerTiffMultiPlaneConverterSchema from "../inputs/interface_schemas/BrukerTiffMultiPlaneConverter.json"; -import MiniscopeConverterSchema from "../inputs/interface_schemas/MiniscopeConverter.json"; -import CellExplorerRecordingInterfaceSchema from "../inputs/interface_schemas/CellExplorerRecordingInterface.json"; - -export default { - title: "Pages/Guided Mode/Source Data", - parameters: { - chromatic: { disableSnapshot: false }, - }, -}; - -const activePage = "//sourcedata"; - -const globalStateCopy = JSON.parse(JSON.stringify(globalState)); -globalStateCopy.schema.source_data.properties.SpikeGLXRecordingInterface = - SpikeGLXRecordingInterfaceSchema.properties.SpikeGLXRecordingInterface; -globalStateCopy.schema.source_data.properties.SpikeGLXNIDQInterface = - SpikeGLXNIDQInterfaceSchema.properties.SpikeGLXNIDQInterface; -globalStateCopy.schema.source_data.properties.PhySortingInterface = - PhySortingInterfaceSchema.properties.PhySortingInterface; -globalStateCopy.schema.source_data.properties.NeuroScopeRecordingInterface = - NeuroScopeRecordingInterfaceSchema.properties.NeuroScopeRecordingInterface; -globalStateCopy.schema.source_data.properties.NeuroScopeLFPInterface = - NeuroScopeLFPInterfaceSchema.properties.NeuroScopeLFPInterface; -globalStateCopy.schema.source_data.properties.NeuroScopeSortingInterface = - NeuroScopeSortingInterfaceSchema.properties.NeuroScopeSortingInterface; -globalStateCopy.schema.source_data.properties.BiocamRecordingInterface = - BiocamRecordingInterfaceSchema.properties.BiocamRecordingInterface; -globalStateCopy.schema.source_data.properties.IntanRecordingInterface = - IntanRecordingInterfaceSchema.properties.IntanRecordingInterface; -globalStateCopy.schema.source_data.properties.OpenEphysRecordingInterface = - OpenEphysRecordingInterfaceSchema.properties.OpenEphysRecordingInterface; -globalStateCopy.schema.source_data.properties.BlackrockRecordingInterface = - BlackrockRecordingInterfaceSchema.properties.BlackrockRecordingInterface; -globalStateCopy.schema.source_data.properties.BlackrockSortingInterface = - BlackrockSortingInterfaceSchema.properties.BlackrockSortingInterface; -globalStateCopy.schema.source_data.properties.CellExplorerSortingInterface = - CellExplorerSortingInterfaceSchema.properties.CellExplorerSortingInterface; -globalStateCopy.schema.source_data.properties.KiloSortSortingInterface = - KiloSortSortingInterfaceSchema.properties.KiloSortSortingInterface; -globalStateCopy.schema.source_data.properties.TdtRecordingInterface = - TdtRecordingInterfaceSchema.properties.TdtRecordingInterface; -globalStateCopy.schema.source_data.properties.Spike2RecordingInterface = - Spike2RecordingInterfaceSchema.properties.Spike2RecordingInterface; -globalStateCopy.schema.source_data.properties.BrukerTiffSinglePlaneImagingInterface = - BrukerTiffSinglePlaneImagingInterfaceSchema.properties.BrukerTiffSinglePlaneImagingInterface; -globalStateCopy.schema.source_data.properties.ExtractSegmentationInterface = - ExtractSegmentationInterfaceSchema.properties.ExtractSegmentationInterface; -globalStateCopy.schema.source_data.properties.CnmfeSegmentationInterface = - CnmfeSegmentationInterfaceSchema.properties.CnmfeSegmentationInterface; -globalStateCopy.schema.source_data.properties.BrukerTiffMultiPlaneImagingInterface = - BrukerTiffMultiPlaneImagingInterfaceSchema.properties.BrukerTiffMultiPlaneImagingInterface; -globalStateCopy.schema.source_data.properties.MicroManagerTiffImagingInterface = - MicroManagerTiffImagingInterfaceSchema.properties.MicroManagerTiffImagingInterface; -globalStateCopy.schema.source_data.properties.ScanImageImagingInterface = - ScanImageImagingInterfaceSchema.properties.ScanImageImagingInterface; -globalStateCopy.schema.source_data.properties.TiffImagingInterface = - TiffImagingInterfaceSchema.properties.TiffImagingInterface; -globalStateCopy.schema.source_data.properties.MiniscopeImagingInterface = - MiniscopeImagingInterfaceSchema.properties.MiniscopeImagingInterface; -globalStateCopy.schema.source_data.properties.SbxImagingInterface = - SbxImagingInterfaceSchema.properties.SbxImagingInterface; -globalStateCopy.schema.source_data.properties.CaimanSegmentationInterface = - CaimanSegmentationInterfaceSchema.properties.CaimanSegmentationInterface; -globalStateCopy.schema.source_data.properties.MCSRawRecordingInterface = - MCSRawRecordingInterfaceSchema.properties.MCSRawRecordingInterface; -globalStateCopy.schema.source_data.properties.MEArecRecordingInterface = - MEArecRecordingInterfaceSchema.properties.MEArecRecordingInterface; -globalStateCopy.schema.source_data.properties.PlexonRecordingInterface = - PlexonRecordingInterfaceSchema.properties.PlexonRecordingInterface; -globalStateCopy.schema.source_data.properties.PlexonSortingInterface = - PlexonSortingInterfaceSchema.properties.PlexonSortingInterface; -globalStateCopy.schema.source_data.properties.AxonaRecordingInterface = - AxonaRecordingInterfaceSchema.properties.AxonaRecordingInterface; -globalStateCopy.schema.source_data.properties.VideoInterface = VideoInterfaceSchema.properties.VideoInterface; -globalStateCopy.schema.source_data.properties.NeuralynxRecordingInterface = - NeuralynxRecordingInterfaceSchema.properties.NeuralynxRecordingInterface; -globalStateCopy.schema.source_data.properties.Suite2pSegmentationInterface = - Suite2pSegmentationInterfaceSchema.properties.Suite2pSegmentationInterface; -globalStateCopy.schema.source_data.properties.AlphaOmegaRecordingInterface = - AlphaOmegaRecordingInterfaceSchema.properties.AlphaOmegaRecordingInterface; -globalStateCopy.schema.source_data.properties.DeepLabCutInterface = - DeepLabCutInterfaceSchema.properties.DeepLabCutInterface; -globalStateCopy.schema.source_data.properties.SLEAPInterface = SLEAPInterfaceSchema.properties.SLEAPInterface; -globalStateCopy.schema.source_data.properties.FicTracDataInterface = - FicTracDataInterfaceSchema.properties.FicTracDataInterface; -globalStateCopy.schema.source_data.properties.AudioInterface = AudioInterfaceSchema.properties.AudioInterface; -globalStateCopy.schema.source_data.properties.MiniscopeBehaviorInterface = - MiniscopeBehaviorInterfaceSchema.properties.MiniscopeBehaviorInterface; -globalStateCopy.schema.source_data.properties.EDFRecordingInterface = - EDFRecordingInterfaceSchema.properties.EDFRecordingInterface; -globalStateCopy.schema.source_data.properties.SpikeGLXConverterPipe = - SpikeGLXConverterPipeSchema.properties.SpikeGLXConverterPipe; -globalStateCopy.schema.source_data.properties.BrukerTiffSinglePlaneConverter = - BrukerTiffSinglePlaneConverterSchema.properties.BrukerTiffSinglePlaneConverter; -globalStateCopy.schema.source_data.properties.BrukerTiffMultiPlaneConverter = - BrukerTiffMultiPlaneConverterSchema.properties.BrukerTiffMultiPlaneConverter; -globalStateCopy.schema.source_data.properties.MiniscopeConverter = - MiniscopeConverterSchema.properties.MiniscopeConverter; -globalStateCopy.schema.source_data.properties.CellExplorerRecordingInterface = - CellExplorerRecordingInterfaceSchema.properties.CellExplorerRecordingInterface; - -const results = globalStateCopy.results; -for (let sub in results) { - for (let ses in results[sub]) - results[sub][ses].source_data = { SpikeGLXNIDQInterface: { file_path: "/dummy/file/path" } }; -} - -export const All = PageTemplate.bind({}); -All.args = { activePage, globalState: globalStateCopy }; - -export const SpikeGLXRecordingInterface = PageTemplate.bind({}); -const SpikeGLXRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); -SpikeGLXRecordingInterfaceGlobalCopy.interfaces.interface = SpikeGLXRecordingInterface; -SpikeGLXRecordingInterfaceGlobalCopy.schema.source_data = SpikeGLXRecordingInterfaceSchema; -SpikeGLXRecordingInterface.args = { activePage, globalState: SpikeGLXRecordingInterfaceGlobalCopy }; - -export const SpikeGLXNIDQInterface = PageTemplate.bind({}); -const SpikeGLXNIDQInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); -SpikeGLXNIDQInterfaceGlobalCopy.interfaces.interface = SpikeGLXNIDQInterface; -SpikeGLXNIDQInterfaceGlobalCopy.schema.source_data = SpikeGLXNIDQInterfaceSchema; -SpikeGLXNIDQInterface.args = { activePage, globalState: SpikeGLXNIDQInterfaceGlobalCopy }; - -export const PhySortingInterface = PageTemplate.bind({}); -const PhySortingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); -PhySortingInterfaceGlobalCopy.interfaces.interface = PhySortingInterface; -PhySortingInterfaceGlobalCopy.schema.source_data = PhySortingInterfaceSchema; -PhySortingInterface.args = { activePage, globalState: PhySortingInterfaceGlobalCopy }; - -export const NeuroScopeRecordingInterface = PageTemplate.bind({}); -const NeuroScopeRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); -NeuroScopeRecordingInterfaceGlobalCopy.interfaces.interface = NeuroScopeRecordingInterface; -NeuroScopeRecordingInterfaceGlobalCopy.schema.source_data = NeuroScopeRecordingInterfaceSchema; -NeuroScopeRecordingInterface.args = { activePage, globalState: NeuroScopeRecordingInterfaceGlobalCopy }; - -export const NeuroScopeLFPInterface = PageTemplate.bind({}); -const NeuroScopeLFPInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); -NeuroScopeLFPInterfaceGlobalCopy.interfaces.interface = NeuroScopeLFPInterface; -NeuroScopeLFPInterfaceGlobalCopy.schema.source_data = NeuroScopeLFPInterfaceSchema; -NeuroScopeLFPInterface.args = { activePage, globalState: NeuroScopeLFPInterfaceGlobalCopy }; - -export const NeuroScopeSortingInterface = PageTemplate.bind({}); -const NeuroScopeSortingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); -NeuroScopeSortingInterfaceGlobalCopy.interfaces.interface = NeuroScopeSortingInterface; -NeuroScopeSortingInterfaceGlobalCopy.schema.source_data = NeuroScopeSortingInterfaceSchema; -NeuroScopeSortingInterface.args = { activePage, globalState: NeuroScopeSortingInterfaceGlobalCopy }; - -export const BiocamRecordingInterface = PageTemplate.bind({}); -const BiocamRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); -BiocamRecordingInterfaceGlobalCopy.interfaces.interface = BiocamRecordingInterface; -BiocamRecordingInterfaceGlobalCopy.schema.source_data = BiocamRecordingInterfaceSchema; -BiocamRecordingInterface.args = { activePage, globalState: BiocamRecordingInterfaceGlobalCopy }; - -export const IntanRecordingInterface = PageTemplate.bind({}); -const IntanRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); -IntanRecordingInterfaceGlobalCopy.interfaces.interface = IntanRecordingInterface; -IntanRecordingInterfaceGlobalCopy.schema.source_data = IntanRecordingInterfaceSchema; -IntanRecordingInterface.args = { activePage, globalState: IntanRecordingInterfaceGlobalCopy }; - -export const OpenEphysRecordingInterface = PageTemplate.bind({}); -const OpenEphysRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); -OpenEphysRecordingInterfaceGlobalCopy.interfaces.interface = OpenEphysRecordingInterface; -OpenEphysRecordingInterfaceGlobalCopy.schema.source_data = OpenEphysRecordingInterfaceSchema; -OpenEphysRecordingInterface.args = { activePage, globalState: OpenEphysRecordingInterfaceGlobalCopy }; - -export const BlackrockRecordingInterface = PageTemplate.bind({}); -const BlackrockRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); -BlackrockRecordingInterfaceGlobalCopy.interfaces.interface = BlackrockRecordingInterface; -BlackrockRecordingInterfaceGlobalCopy.schema.source_data = BlackrockRecordingInterfaceSchema; -BlackrockRecordingInterface.args = { activePage, globalState: BlackrockRecordingInterfaceGlobalCopy }; - -export const BlackrockSortingInterface = PageTemplate.bind({}); -const BlackrockSortingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); -BlackrockSortingInterfaceGlobalCopy.interfaces.interface = BlackrockSortingInterface; -BlackrockSortingInterfaceGlobalCopy.schema.source_data = BlackrockSortingInterfaceSchema; -BlackrockSortingInterface.args = { activePage, globalState: BlackrockSortingInterfaceGlobalCopy }; - -export const CellExplorerSortingInterface = PageTemplate.bind({}); -const CellExplorerSortingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); -CellExplorerSortingInterfaceGlobalCopy.interfaces.interface = CellExplorerSortingInterface; -CellExplorerSortingInterfaceGlobalCopy.schema.source_data = CellExplorerSortingInterfaceSchema; -CellExplorerSortingInterface.args = { activePage, globalState: CellExplorerSortingInterfaceGlobalCopy }; - -export const KiloSortSortingInterface = PageTemplate.bind({}); -const KiloSortSortingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); -KiloSortSortingInterfaceGlobalCopy.interfaces.interface = KiloSortSortingInterface; -KiloSortSortingInterfaceGlobalCopy.schema.source_data = KiloSortSortingInterfaceSchema; -KiloSortSortingInterface.args = { activePage, globalState: KiloSortSortingInterfaceGlobalCopy }; - -export const TdtRecordingInterface = PageTemplate.bind({}); -const TdtRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); -TdtRecordingInterfaceGlobalCopy.interfaces.interface = TdtRecordingInterface; -TdtRecordingInterfaceGlobalCopy.schema.source_data = TdtRecordingInterfaceSchema; -TdtRecordingInterface.args = { activePage, globalState: TdtRecordingInterfaceGlobalCopy }; - -export const Spike2RecordingInterface = PageTemplate.bind({}); -const Spike2RecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); -Spike2RecordingInterfaceGlobalCopy.interfaces.interface = Spike2RecordingInterface; -Spike2RecordingInterfaceGlobalCopy.schema.source_data = Spike2RecordingInterfaceSchema; -Spike2RecordingInterface.args = { activePage, globalState: Spike2RecordingInterfaceGlobalCopy }; - -export const BrukerTiffSinglePlaneImagingInterface = PageTemplate.bind({}); -const BrukerTiffSinglePlaneImagingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); -BrukerTiffSinglePlaneImagingInterfaceGlobalCopy.interfaces.interface = BrukerTiffSinglePlaneImagingInterface; -BrukerTiffSinglePlaneImagingInterfaceGlobalCopy.schema.source_data = BrukerTiffSinglePlaneImagingInterfaceSchema; -BrukerTiffSinglePlaneImagingInterface.args = { - activePage, - globalState: BrukerTiffSinglePlaneImagingInterfaceGlobalCopy, -}; - -export const ExtractSegmentationInterface = PageTemplate.bind({}); -const ExtractSegmentationInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); -ExtractSegmentationInterfaceGlobalCopy.interfaces.interface = ExtractSegmentationInterface; -ExtractSegmentationInterfaceGlobalCopy.schema.source_data = ExtractSegmentationInterfaceSchema; -ExtractSegmentationInterface.args = { activePage, globalState: ExtractSegmentationInterfaceGlobalCopy }; - -export const CnmfeSegmentationInterface = PageTemplate.bind({}); -const CnmfeSegmentationInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); -CnmfeSegmentationInterfaceGlobalCopy.interfaces.interface = CnmfeSegmentationInterface; -CnmfeSegmentationInterfaceGlobalCopy.schema.source_data = CnmfeSegmentationInterfaceSchema; -CnmfeSegmentationInterface.args = { activePage, globalState: CnmfeSegmentationInterfaceGlobalCopy }; - -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; -MicroManagerTiffImagingInterfaceGlobalCopy.schema.source_data = MicroManagerTiffImagingInterfaceSchema; -MicroManagerTiffImagingInterface.args = { activePage, globalState: MicroManagerTiffImagingInterfaceGlobalCopy }; - -export const ScanImageImagingInterface = PageTemplate.bind({}); -const ScanImageImagingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); -ScanImageImagingInterfaceGlobalCopy.interfaces.interface = ScanImageImagingInterface; -ScanImageImagingInterfaceGlobalCopy.schema.source_data = ScanImageImagingInterfaceSchema; -ScanImageImagingInterface.args = { activePage, globalState: ScanImageImagingInterfaceGlobalCopy }; - -export const TiffImagingInterface = PageTemplate.bind({}); -const TiffImagingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); -TiffImagingInterfaceGlobalCopy.interfaces.interface = TiffImagingInterface; -TiffImagingInterfaceGlobalCopy.schema.source_data = TiffImagingInterfaceSchema; -TiffImagingInterface.args = { activePage, globalState: TiffImagingInterfaceGlobalCopy }; - -export const MiniscopeImagingInterface = PageTemplate.bind({}); -const MiniscopeImagingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); -MiniscopeImagingInterfaceGlobalCopy.interfaces.interface = MiniscopeImagingInterface; -MiniscopeImagingInterfaceGlobalCopy.schema.source_data = MiniscopeImagingInterfaceSchema; -MiniscopeImagingInterface.args = { activePage, globalState: MiniscopeImagingInterfaceGlobalCopy }; - -export const SbxImagingInterface = PageTemplate.bind({}); -const SbxImagingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); -SbxImagingInterfaceGlobalCopy.interfaces.interface = SbxImagingInterface; -SbxImagingInterfaceGlobalCopy.schema.source_data = SbxImagingInterfaceSchema; -SbxImagingInterface.args = { activePage, globalState: SbxImagingInterfaceGlobalCopy }; - -export const CaimanSegmentationInterface = PageTemplate.bind({}); -const CaimanSegmentationInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); -CaimanSegmentationInterfaceGlobalCopy.interfaces.interface = CaimanSegmentationInterface; -CaimanSegmentationInterfaceGlobalCopy.schema.source_data = CaimanSegmentationInterfaceSchema; -CaimanSegmentationInterface.args = { activePage, globalState: CaimanSegmentationInterfaceGlobalCopy }; - -export const MCSRawRecordingInterface = PageTemplate.bind({}); -const MCSRawRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); -MCSRawRecordingInterfaceGlobalCopy.interfaces.interface = MCSRawRecordingInterface; -MCSRawRecordingInterfaceGlobalCopy.schema.source_data = MCSRawRecordingInterfaceSchema; -MCSRawRecordingInterface.args = { activePage, globalState: MCSRawRecordingInterfaceGlobalCopy }; - -export const MEArecRecordingInterface = PageTemplate.bind({}); -const MEArecRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); -MEArecRecordingInterfaceGlobalCopy.interfaces.interface = MEArecRecordingInterface; -MEArecRecordingInterfaceGlobalCopy.schema.source_data = MEArecRecordingInterfaceSchema; -MEArecRecordingInterface.args = { activePage, globalState: MEArecRecordingInterfaceGlobalCopy }; - -export const PlexonRecordingInterface = PageTemplate.bind({}); -const PlexonRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); -PlexonRecordingInterfaceGlobalCopy.interfaces.interface = PlexonRecordingInterface; -PlexonRecordingInterfaceGlobalCopy.schema.source_data = PlexonRecordingInterfaceSchema; -PlexonRecordingInterface.args = { activePage, globalState: PlexonRecordingInterfaceGlobalCopy }; - -export const PlexonSortingInterface = PageTemplate.bind({}); -const PlexonSortingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); -PlexonSortingInterfaceGlobalCopy.interfaces.interface = PlexonSortingInterface; -PlexonSortingInterfaceGlobalCopy.schema.source_data = PlexonSortingInterfaceSchema; -PlexonSortingInterface.args = { activePage, globalState: PlexonSortingInterfaceGlobalCopy }; - -export const AxonaRecordingInterface = PageTemplate.bind({}); -const AxonaRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); -AxonaRecordingInterfaceGlobalCopy.interfaces.interface = AxonaRecordingInterface; -AxonaRecordingInterfaceGlobalCopy.schema.source_data = AxonaRecordingInterfaceSchema; -AxonaRecordingInterface.args = { activePage, globalState: AxonaRecordingInterfaceGlobalCopy }; - -export const VideoInterface = PageTemplate.bind({}); -const VideoInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); -VideoInterfaceGlobalCopy.interfaces.interface = VideoInterface; -VideoInterfaceGlobalCopy.schema.source_data = VideoInterfaceSchema; -VideoInterface.args = { activePage, globalState: VideoInterfaceGlobalCopy }; - -export const NeuralynxRecordingInterface = PageTemplate.bind({}); -const NeuralynxRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); -NeuralynxRecordingInterfaceGlobalCopy.interfaces.interface = NeuralynxRecordingInterface; -NeuralynxRecordingInterfaceGlobalCopy.schema.source_data = NeuralynxRecordingInterfaceSchema; -NeuralynxRecordingInterface.args = { activePage, globalState: NeuralynxRecordingInterfaceGlobalCopy }; - -export const Suite2pSegmentationInterface = PageTemplate.bind({}); -const Suite2pSegmentationInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); -Suite2pSegmentationInterfaceGlobalCopy.interfaces.interface = Suite2pSegmentationInterface; -Suite2pSegmentationInterfaceGlobalCopy.schema.source_data = Suite2pSegmentationInterfaceSchema; -Suite2pSegmentationInterface.args = { activePage, globalState: Suite2pSegmentationInterfaceGlobalCopy }; - -export const AlphaOmegaRecordingInterface = PageTemplate.bind({}); -const AlphaOmegaRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); -AlphaOmegaRecordingInterfaceGlobalCopy.interfaces.interface = AlphaOmegaRecordingInterface; -AlphaOmegaRecordingInterfaceGlobalCopy.schema.source_data = AlphaOmegaRecordingInterfaceSchema; -AlphaOmegaRecordingInterface.args = { activePage, globalState: AlphaOmegaRecordingInterfaceGlobalCopy }; - -export const DeepLabCutInterface = PageTemplate.bind({}); -const DeepLabCutInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); -DeepLabCutInterfaceGlobalCopy.interfaces.interface = DeepLabCutInterface; -DeepLabCutInterfaceGlobalCopy.schema.source_data = DeepLabCutInterfaceSchema; -DeepLabCutInterface.args = { activePage, globalState: DeepLabCutInterfaceGlobalCopy }; - -export const SLEAPInterface = PageTemplate.bind({}); -const SLEAPInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); -SLEAPInterfaceGlobalCopy.interfaces.interface = SLEAPInterface; -SLEAPInterfaceGlobalCopy.schema.source_data = SLEAPInterfaceSchema; -SLEAPInterface.args = { activePage, globalState: SLEAPInterfaceGlobalCopy }; - -export const FicTracDataInterface = PageTemplate.bind({}); -const FicTracDataInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); -FicTracDataInterfaceGlobalCopy.interfaces.interface = FicTracDataInterface; -FicTracDataInterfaceGlobalCopy.schema.source_data = FicTracDataInterfaceSchema; -FicTracDataInterface.args = { activePage, globalState: FicTracDataInterfaceGlobalCopy }; - -export const AudioInterface = PageTemplate.bind({}); -const AudioInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); -AudioInterfaceGlobalCopy.interfaces.interface = AudioInterface; -AudioInterfaceGlobalCopy.schema.source_data = AudioInterfaceSchema; -AudioInterface.args = { activePage, globalState: AudioInterfaceGlobalCopy }; - -export const MiniscopeBehaviorInterface = PageTemplate.bind({}); -const MiniscopeBehaviorInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); -MiniscopeBehaviorInterfaceGlobalCopy.interfaces.interface = MiniscopeBehaviorInterface; -MiniscopeBehaviorInterfaceGlobalCopy.schema.source_data = MiniscopeBehaviorInterfaceSchema; -MiniscopeBehaviorInterface.args = { activePage, globalState: MiniscopeBehaviorInterfaceGlobalCopy }; - -export const EDFRecordingInterface = PageTemplate.bind({}); -const EDFRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); -EDFRecordingInterfaceGlobalCopy.interfaces.interface = EDFRecordingInterface; -EDFRecordingInterfaceGlobalCopy.schema.source_data = EDFRecordingInterfaceSchema; -EDFRecordingInterface.args = { activePage, globalState: EDFRecordingInterfaceGlobalCopy }; - -export const SpikeGLXConverterPipe = PageTemplate.bind({}); -const SpikeGLXConverterPipeGlobalCopy = JSON.parse(JSON.stringify(globalState)); -SpikeGLXConverterPipeGlobalCopy.interfaces.interface = SpikeGLXConverterPipe; -SpikeGLXConverterPipeGlobalCopy.schema.source_data = SpikeGLXConverterPipeSchema; -SpikeGLXConverterPipe.args = { activePage, globalState: SpikeGLXConverterPipeGlobalCopy }; - -export const BrukerTiffSinglePlaneConverter = PageTemplate.bind({}); -const BrukerTiffSinglePlaneConverterGlobalCopy = JSON.parse(JSON.stringify(globalState)); -BrukerTiffSinglePlaneConverterGlobalCopy.interfaces.interface = BrukerTiffSinglePlaneConverter; -BrukerTiffSinglePlaneConverterGlobalCopy.schema.source_data = BrukerTiffSinglePlaneConverterSchema; -BrukerTiffSinglePlaneConverter.args = { activePage, globalState: BrukerTiffSinglePlaneConverterGlobalCopy }; - -export const BrukerTiffMultiPlaneConverter = PageTemplate.bind({}); -const BrukerTiffMultiPlaneConverterGlobalCopy = JSON.parse(JSON.stringify(globalState)); -BrukerTiffMultiPlaneConverterGlobalCopy.interfaces.interface = BrukerTiffMultiPlaneConverter; -BrukerTiffMultiPlaneConverterGlobalCopy.schema.source_data = BrukerTiffMultiPlaneConverterSchema; -BrukerTiffMultiPlaneConverter.args = { activePage, globalState: BrukerTiffMultiPlaneConverterGlobalCopy }; - -export const MiniscopeConverter = PageTemplate.bind({}); -const MiniscopeConverterGlobalCopy = JSON.parse(JSON.stringify(globalState)); -MiniscopeConverterGlobalCopy.interfaces.interface = MiniscopeConverter; -MiniscopeConverterGlobalCopy.schema.source_data = MiniscopeConverterSchema; -MiniscopeConverter.args = { activePage, globalState: MiniscopeConverterGlobalCopy }; - -export const CellExplorerRecordingInterface = PageTemplate.bind({}); -const CellExplorerRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); -CellExplorerRecordingInterfaceGlobalCopy.interfaces.interface = CellExplorerRecordingInterface; -CellExplorerRecordingInterfaceGlobalCopy.schema.source_data = CellExplorerRecordingInterfaceSchema; -CellExplorerRecordingInterface.args = { activePage, globalState: CellExplorerRecordingInterfaceGlobalCopy }; +import { globalState, PageTemplate } from "./storyStates"; +import SpikeGLXRecordingInterfaceSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/SpikeGLXRecordingInterface.json' +import SpikeGLXNIDQInterfaceSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/SpikeGLXNIDQInterface.json' +import PhySortingInterfaceSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/PhySortingInterface.json' +import NeuroScopeRecordingInterfaceSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/NeuroScopeRecordingInterface.json' +import NeuroScopeLFPInterfaceSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/NeuroScopeLFPInterface.json' +import NeuroScopeSortingInterfaceSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/NeuroScopeSortingInterface.json' +import BiocamRecordingInterfaceSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/BiocamRecordingInterface.json' +import IntanRecordingInterfaceSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/IntanRecordingInterface.json' +import OpenEphysRecordingInterfaceSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/OpenEphysRecordingInterface.json' +import BlackrockRecordingInterfaceSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/BlackrockRecordingInterface.json' +import BlackrockSortingInterfaceSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/BlackrockSortingInterface.json' +import CellExplorerSortingInterfaceSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/CellExplorerSortingInterface.json' +import KiloSortSortingInterfaceSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/KiloSortSortingInterface.json' +import TdtRecordingInterfaceSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/TdtRecordingInterface.json' +import Spike2RecordingInterfaceSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/Spike2RecordingInterface.json' +import BrukerTiffSinglePlaneImagingInterfaceSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/BrukerTiffSinglePlaneImagingInterface.json' +import ExtractSegmentationInterfaceSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/ExtractSegmentationInterface.json' +import CnmfeSegmentationInterfaceSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/CnmfeSegmentationInterface.json' +import BrukerTiffMultiPlaneImagingInterfaceSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/BrukerTiffMultiPlaneImagingInterface.json' +import MicroManagerTiffImagingInterfaceSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/MicroManagerTiffImagingInterface.json' +import ScanImageImagingInterfaceSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/ScanImageImagingInterface.json' +import TiffImagingInterfaceSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/TiffImagingInterface.json' +import MiniscopeImagingInterfaceSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/MiniscopeImagingInterface.json' +import SbxImagingInterfaceSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/SbxImagingInterface.json' +import CaimanSegmentationInterfaceSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/CaimanSegmentationInterface.json' +import MCSRawRecordingInterfaceSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/MCSRawRecordingInterface.json' +import MEArecRecordingInterfaceSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/MEArecRecordingInterface.json' +import PlexonRecordingInterfaceSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/PlexonRecordingInterface.json' +import PlexonSortingInterfaceSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/PlexonSortingInterface.json' +import AxonaRecordingInterfaceSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/AxonaRecordingInterface.json' +import VideoInterfaceSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/VideoInterface.json' +import NeuralynxRecordingInterfaceSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/NeuralynxRecordingInterface.json' +import Suite2pSegmentationInterfaceSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/Suite2pSegmentationInterface.json' +import AlphaOmegaRecordingInterfaceSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/AlphaOmegaRecordingInterface.json' +import DeepLabCutInterfaceSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/DeepLabCutInterface.json' +import SLEAPInterfaceSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/SLEAPInterface.json' +import FicTracDataInterfaceSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/FicTracDataInterface.json' +import AudioInterfaceSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/AudioInterface.json' +import MiniscopeBehaviorInterfaceSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/MiniscopeBehaviorInterface.json' +import EDFRecordingInterfaceSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/EDFRecordingInterface.json' +import SpikeGLXConverterPipeSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/SpikeGLXConverterPipe.json' +import BrukerTiffSinglePlaneConverterSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/BrukerTiffSinglePlaneConverter.json' +import BrukerTiffMultiPlaneConverterSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/BrukerTiffMultiPlaneConverter.json' +import MiniscopeConverterSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/MiniscopeConverter.json' +import CellExplorerRecordingInterfaceSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/CellExplorerRecordingInterface.json' + +export default { + title: "Pages/Guided Mode/Source Data", + parameters: { + chromatic: { disableSnapshot: false }, + } +}; + +const activePage = "//sourcedata" + + +const globalStateCopy = JSON.parse(JSON.stringify(globalState)) +globalStateCopy.schema.source_data.properties.SpikeGLXRecordingInterface = SpikeGLXRecordingInterfaceSchema.properties.SpikeGLXRecordingInterface +globalStateCopy.schema.source_data.properties.SpikeGLXNIDQInterface = SpikeGLXNIDQInterfaceSchema.properties.SpikeGLXNIDQInterface +globalStateCopy.schema.source_data.properties.PhySortingInterface = PhySortingInterfaceSchema.properties.PhySortingInterface +globalStateCopy.schema.source_data.properties.NeuroScopeRecordingInterface = NeuroScopeRecordingInterfaceSchema.properties.NeuroScopeRecordingInterface +globalStateCopy.schema.source_data.properties.NeuroScopeLFPInterface = NeuroScopeLFPInterfaceSchema.properties.NeuroScopeLFPInterface +globalStateCopy.schema.source_data.properties.NeuroScopeSortingInterface = NeuroScopeSortingInterfaceSchema.properties.NeuroScopeSortingInterface +globalStateCopy.schema.source_data.properties.BiocamRecordingInterface = BiocamRecordingInterfaceSchema.properties.BiocamRecordingInterface +globalStateCopy.schema.source_data.properties.IntanRecordingInterface = IntanRecordingInterfaceSchema.properties.IntanRecordingInterface +globalStateCopy.schema.source_data.properties.OpenEphysRecordingInterface = OpenEphysRecordingInterfaceSchema.properties.OpenEphysRecordingInterface +globalStateCopy.schema.source_data.properties.BlackrockRecordingInterface = BlackrockRecordingInterfaceSchema.properties.BlackrockRecordingInterface +globalStateCopy.schema.source_data.properties.BlackrockSortingInterface = BlackrockSortingInterfaceSchema.properties.BlackrockSortingInterface +globalStateCopy.schema.source_data.properties.CellExplorerSortingInterface = CellExplorerSortingInterfaceSchema.properties.CellExplorerSortingInterface +globalStateCopy.schema.source_data.properties.KiloSortSortingInterface = KiloSortSortingInterfaceSchema.properties.KiloSortSortingInterface +globalStateCopy.schema.source_data.properties.TdtRecordingInterface = TdtRecordingInterfaceSchema.properties.TdtRecordingInterface +globalStateCopy.schema.source_data.properties.Spike2RecordingInterface = Spike2RecordingInterfaceSchema.properties.Spike2RecordingInterface +globalStateCopy.schema.source_data.properties.BrukerTiffSinglePlaneImagingInterface = BrukerTiffSinglePlaneImagingInterfaceSchema.properties.BrukerTiffSinglePlaneImagingInterface +globalStateCopy.schema.source_data.properties.ExtractSegmentationInterface = ExtractSegmentationInterfaceSchema.properties.ExtractSegmentationInterface +globalStateCopy.schema.source_data.properties.CnmfeSegmentationInterface = CnmfeSegmentationInterfaceSchema.properties.CnmfeSegmentationInterface +globalStateCopy.schema.source_data.properties.BrukerTiffMultiPlaneImagingInterface = BrukerTiffMultiPlaneImagingInterfaceSchema.properties.BrukerTiffMultiPlaneImagingInterface +globalStateCopy.schema.source_data.properties.MicroManagerTiffImagingInterface = MicroManagerTiffImagingInterfaceSchema.properties.MicroManagerTiffImagingInterface +globalStateCopy.schema.source_data.properties.ScanImageImagingInterface = ScanImageImagingInterfaceSchema.properties.ScanImageImagingInterface +globalStateCopy.schema.source_data.properties.TiffImagingInterface = TiffImagingInterfaceSchema.properties.TiffImagingInterface +globalStateCopy.schema.source_data.properties.MiniscopeImagingInterface = MiniscopeImagingInterfaceSchema.properties.MiniscopeImagingInterface +globalStateCopy.schema.source_data.properties.SbxImagingInterface = SbxImagingInterfaceSchema.properties.SbxImagingInterface +globalStateCopy.schema.source_data.properties.CaimanSegmentationInterface = CaimanSegmentationInterfaceSchema.properties.CaimanSegmentationInterface +globalStateCopy.schema.source_data.properties.MCSRawRecordingInterface = MCSRawRecordingInterfaceSchema.properties.MCSRawRecordingInterface +globalStateCopy.schema.source_data.properties.MEArecRecordingInterface = MEArecRecordingInterfaceSchema.properties.MEArecRecordingInterface +globalStateCopy.schema.source_data.properties.PlexonRecordingInterface = PlexonRecordingInterfaceSchema.properties.PlexonRecordingInterface +globalStateCopy.schema.source_data.properties.PlexonSortingInterface = PlexonSortingInterfaceSchema.properties.PlexonSortingInterface +globalStateCopy.schema.source_data.properties.AxonaRecordingInterface = AxonaRecordingInterfaceSchema.properties.AxonaRecordingInterface +globalStateCopy.schema.source_data.properties.VideoInterface = VideoInterfaceSchema.properties.VideoInterface +globalStateCopy.schema.source_data.properties.NeuralynxRecordingInterface = NeuralynxRecordingInterfaceSchema.properties.NeuralynxRecordingInterface +globalStateCopy.schema.source_data.properties.Suite2pSegmentationInterface = Suite2pSegmentationInterfaceSchema.properties.Suite2pSegmentationInterface +globalStateCopy.schema.source_data.properties.AlphaOmegaRecordingInterface = AlphaOmegaRecordingInterfaceSchema.properties.AlphaOmegaRecordingInterface +globalStateCopy.schema.source_data.properties.DeepLabCutInterface = DeepLabCutInterfaceSchema.properties.DeepLabCutInterface +globalStateCopy.schema.source_data.properties.SLEAPInterface = SLEAPInterfaceSchema.properties.SLEAPInterface +globalStateCopy.schema.source_data.properties.FicTracDataInterface = FicTracDataInterfaceSchema.properties.FicTracDataInterface +globalStateCopy.schema.source_data.properties.AudioInterface = AudioInterfaceSchema.properties.AudioInterface +globalStateCopy.schema.source_data.properties.MiniscopeBehaviorInterface = MiniscopeBehaviorInterfaceSchema.properties.MiniscopeBehaviorInterface +globalStateCopy.schema.source_data.properties.EDFRecordingInterface = EDFRecordingInterfaceSchema.properties.EDFRecordingInterface +globalStateCopy.schema.source_data.properties.SpikeGLXConverterPipe = SpikeGLXConverterPipeSchema.properties.SpikeGLXConverterPipe +globalStateCopy.schema.source_data.properties.BrukerTiffSinglePlaneConverter = BrukerTiffSinglePlaneConverterSchema.properties.BrukerTiffSinglePlaneConverter +globalStateCopy.schema.source_data.properties.BrukerTiffMultiPlaneConverter = BrukerTiffMultiPlaneConverterSchema.properties.BrukerTiffMultiPlaneConverter +globalStateCopy.schema.source_data.properties.MiniscopeConverter = MiniscopeConverterSchema.properties.MiniscopeConverter +globalStateCopy.schema.source_data.properties.CellExplorerRecordingInterface = CellExplorerRecordingInterfaceSchema.properties.CellExplorerRecordingInterface + +const results = globalStateCopy.results +for (let sub in results){ + for (let ses in results[sub]) results[sub][ses].source_data = {SpikeGLXNIDQInterface: {file_path: '/dummy/file/path'}} +} + + +export const All = PageTemplate.bind({}); +All.args = { activePage, globalState: globalStateCopy }; + +export const SpikeGLXRecordingInterface = PageTemplate.bind({}); +const SpikeGLXRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) +SpikeGLXRecordingInterfaceGlobalCopy.interfaces.interface = SpikeGLXRecordingInterface +SpikeGLXRecordingInterfaceGlobalCopy.schema.source_data = SpikeGLXRecordingInterfaceSchema +SpikeGLXRecordingInterface.args = { activePage, globalState: SpikeGLXRecordingInterfaceGlobalCopy }; + +export const SpikeGLXNIDQInterface = PageTemplate.bind({}); +const SpikeGLXNIDQInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) +SpikeGLXNIDQInterfaceGlobalCopy.interfaces.interface = SpikeGLXNIDQInterface +SpikeGLXNIDQInterfaceGlobalCopy.schema.source_data = SpikeGLXNIDQInterfaceSchema +SpikeGLXNIDQInterface.args = { activePage, globalState: SpikeGLXNIDQInterfaceGlobalCopy }; + +export const PhySortingInterface = PageTemplate.bind({}); +const PhySortingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) +PhySortingInterfaceGlobalCopy.interfaces.interface = PhySortingInterface +PhySortingInterfaceGlobalCopy.schema.source_data = PhySortingInterfaceSchema +PhySortingInterface.args = { activePage, globalState: PhySortingInterfaceGlobalCopy }; + +export const NeuroScopeRecordingInterface = PageTemplate.bind({}); +const NeuroScopeRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) +NeuroScopeRecordingInterfaceGlobalCopy.interfaces.interface = NeuroScopeRecordingInterface +NeuroScopeRecordingInterfaceGlobalCopy.schema.source_data = NeuroScopeRecordingInterfaceSchema +NeuroScopeRecordingInterface.args = { activePage, globalState: NeuroScopeRecordingInterfaceGlobalCopy }; + +export const NeuroScopeLFPInterface = PageTemplate.bind({}); +const NeuroScopeLFPInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) +NeuroScopeLFPInterfaceGlobalCopy.interfaces.interface = NeuroScopeLFPInterface +NeuroScopeLFPInterfaceGlobalCopy.schema.source_data = NeuroScopeLFPInterfaceSchema +NeuroScopeLFPInterface.args = { activePage, globalState: NeuroScopeLFPInterfaceGlobalCopy }; + +export const NeuroScopeSortingInterface = PageTemplate.bind({}); +const NeuroScopeSortingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) +NeuroScopeSortingInterfaceGlobalCopy.interfaces.interface = NeuroScopeSortingInterface +NeuroScopeSortingInterfaceGlobalCopy.schema.source_data = NeuroScopeSortingInterfaceSchema +NeuroScopeSortingInterface.args = { activePage, globalState: NeuroScopeSortingInterfaceGlobalCopy }; + +export const BiocamRecordingInterface = PageTemplate.bind({}); +const BiocamRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) +BiocamRecordingInterfaceGlobalCopy.interfaces.interface = BiocamRecordingInterface +BiocamRecordingInterfaceGlobalCopy.schema.source_data = BiocamRecordingInterfaceSchema +BiocamRecordingInterface.args = { activePage, globalState: BiocamRecordingInterfaceGlobalCopy }; + +export const IntanRecordingInterface = PageTemplate.bind({}); +const IntanRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) +IntanRecordingInterfaceGlobalCopy.interfaces.interface = IntanRecordingInterface +IntanRecordingInterfaceGlobalCopy.schema.source_data = IntanRecordingInterfaceSchema +IntanRecordingInterface.args = { activePage, globalState: IntanRecordingInterfaceGlobalCopy }; + +export const OpenEphysRecordingInterface = PageTemplate.bind({}); +const OpenEphysRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) +OpenEphysRecordingInterfaceGlobalCopy.interfaces.interface = OpenEphysRecordingInterface +OpenEphysRecordingInterfaceGlobalCopy.schema.source_data = OpenEphysRecordingInterfaceSchema +OpenEphysRecordingInterface.args = { activePage, globalState: OpenEphysRecordingInterfaceGlobalCopy }; + +export const BlackrockRecordingInterface = PageTemplate.bind({}); +const BlackrockRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) +BlackrockRecordingInterfaceGlobalCopy.interfaces.interface = BlackrockRecordingInterface +BlackrockRecordingInterfaceGlobalCopy.schema.source_data = BlackrockRecordingInterfaceSchema +BlackrockRecordingInterface.args = { activePage, globalState: BlackrockRecordingInterfaceGlobalCopy }; + +export const BlackrockSortingInterface = PageTemplate.bind({}); +const BlackrockSortingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) +BlackrockSortingInterfaceGlobalCopy.interfaces.interface = BlackrockSortingInterface +BlackrockSortingInterfaceGlobalCopy.schema.source_data = BlackrockSortingInterfaceSchema +BlackrockSortingInterface.args = { activePage, globalState: BlackrockSortingInterfaceGlobalCopy }; + +export const CellExplorerSortingInterface = PageTemplate.bind({}); +const CellExplorerSortingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) +CellExplorerSortingInterfaceGlobalCopy.interfaces.interface = CellExplorerSortingInterface +CellExplorerSortingInterfaceGlobalCopy.schema.source_data = CellExplorerSortingInterfaceSchema +CellExplorerSortingInterface.args = { activePage, globalState: CellExplorerSortingInterfaceGlobalCopy }; + +export const KiloSortSortingInterface = PageTemplate.bind({}); +const KiloSortSortingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) +KiloSortSortingInterfaceGlobalCopy.interfaces.interface = KiloSortSortingInterface +KiloSortSortingInterfaceGlobalCopy.schema.source_data = KiloSortSortingInterfaceSchema +KiloSortSortingInterface.args = { activePage, globalState: KiloSortSortingInterfaceGlobalCopy }; + +export const TdtRecordingInterface = PageTemplate.bind({}); +const TdtRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) +TdtRecordingInterfaceGlobalCopy.interfaces.interface = TdtRecordingInterface +TdtRecordingInterfaceGlobalCopy.schema.source_data = TdtRecordingInterfaceSchema +TdtRecordingInterface.args = { activePage, globalState: TdtRecordingInterfaceGlobalCopy }; + +export const Spike2RecordingInterface = PageTemplate.bind({}); +const Spike2RecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) +Spike2RecordingInterfaceGlobalCopy.interfaces.interface = Spike2RecordingInterface +Spike2RecordingInterfaceGlobalCopy.schema.source_data = Spike2RecordingInterfaceSchema +Spike2RecordingInterface.args = { activePage, globalState: Spike2RecordingInterfaceGlobalCopy }; + +export const BrukerTiffSinglePlaneImagingInterface = PageTemplate.bind({}); +const BrukerTiffSinglePlaneImagingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) +BrukerTiffSinglePlaneImagingInterfaceGlobalCopy.interfaces.interface = BrukerTiffSinglePlaneImagingInterface +BrukerTiffSinglePlaneImagingInterfaceGlobalCopy.schema.source_data = BrukerTiffSinglePlaneImagingInterfaceSchema +BrukerTiffSinglePlaneImagingInterface.args = { activePage, globalState: BrukerTiffSinglePlaneImagingInterfaceGlobalCopy }; + +export const ExtractSegmentationInterface = PageTemplate.bind({}); +const ExtractSegmentationInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) +ExtractSegmentationInterfaceGlobalCopy.interfaces.interface = ExtractSegmentationInterface +ExtractSegmentationInterfaceGlobalCopy.schema.source_data = ExtractSegmentationInterfaceSchema +ExtractSegmentationInterface.args = { activePage, globalState: ExtractSegmentationInterfaceGlobalCopy }; + +export const CnmfeSegmentationInterface = PageTemplate.bind({}); +const CnmfeSegmentationInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) +CnmfeSegmentationInterfaceGlobalCopy.interfaces.interface = CnmfeSegmentationInterface +CnmfeSegmentationInterfaceGlobalCopy.schema.source_data = CnmfeSegmentationInterfaceSchema +CnmfeSegmentationInterface.args = { activePage, globalState: CnmfeSegmentationInterfaceGlobalCopy }; + +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 +MicroManagerTiffImagingInterfaceGlobalCopy.schema.source_data = MicroManagerTiffImagingInterfaceSchema +MicroManagerTiffImagingInterface.args = { activePage, globalState: MicroManagerTiffImagingInterfaceGlobalCopy }; + +export const ScanImageImagingInterface = PageTemplate.bind({}); +const ScanImageImagingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) +ScanImageImagingInterfaceGlobalCopy.interfaces.interface = ScanImageImagingInterface +ScanImageImagingInterfaceGlobalCopy.schema.source_data = ScanImageImagingInterfaceSchema +ScanImageImagingInterface.args = { activePage, globalState: ScanImageImagingInterfaceGlobalCopy }; + +export const TiffImagingInterface = PageTemplate.bind({}); +const TiffImagingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) +TiffImagingInterfaceGlobalCopy.interfaces.interface = TiffImagingInterface +TiffImagingInterfaceGlobalCopy.schema.source_data = TiffImagingInterfaceSchema +TiffImagingInterface.args = { activePage, globalState: TiffImagingInterfaceGlobalCopy }; + +export const MiniscopeImagingInterface = PageTemplate.bind({}); +const MiniscopeImagingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) +MiniscopeImagingInterfaceGlobalCopy.interfaces.interface = MiniscopeImagingInterface +MiniscopeImagingInterfaceGlobalCopy.schema.source_data = MiniscopeImagingInterfaceSchema +MiniscopeImagingInterface.args = { activePage, globalState: MiniscopeImagingInterfaceGlobalCopy }; + +export const SbxImagingInterface = PageTemplate.bind({}); +const SbxImagingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) +SbxImagingInterfaceGlobalCopy.interfaces.interface = SbxImagingInterface +SbxImagingInterfaceGlobalCopy.schema.source_data = SbxImagingInterfaceSchema +SbxImagingInterface.args = { activePage, globalState: SbxImagingInterfaceGlobalCopy }; + +export const CaimanSegmentationInterface = PageTemplate.bind({}); +const CaimanSegmentationInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) +CaimanSegmentationInterfaceGlobalCopy.interfaces.interface = CaimanSegmentationInterface +CaimanSegmentationInterfaceGlobalCopy.schema.source_data = CaimanSegmentationInterfaceSchema +CaimanSegmentationInterface.args = { activePage, globalState: CaimanSegmentationInterfaceGlobalCopy }; + +export const MCSRawRecordingInterface = PageTemplate.bind({}); +const MCSRawRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) +MCSRawRecordingInterfaceGlobalCopy.interfaces.interface = MCSRawRecordingInterface +MCSRawRecordingInterfaceGlobalCopy.schema.source_data = MCSRawRecordingInterfaceSchema +MCSRawRecordingInterface.args = { activePage, globalState: MCSRawRecordingInterfaceGlobalCopy }; + +export const MEArecRecordingInterface = PageTemplate.bind({}); +const MEArecRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) +MEArecRecordingInterfaceGlobalCopy.interfaces.interface = MEArecRecordingInterface +MEArecRecordingInterfaceGlobalCopy.schema.source_data = MEArecRecordingInterfaceSchema +MEArecRecordingInterface.args = { activePage, globalState: MEArecRecordingInterfaceGlobalCopy }; + +export const PlexonRecordingInterface = PageTemplate.bind({}); +const PlexonRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) +PlexonRecordingInterfaceGlobalCopy.interfaces.interface = PlexonRecordingInterface +PlexonRecordingInterfaceGlobalCopy.schema.source_data = PlexonRecordingInterfaceSchema +PlexonRecordingInterface.args = { activePage, globalState: PlexonRecordingInterfaceGlobalCopy }; + +export const PlexonSortingInterface = PageTemplate.bind({}); +const PlexonSortingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) +PlexonSortingInterfaceGlobalCopy.interfaces.interface = PlexonSortingInterface +PlexonSortingInterfaceGlobalCopy.schema.source_data = PlexonSortingInterfaceSchema +PlexonSortingInterface.args = { activePage, globalState: PlexonSortingInterfaceGlobalCopy }; + +export const AxonaRecordingInterface = PageTemplate.bind({}); +const AxonaRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) +AxonaRecordingInterfaceGlobalCopy.interfaces.interface = AxonaRecordingInterface +AxonaRecordingInterfaceGlobalCopy.schema.source_data = AxonaRecordingInterfaceSchema +AxonaRecordingInterface.args = { activePage, globalState: AxonaRecordingInterfaceGlobalCopy }; + +export const VideoInterface = PageTemplate.bind({}); +const VideoInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) +VideoInterfaceGlobalCopy.interfaces.interface = VideoInterface +VideoInterfaceGlobalCopy.schema.source_data = VideoInterfaceSchema +VideoInterface.args = { activePage, globalState: VideoInterfaceGlobalCopy }; + +export const NeuralynxRecordingInterface = PageTemplate.bind({}); +const NeuralynxRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) +NeuralynxRecordingInterfaceGlobalCopy.interfaces.interface = NeuralynxRecordingInterface +NeuralynxRecordingInterfaceGlobalCopy.schema.source_data = NeuralynxRecordingInterfaceSchema +NeuralynxRecordingInterface.args = { activePage, globalState: NeuralynxRecordingInterfaceGlobalCopy }; + +export const Suite2pSegmentationInterface = PageTemplate.bind({}); +const Suite2pSegmentationInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) +Suite2pSegmentationInterfaceGlobalCopy.interfaces.interface = Suite2pSegmentationInterface +Suite2pSegmentationInterfaceGlobalCopy.schema.source_data = Suite2pSegmentationInterfaceSchema +Suite2pSegmentationInterface.args = { activePage, globalState: Suite2pSegmentationInterfaceGlobalCopy }; + +export const AlphaOmegaRecordingInterface = PageTemplate.bind({}); +const AlphaOmegaRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) +AlphaOmegaRecordingInterfaceGlobalCopy.interfaces.interface = AlphaOmegaRecordingInterface +AlphaOmegaRecordingInterfaceGlobalCopy.schema.source_data = AlphaOmegaRecordingInterfaceSchema +AlphaOmegaRecordingInterface.args = { activePage, globalState: AlphaOmegaRecordingInterfaceGlobalCopy }; + +export const DeepLabCutInterface = PageTemplate.bind({}); +const DeepLabCutInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) +DeepLabCutInterfaceGlobalCopy.interfaces.interface = DeepLabCutInterface +DeepLabCutInterfaceGlobalCopy.schema.source_data = DeepLabCutInterfaceSchema +DeepLabCutInterface.args = { activePage, globalState: DeepLabCutInterfaceGlobalCopy }; + +export const SLEAPInterface = PageTemplate.bind({}); +const SLEAPInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) +SLEAPInterfaceGlobalCopy.interfaces.interface = SLEAPInterface +SLEAPInterfaceGlobalCopy.schema.source_data = SLEAPInterfaceSchema +SLEAPInterface.args = { activePage, globalState: SLEAPInterfaceGlobalCopy }; + +export const FicTracDataInterface = PageTemplate.bind({}); +const FicTracDataInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) +FicTracDataInterfaceGlobalCopy.interfaces.interface = FicTracDataInterface +FicTracDataInterfaceGlobalCopy.schema.source_data = FicTracDataInterfaceSchema +FicTracDataInterface.args = { activePage, globalState: FicTracDataInterfaceGlobalCopy }; + +export const AudioInterface = PageTemplate.bind({}); +const AudioInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) +AudioInterfaceGlobalCopy.interfaces.interface = AudioInterface +AudioInterfaceGlobalCopy.schema.source_data = AudioInterfaceSchema +AudioInterface.args = { activePage, globalState: AudioInterfaceGlobalCopy }; + +export const MiniscopeBehaviorInterface = PageTemplate.bind({}); +const MiniscopeBehaviorInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) +MiniscopeBehaviorInterfaceGlobalCopy.interfaces.interface = MiniscopeBehaviorInterface +MiniscopeBehaviorInterfaceGlobalCopy.schema.source_data = MiniscopeBehaviorInterfaceSchema +MiniscopeBehaviorInterface.args = { activePage, globalState: MiniscopeBehaviorInterfaceGlobalCopy }; + +export const EDFRecordingInterface = PageTemplate.bind({}); +const EDFRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) +EDFRecordingInterfaceGlobalCopy.interfaces.interface = EDFRecordingInterface +EDFRecordingInterfaceGlobalCopy.schema.source_data = EDFRecordingInterfaceSchema +EDFRecordingInterface.args = { activePage, globalState: EDFRecordingInterfaceGlobalCopy }; + +export const SpikeGLXConverterPipe = PageTemplate.bind({}); +const SpikeGLXConverterPipeGlobalCopy = JSON.parse(JSON.stringify(globalState)) +SpikeGLXConverterPipeGlobalCopy.interfaces.interface = SpikeGLXConverterPipe +SpikeGLXConverterPipeGlobalCopy.schema.source_data = SpikeGLXConverterPipeSchema +SpikeGLXConverterPipe.args = { activePage, globalState: SpikeGLXConverterPipeGlobalCopy }; + +export const BrukerTiffSinglePlaneConverter = PageTemplate.bind({}); +const BrukerTiffSinglePlaneConverterGlobalCopy = JSON.parse(JSON.stringify(globalState)) +BrukerTiffSinglePlaneConverterGlobalCopy.interfaces.interface = BrukerTiffSinglePlaneConverter +BrukerTiffSinglePlaneConverterGlobalCopy.schema.source_data = BrukerTiffSinglePlaneConverterSchema +BrukerTiffSinglePlaneConverter.args = { activePage, globalState: BrukerTiffSinglePlaneConverterGlobalCopy }; + +export const BrukerTiffMultiPlaneConverter = PageTemplate.bind({}); +const BrukerTiffMultiPlaneConverterGlobalCopy = JSON.parse(JSON.stringify(globalState)) +BrukerTiffMultiPlaneConverterGlobalCopy.interfaces.interface = BrukerTiffMultiPlaneConverter +BrukerTiffMultiPlaneConverterGlobalCopy.schema.source_data = BrukerTiffMultiPlaneConverterSchema +BrukerTiffMultiPlaneConverter.args = { activePage, globalState: BrukerTiffMultiPlaneConverterGlobalCopy }; + +export const MiniscopeConverter = PageTemplate.bind({}); +const MiniscopeConverterGlobalCopy = JSON.parse(JSON.stringify(globalState)) +MiniscopeConverterGlobalCopy.interfaces.interface = MiniscopeConverter +MiniscopeConverterGlobalCopy.schema.source_data = MiniscopeConverterSchema +MiniscopeConverter.args = { activePage, globalState: MiniscopeConverterGlobalCopy }; + +export const CellExplorerRecordingInterface = PageTemplate.bind({}); +const CellExplorerRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) +CellExplorerRecordingInterfaceGlobalCopy.interfaces.interface = CellExplorerRecordingInterface +CellExplorerRecordingInterfaceGlobalCopy.schema.source_data = CellExplorerRecordingInterfaceSchema +CellExplorerRecordingInterface.args = { activePage, globalState: CellExplorerRecordingInterfaceGlobalCopy }; + From 5b5c31c1a11f72897c4081cb98bd89ed5d328c28 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 4 Jun 2024 20:42:01 +0000 Subject: [PATCH 2/4] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- .../AlphaOmegaRecordingInterface.json | 2 +- .../interface_schemas/AudioInterface.json | 2 +- .../AxonaRecordingInterface.json | 2 +- .../BiocamRecordingInterface.json | 2 +- .../BlackrockRecordingInterface.json | 2 +- .../BlackrockSortingInterface.json | 2 +- .../BrukerTiffMultiPlaneConverter.json | 2 +- .../BrukerTiffMultiPlaneImagingInterface.json | 2 +- .../BrukerTiffSinglePlaneConverter.json | 2 +- ...BrukerTiffSinglePlaneImagingInterface.json | 2 +- .../CaimanSegmentationInterface.json | 2 +- .../CellExplorerRecordingInterface.json | 2 +- .../CellExplorerSortingInterface.json | 2 +- .../CnmfeSegmentationInterface.json | 2 +- .../DeepLabCutInterface.json | 2 +- .../EDFRecordingInterface.json | 2 +- .../ExtractSegmentationInterface.json | 2 +- .../FicTracDataInterface.json | 2 +- .../IntanRecordingInterface.json | 2 +- .../KiloSortSortingInterface.json | 2 +- .../MCSRawRecordingInterface.json | 2 +- .../MEArecRecordingInterface.json | 2 +- .../MicroManagerTiffImagingInterface.json | 2 +- .../MiniscopeBehaviorInterface.json | 2 +- .../interface_schemas/MiniscopeConverter.json | 2 +- .../MiniscopeImagingInterface.json | 2 +- .../NeuralynxRecordingInterface.json | 2 +- .../NeuroScopeLFPInterface.json | 2 +- .../NeuroScopeRecordingInterface.json | 2 +- .../NeuroScopeSortingInterface.json | 2 +- .../OpenEphysRecordingInterface.json | 2 +- .../PhySortingInterface.json | 2 +- .../PlexonRecordingInterface.json | 2 +- .../PlexonSortingInterface.json | 2 +- .../interface_schemas/SLEAPInterface.json | 2 +- .../SbxImagingInterface.json | 2 +- .../ScanImageImagingInterface.json | 2 +- .../Spike2RecordingInterface.json | 2 +- .../SpikeGLXConverterPipe.json | 2 +- .../SpikeGLXNIDQInterface.json | 2 +- .../SpikeGLXRecordingInterface.json | 2 +- .../Suite2pSegmentationInterface.json | 2 +- .../TdtRecordingInterface.json | 2 +- .../TiffImagingInterface.json | 2 +- .../interface_schemas/VideoInterface.json | 2 +- stories/pages/SourceData.stories.js | 809 +++++++++--------- 46 files changed, 471 insertions(+), 428 deletions(-) diff --git a/stories/inputs/interface_schemas/AlphaOmegaRecordingInterface.json b/stories/inputs/interface_schemas/AlphaOmegaRecordingInterface.json index 597696ddf7..cfd2d72d51 100644 --- a/stories/inputs/interface_schemas/AlphaOmegaRecordingInterface.json +++ b/stories/inputs/interface_schemas/AlphaOmegaRecordingInterface.json @@ -31,4 +31,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/inputs/interface_schemas/AudioInterface.json b/stories/inputs/interface_schemas/AudioInterface.json index 2be8cc6b19..9ffca2ef0f 100644 --- a/stories/inputs/interface_schemas/AudioInterface.json +++ b/stories/inputs/interface_schemas/AudioInterface.json @@ -25,4 +25,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/inputs/interface_schemas/AxonaRecordingInterface.json b/stories/inputs/interface_schemas/AxonaRecordingInterface.json index bb3cc57611..5e703560a6 100644 --- a/stories/inputs/interface_schemas/AxonaRecordingInterface.json +++ b/stories/inputs/interface_schemas/AxonaRecordingInterface.json @@ -31,4 +31,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/inputs/interface_schemas/BiocamRecordingInterface.json b/stories/inputs/interface_schemas/BiocamRecordingInterface.json index 5ce0ab4270..7a7fa27302 100644 --- a/stories/inputs/interface_schemas/BiocamRecordingInterface.json +++ b/stories/inputs/interface_schemas/BiocamRecordingInterface.json @@ -31,4 +31,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/inputs/interface_schemas/BlackrockRecordingInterface.json b/stories/inputs/interface_schemas/BlackrockRecordingInterface.json index 00c78406d1..e14bcea726 100644 --- a/stories/inputs/interface_schemas/BlackrockRecordingInterface.json +++ b/stories/inputs/interface_schemas/BlackrockRecordingInterface.json @@ -35,4 +35,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/inputs/interface_schemas/BlackrockSortingInterface.json b/stories/inputs/interface_schemas/BlackrockSortingInterface.json index 3db9e086d7..98baa65846 100644 --- a/stories/inputs/interface_schemas/BlackrockSortingInterface.json +++ b/stories/inputs/interface_schemas/BlackrockSortingInterface.json @@ -32,4 +32,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/inputs/interface_schemas/BrukerTiffMultiPlaneConverter.json b/stories/inputs/interface_schemas/BrukerTiffMultiPlaneConverter.json index f32ce890ba..072c287f0e 100644 --- a/stories/inputs/interface_schemas/BrukerTiffMultiPlaneConverter.json +++ b/stories/inputs/interface_schemas/BrukerTiffMultiPlaneConverter.json @@ -33,4 +33,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/inputs/interface_schemas/BrukerTiffMultiPlaneImagingInterface.json b/stories/inputs/interface_schemas/BrukerTiffMultiPlaneImagingInterface.json index 8bca7878d1..4aa3faca75 100644 --- a/stories/inputs/interface_schemas/BrukerTiffMultiPlaneImagingInterface.json +++ b/stories/inputs/interface_schemas/BrukerTiffMultiPlaneImagingInterface.json @@ -30,4 +30,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/inputs/interface_schemas/BrukerTiffSinglePlaneConverter.json b/stories/inputs/interface_schemas/BrukerTiffSinglePlaneConverter.json index 1b813f76de..a4a52ec3e5 100644 --- a/stories/inputs/interface_schemas/BrukerTiffSinglePlaneConverter.json +++ b/stories/inputs/interface_schemas/BrukerTiffSinglePlaneConverter.json @@ -26,4 +26,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/inputs/interface_schemas/BrukerTiffSinglePlaneImagingInterface.json b/stories/inputs/interface_schemas/BrukerTiffSinglePlaneImagingInterface.json index 9717a52a3c..c04abec2df 100644 --- a/stories/inputs/interface_schemas/BrukerTiffSinglePlaneImagingInterface.json +++ b/stories/inputs/interface_schemas/BrukerTiffSinglePlaneImagingInterface.json @@ -30,4 +30,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/inputs/interface_schemas/CaimanSegmentationInterface.json b/stories/inputs/interface_schemas/CaimanSegmentationInterface.json index 42509ea5b6..1810b39b7e 100644 --- a/stories/inputs/interface_schemas/CaimanSegmentationInterface.json +++ b/stories/inputs/interface_schemas/CaimanSegmentationInterface.json @@ -27,4 +27,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/inputs/interface_schemas/CellExplorerRecordingInterface.json b/stories/inputs/interface_schemas/CellExplorerRecordingInterface.json index 7edd701fe9..ff3ce4df57 100644 --- a/stories/inputs/interface_schemas/CellExplorerRecordingInterface.json +++ b/stories/inputs/interface_schemas/CellExplorerRecordingInterface.json @@ -32,4 +32,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/inputs/interface_schemas/CellExplorerSortingInterface.json b/stories/inputs/interface_schemas/CellExplorerSortingInterface.json index e2cc689b17..c51a65d4ee 100644 --- a/stories/inputs/interface_schemas/CellExplorerSortingInterface.json +++ b/stories/inputs/interface_schemas/CellExplorerSortingInterface.json @@ -26,4 +26,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/inputs/interface_schemas/CnmfeSegmentationInterface.json b/stories/inputs/interface_schemas/CnmfeSegmentationInterface.json index 81006ec6d7..381a6c3a7c 100644 --- a/stories/inputs/interface_schemas/CnmfeSegmentationInterface.json +++ b/stories/inputs/interface_schemas/CnmfeSegmentationInterface.json @@ -26,4 +26,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/inputs/interface_schemas/DeepLabCutInterface.json b/stories/inputs/interface_schemas/DeepLabCutInterface.json index cf5c37c7c0..7e2e5fa401 100644 --- a/stories/inputs/interface_schemas/DeepLabCutInterface.json +++ b/stories/inputs/interface_schemas/DeepLabCutInterface.json @@ -37,4 +37,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/inputs/interface_schemas/EDFRecordingInterface.json b/stories/inputs/interface_schemas/EDFRecordingInterface.json index fff3b1fe74..b7371462e0 100644 --- a/stories/inputs/interface_schemas/EDFRecordingInterface.json +++ b/stories/inputs/interface_schemas/EDFRecordingInterface.json @@ -31,4 +31,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/inputs/interface_schemas/ExtractSegmentationInterface.json b/stories/inputs/interface_schemas/ExtractSegmentationInterface.json index 993d64284e..6d488ff38a 100644 --- a/stories/inputs/interface_schemas/ExtractSegmentationInterface.json +++ b/stories/inputs/interface_schemas/ExtractSegmentationInterface.json @@ -33,4 +33,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/inputs/interface_schemas/FicTracDataInterface.json b/stories/inputs/interface_schemas/FicTracDataInterface.json index b0773ebeef..6cd7f5f912 100644 --- a/stories/inputs/interface_schemas/FicTracDataInterface.json +++ b/stories/inputs/interface_schemas/FicTracDataInterface.json @@ -34,4 +34,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/inputs/interface_schemas/IntanRecordingInterface.json b/stories/inputs/interface_schemas/IntanRecordingInterface.json index fb0cf8d592..b7910b04ce 100644 --- a/stories/inputs/interface_schemas/IntanRecordingInterface.json +++ b/stories/inputs/interface_schemas/IntanRecordingInterface.json @@ -34,4 +34,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/inputs/interface_schemas/KiloSortSortingInterface.json b/stories/inputs/interface_schemas/KiloSortSortingInterface.json index 8799b8132d..b386258234 100644 --- a/stories/inputs/interface_schemas/KiloSortSortingInterface.json +++ b/stories/inputs/interface_schemas/KiloSortSortingInterface.json @@ -31,4 +31,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/inputs/interface_schemas/MCSRawRecordingInterface.json b/stories/inputs/interface_schemas/MCSRawRecordingInterface.json index 53bfeb9c77..58d5d63d11 100644 --- a/stories/inputs/interface_schemas/MCSRawRecordingInterface.json +++ b/stories/inputs/interface_schemas/MCSRawRecordingInterface.json @@ -31,4 +31,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/inputs/interface_schemas/MEArecRecordingInterface.json b/stories/inputs/interface_schemas/MEArecRecordingInterface.json index c29c7f18e0..d8bb66224b 100644 --- a/stories/inputs/interface_schemas/MEArecRecordingInterface.json +++ b/stories/inputs/interface_schemas/MEArecRecordingInterface.json @@ -31,4 +31,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/inputs/interface_schemas/MicroManagerTiffImagingInterface.json b/stories/inputs/interface_schemas/MicroManagerTiffImagingInterface.json index 77674f61e9..9791ad85b2 100644 --- a/stories/inputs/interface_schemas/MicroManagerTiffImagingInterface.json +++ b/stories/inputs/interface_schemas/MicroManagerTiffImagingInterface.json @@ -27,4 +27,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/inputs/interface_schemas/MiniscopeBehaviorInterface.json b/stories/inputs/interface_schemas/MiniscopeBehaviorInterface.json index 244d3a8dc8..506b9f7d2c 100644 --- a/stories/inputs/interface_schemas/MiniscopeBehaviorInterface.json +++ b/stories/inputs/interface_schemas/MiniscopeBehaviorInterface.json @@ -23,4 +23,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/inputs/interface_schemas/MiniscopeConverter.json b/stories/inputs/interface_schemas/MiniscopeConverter.json index d36c738312..38f969e75a 100644 --- a/stories/inputs/interface_schemas/MiniscopeConverter.json +++ b/stories/inputs/interface_schemas/MiniscopeConverter.json @@ -27,4 +27,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/inputs/interface_schemas/MiniscopeImagingInterface.json b/stories/inputs/interface_schemas/MiniscopeImagingInterface.json index 2792e9a5a6..cb5e3b55a5 100644 --- a/stories/inputs/interface_schemas/MiniscopeImagingInterface.json +++ b/stories/inputs/interface_schemas/MiniscopeImagingInterface.json @@ -23,4 +23,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/inputs/interface_schemas/NeuralynxRecordingInterface.json b/stories/inputs/interface_schemas/NeuralynxRecordingInterface.json index 6928d94f92..1bf31403fb 100644 --- a/stories/inputs/interface_schemas/NeuralynxRecordingInterface.json +++ b/stories/inputs/interface_schemas/NeuralynxRecordingInterface.json @@ -34,4 +34,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/inputs/interface_schemas/NeuroScopeLFPInterface.json b/stories/inputs/interface_schemas/NeuroScopeLFPInterface.json index 04eae8031e..639985ff2e 100644 --- a/stories/inputs/interface_schemas/NeuroScopeLFPInterface.json +++ b/stories/inputs/interface_schemas/NeuroScopeLFPInterface.json @@ -30,4 +30,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/inputs/interface_schemas/NeuroScopeRecordingInterface.json b/stories/inputs/interface_schemas/NeuroScopeRecordingInterface.json index 762672589b..7afc396a6d 100644 --- a/stories/inputs/interface_schemas/NeuroScopeRecordingInterface.json +++ b/stories/inputs/interface_schemas/NeuroScopeRecordingInterface.json @@ -38,4 +38,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/inputs/interface_schemas/NeuroScopeSortingInterface.json b/stories/inputs/interface_schemas/NeuroScopeSortingInterface.json index 65957ad236..10ebfe0695 100644 --- a/stories/inputs/interface_schemas/NeuroScopeSortingInterface.json +++ b/stories/inputs/interface_schemas/NeuroScopeSortingInterface.json @@ -41,4 +41,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/inputs/interface_schemas/OpenEphysRecordingInterface.json b/stories/inputs/interface_schemas/OpenEphysRecordingInterface.json index d0c142efef..caf2e25da6 100644 --- a/stories/inputs/interface_schemas/OpenEphysRecordingInterface.json +++ b/stories/inputs/interface_schemas/OpenEphysRecordingInterface.json @@ -37,4 +37,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/inputs/interface_schemas/PhySortingInterface.json b/stories/inputs/interface_schemas/PhySortingInterface.json index 8371aca2bf..cf03020e9c 100644 --- a/stories/inputs/interface_schemas/PhySortingInterface.json +++ b/stories/inputs/interface_schemas/PhySortingInterface.json @@ -33,4 +33,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/inputs/interface_schemas/PlexonRecordingInterface.json b/stories/inputs/interface_schemas/PlexonRecordingInterface.json index be9a910aa4..5d000b3a24 100644 --- a/stories/inputs/interface_schemas/PlexonRecordingInterface.json +++ b/stories/inputs/interface_schemas/PlexonRecordingInterface.json @@ -31,4 +31,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/inputs/interface_schemas/PlexonSortingInterface.json b/stories/inputs/interface_schemas/PlexonSortingInterface.json index c55df73046..5cc6bdc181 100644 --- a/stories/inputs/interface_schemas/PlexonSortingInterface.json +++ b/stories/inputs/interface_schemas/PlexonSortingInterface.json @@ -27,4 +27,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/inputs/interface_schemas/SLEAPInterface.json b/stories/inputs/interface_schemas/SLEAPInterface.json index e86ce424a2..77703778ba 100644 --- a/stories/inputs/interface_schemas/SLEAPInterface.json +++ b/stories/inputs/interface_schemas/SLEAPInterface.json @@ -35,4 +35,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/inputs/interface_schemas/SbxImagingInterface.json b/stories/inputs/interface_schemas/SbxImagingInterface.json index 8b97044b02..d02d2c0e74 100644 --- a/stories/inputs/interface_schemas/SbxImagingInterface.json +++ b/stories/inputs/interface_schemas/SbxImagingInterface.json @@ -29,4 +29,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/inputs/interface_schemas/ScanImageImagingInterface.json b/stories/inputs/interface_schemas/ScanImageImagingInterface.json index 0b2c0cffd8..1affeb16b8 100644 --- a/stories/inputs/interface_schemas/ScanImageImagingInterface.json +++ b/stories/inputs/interface_schemas/ScanImageImagingInterface.json @@ -36,4 +36,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/inputs/interface_schemas/Spike2RecordingInterface.json b/stories/inputs/interface_schemas/Spike2RecordingInterface.json index 1f561d8552..ad5d913210 100644 --- a/stories/inputs/interface_schemas/Spike2RecordingInterface.json +++ b/stories/inputs/interface_schemas/Spike2RecordingInterface.json @@ -31,4 +31,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/inputs/interface_schemas/SpikeGLXConverterPipe.json b/stories/inputs/interface_schemas/SpikeGLXConverterPipe.json index dd6a4e9cda..4b2fb1eae9 100644 --- a/stories/inputs/interface_schemas/SpikeGLXConverterPipe.json +++ b/stories/inputs/interface_schemas/SpikeGLXConverterPipe.json @@ -28,4 +28,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/inputs/interface_schemas/SpikeGLXNIDQInterface.json b/stories/inputs/interface_schemas/SpikeGLXNIDQInterface.json index 9aea153710..0903b15800 100644 --- a/stories/inputs/interface_schemas/SpikeGLXNIDQInterface.json +++ b/stories/inputs/interface_schemas/SpikeGLXNIDQInterface.json @@ -37,4 +37,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/inputs/interface_schemas/SpikeGLXRecordingInterface.json b/stories/inputs/interface_schemas/SpikeGLXRecordingInterface.json index 1e3565f2ca..fe04f74eea 100644 --- a/stories/inputs/interface_schemas/SpikeGLXRecordingInterface.json +++ b/stories/inputs/interface_schemas/SpikeGLXRecordingInterface.json @@ -31,4 +31,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/inputs/interface_schemas/Suite2pSegmentationInterface.json b/stories/inputs/interface_schemas/Suite2pSegmentationInterface.json index 2c34480e34..417ff557c6 100644 --- a/stories/inputs/interface_schemas/Suite2pSegmentationInterface.json +++ b/stories/inputs/interface_schemas/Suite2pSegmentationInterface.json @@ -37,4 +37,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/inputs/interface_schemas/TdtRecordingInterface.json b/stories/inputs/interface_schemas/TdtRecordingInterface.json index 6ea7b38dc1..d48e0f968e 100644 --- a/stories/inputs/interface_schemas/TdtRecordingInterface.json +++ b/stories/inputs/interface_schemas/TdtRecordingInterface.json @@ -38,4 +38,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/inputs/interface_schemas/TiffImagingInterface.json b/stories/inputs/interface_schemas/TiffImagingInterface.json index 0cce7efa66..036de528ab 100644 --- a/stories/inputs/interface_schemas/TiffImagingInterface.json +++ b/stories/inputs/interface_schemas/TiffImagingInterface.json @@ -31,4 +31,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/inputs/interface_schemas/VideoInterface.json b/stories/inputs/interface_schemas/VideoInterface.json index 99abd0068f..259c53a3da 100644 --- a/stories/inputs/interface_schemas/VideoInterface.json +++ b/stories/inputs/interface_schemas/VideoInterface.json @@ -25,4 +25,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/pages/SourceData.stories.js b/stories/pages/SourceData.stories.js index ec92334040..8d4469e042 100644 --- a/stories/pages/SourceData.stories.js +++ b/stories/pages/SourceData.stories.js @@ -1,383 +1,426 @@ -import { globalState, PageTemplate } from "./storyStates"; -import SpikeGLXRecordingInterfaceSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/SpikeGLXRecordingInterface.json' -import SpikeGLXNIDQInterfaceSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/SpikeGLXNIDQInterface.json' -import PhySortingInterfaceSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/PhySortingInterface.json' -import NeuroScopeRecordingInterfaceSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/NeuroScopeRecordingInterface.json' -import NeuroScopeLFPInterfaceSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/NeuroScopeLFPInterface.json' -import NeuroScopeSortingInterfaceSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/NeuroScopeSortingInterface.json' -import BiocamRecordingInterfaceSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/BiocamRecordingInterface.json' -import IntanRecordingInterfaceSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/IntanRecordingInterface.json' -import OpenEphysRecordingInterfaceSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/OpenEphysRecordingInterface.json' -import BlackrockRecordingInterfaceSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/BlackrockRecordingInterface.json' -import BlackrockSortingInterfaceSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/BlackrockSortingInterface.json' -import CellExplorerSortingInterfaceSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/CellExplorerSortingInterface.json' -import KiloSortSortingInterfaceSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/KiloSortSortingInterface.json' -import TdtRecordingInterfaceSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/TdtRecordingInterface.json' -import Spike2RecordingInterfaceSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/Spike2RecordingInterface.json' -import BrukerTiffSinglePlaneImagingInterfaceSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/BrukerTiffSinglePlaneImagingInterface.json' -import ExtractSegmentationInterfaceSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/ExtractSegmentationInterface.json' -import CnmfeSegmentationInterfaceSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/CnmfeSegmentationInterface.json' -import BrukerTiffMultiPlaneImagingInterfaceSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/BrukerTiffMultiPlaneImagingInterface.json' -import MicroManagerTiffImagingInterfaceSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/MicroManagerTiffImagingInterface.json' -import ScanImageImagingInterfaceSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/ScanImageImagingInterface.json' -import TiffImagingInterfaceSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/TiffImagingInterface.json' -import MiniscopeImagingInterfaceSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/MiniscopeImagingInterface.json' -import SbxImagingInterfaceSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/SbxImagingInterface.json' -import CaimanSegmentationInterfaceSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/CaimanSegmentationInterface.json' -import MCSRawRecordingInterfaceSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/MCSRawRecordingInterface.json' -import MEArecRecordingInterfaceSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/MEArecRecordingInterface.json' -import PlexonRecordingInterfaceSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/PlexonRecordingInterface.json' -import PlexonSortingInterfaceSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/PlexonSortingInterface.json' -import AxonaRecordingInterfaceSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/AxonaRecordingInterface.json' -import VideoInterfaceSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/VideoInterface.json' -import NeuralynxRecordingInterfaceSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/NeuralynxRecordingInterface.json' -import Suite2pSegmentationInterfaceSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/Suite2pSegmentationInterface.json' -import AlphaOmegaRecordingInterfaceSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/AlphaOmegaRecordingInterface.json' -import DeepLabCutInterfaceSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/DeepLabCutInterface.json' -import SLEAPInterfaceSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/SLEAPInterface.json' -import FicTracDataInterfaceSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/FicTracDataInterface.json' -import AudioInterfaceSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/AudioInterface.json' -import MiniscopeBehaviorInterfaceSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/MiniscopeBehaviorInterface.json' -import EDFRecordingInterfaceSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/EDFRecordingInterface.json' -import SpikeGLXConverterPipeSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/SpikeGLXConverterPipe.json' -import BrukerTiffSinglePlaneConverterSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/BrukerTiffSinglePlaneConverter.json' -import BrukerTiffMultiPlaneConverterSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/BrukerTiffMultiPlaneConverter.json' -import MiniscopeConverterSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/MiniscopeConverter.json' -import CellExplorerRecordingInterfaceSchema from '../inputs/interface_schemas/stories/inputs/interface_schemas/CellExplorerRecordingInterface.json' - -export default { - title: "Pages/Guided Mode/Source Data", - parameters: { - chromatic: { disableSnapshot: false }, - } -}; - -const activePage = "//sourcedata" - - -const globalStateCopy = JSON.parse(JSON.stringify(globalState)) -globalStateCopy.schema.source_data.properties.SpikeGLXRecordingInterface = SpikeGLXRecordingInterfaceSchema.properties.SpikeGLXRecordingInterface -globalStateCopy.schema.source_data.properties.SpikeGLXNIDQInterface = SpikeGLXNIDQInterfaceSchema.properties.SpikeGLXNIDQInterface -globalStateCopy.schema.source_data.properties.PhySortingInterface = PhySortingInterfaceSchema.properties.PhySortingInterface -globalStateCopy.schema.source_data.properties.NeuroScopeRecordingInterface = NeuroScopeRecordingInterfaceSchema.properties.NeuroScopeRecordingInterface -globalStateCopy.schema.source_data.properties.NeuroScopeLFPInterface = NeuroScopeLFPInterfaceSchema.properties.NeuroScopeLFPInterface -globalStateCopy.schema.source_data.properties.NeuroScopeSortingInterface = NeuroScopeSortingInterfaceSchema.properties.NeuroScopeSortingInterface -globalStateCopy.schema.source_data.properties.BiocamRecordingInterface = BiocamRecordingInterfaceSchema.properties.BiocamRecordingInterface -globalStateCopy.schema.source_data.properties.IntanRecordingInterface = IntanRecordingInterfaceSchema.properties.IntanRecordingInterface -globalStateCopy.schema.source_data.properties.OpenEphysRecordingInterface = OpenEphysRecordingInterfaceSchema.properties.OpenEphysRecordingInterface -globalStateCopy.schema.source_data.properties.BlackrockRecordingInterface = BlackrockRecordingInterfaceSchema.properties.BlackrockRecordingInterface -globalStateCopy.schema.source_data.properties.BlackrockSortingInterface = BlackrockSortingInterfaceSchema.properties.BlackrockSortingInterface -globalStateCopy.schema.source_data.properties.CellExplorerSortingInterface = CellExplorerSortingInterfaceSchema.properties.CellExplorerSortingInterface -globalStateCopy.schema.source_data.properties.KiloSortSortingInterface = KiloSortSortingInterfaceSchema.properties.KiloSortSortingInterface -globalStateCopy.schema.source_data.properties.TdtRecordingInterface = TdtRecordingInterfaceSchema.properties.TdtRecordingInterface -globalStateCopy.schema.source_data.properties.Spike2RecordingInterface = Spike2RecordingInterfaceSchema.properties.Spike2RecordingInterface -globalStateCopy.schema.source_data.properties.BrukerTiffSinglePlaneImagingInterface = BrukerTiffSinglePlaneImagingInterfaceSchema.properties.BrukerTiffSinglePlaneImagingInterface -globalStateCopy.schema.source_data.properties.ExtractSegmentationInterface = ExtractSegmentationInterfaceSchema.properties.ExtractSegmentationInterface -globalStateCopy.schema.source_data.properties.CnmfeSegmentationInterface = CnmfeSegmentationInterfaceSchema.properties.CnmfeSegmentationInterface -globalStateCopy.schema.source_data.properties.BrukerTiffMultiPlaneImagingInterface = BrukerTiffMultiPlaneImagingInterfaceSchema.properties.BrukerTiffMultiPlaneImagingInterface -globalStateCopy.schema.source_data.properties.MicroManagerTiffImagingInterface = MicroManagerTiffImagingInterfaceSchema.properties.MicroManagerTiffImagingInterface -globalStateCopy.schema.source_data.properties.ScanImageImagingInterface = ScanImageImagingInterfaceSchema.properties.ScanImageImagingInterface -globalStateCopy.schema.source_data.properties.TiffImagingInterface = TiffImagingInterfaceSchema.properties.TiffImagingInterface -globalStateCopy.schema.source_data.properties.MiniscopeImagingInterface = MiniscopeImagingInterfaceSchema.properties.MiniscopeImagingInterface -globalStateCopy.schema.source_data.properties.SbxImagingInterface = SbxImagingInterfaceSchema.properties.SbxImagingInterface -globalStateCopy.schema.source_data.properties.CaimanSegmentationInterface = CaimanSegmentationInterfaceSchema.properties.CaimanSegmentationInterface -globalStateCopy.schema.source_data.properties.MCSRawRecordingInterface = MCSRawRecordingInterfaceSchema.properties.MCSRawRecordingInterface -globalStateCopy.schema.source_data.properties.MEArecRecordingInterface = MEArecRecordingInterfaceSchema.properties.MEArecRecordingInterface -globalStateCopy.schema.source_data.properties.PlexonRecordingInterface = PlexonRecordingInterfaceSchema.properties.PlexonRecordingInterface -globalStateCopy.schema.source_data.properties.PlexonSortingInterface = PlexonSortingInterfaceSchema.properties.PlexonSortingInterface -globalStateCopy.schema.source_data.properties.AxonaRecordingInterface = AxonaRecordingInterfaceSchema.properties.AxonaRecordingInterface -globalStateCopy.schema.source_data.properties.VideoInterface = VideoInterfaceSchema.properties.VideoInterface -globalStateCopy.schema.source_data.properties.NeuralynxRecordingInterface = NeuralynxRecordingInterfaceSchema.properties.NeuralynxRecordingInterface -globalStateCopy.schema.source_data.properties.Suite2pSegmentationInterface = Suite2pSegmentationInterfaceSchema.properties.Suite2pSegmentationInterface -globalStateCopy.schema.source_data.properties.AlphaOmegaRecordingInterface = AlphaOmegaRecordingInterfaceSchema.properties.AlphaOmegaRecordingInterface -globalStateCopy.schema.source_data.properties.DeepLabCutInterface = DeepLabCutInterfaceSchema.properties.DeepLabCutInterface -globalStateCopy.schema.source_data.properties.SLEAPInterface = SLEAPInterfaceSchema.properties.SLEAPInterface -globalStateCopy.schema.source_data.properties.FicTracDataInterface = FicTracDataInterfaceSchema.properties.FicTracDataInterface -globalStateCopy.schema.source_data.properties.AudioInterface = AudioInterfaceSchema.properties.AudioInterface -globalStateCopy.schema.source_data.properties.MiniscopeBehaviorInterface = MiniscopeBehaviorInterfaceSchema.properties.MiniscopeBehaviorInterface -globalStateCopy.schema.source_data.properties.EDFRecordingInterface = EDFRecordingInterfaceSchema.properties.EDFRecordingInterface -globalStateCopy.schema.source_data.properties.SpikeGLXConverterPipe = SpikeGLXConverterPipeSchema.properties.SpikeGLXConverterPipe -globalStateCopy.schema.source_data.properties.BrukerTiffSinglePlaneConverter = BrukerTiffSinglePlaneConverterSchema.properties.BrukerTiffSinglePlaneConverter -globalStateCopy.schema.source_data.properties.BrukerTiffMultiPlaneConverter = BrukerTiffMultiPlaneConverterSchema.properties.BrukerTiffMultiPlaneConverter -globalStateCopy.schema.source_data.properties.MiniscopeConverter = MiniscopeConverterSchema.properties.MiniscopeConverter -globalStateCopy.schema.source_data.properties.CellExplorerRecordingInterface = CellExplorerRecordingInterfaceSchema.properties.CellExplorerRecordingInterface - -const results = globalStateCopy.results -for (let sub in results){ - for (let ses in results[sub]) results[sub][ses].source_data = {SpikeGLXNIDQInterface: {file_path: '/dummy/file/path'}} -} - - -export const All = PageTemplate.bind({}); -All.args = { activePage, globalState: globalStateCopy }; - -export const SpikeGLXRecordingInterface = PageTemplate.bind({}); -const SpikeGLXRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) -SpikeGLXRecordingInterfaceGlobalCopy.interfaces.interface = SpikeGLXRecordingInterface -SpikeGLXRecordingInterfaceGlobalCopy.schema.source_data = SpikeGLXRecordingInterfaceSchema -SpikeGLXRecordingInterface.args = { activePage, globalState: SpikeGLXRecordingInterfaceGlobalCopy }; - -export const SpikeGLXNIDQInterface = PageTemplate.bind({}); -const SpikeGLXNIDQInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) -SpikeGLXNIDQInterfaceGlobalCopy.interfaces.interface = SpikeGLXNIDQInterface -SpikeGLXNIDQInterfaceGlobalCopy.schema.source_data = SpikeGLXNIDQInterfaceSchema -SpikeGLXNIDQInterface.args = { activePage, globalState: SpikeGLXNIDQInterfaceGlobalCopy }; - -export const PhySortingInterface = PageTemplate.bind({}); -const PhySortingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) -PhySortingInterfaceGlobalCopy.interfaces.interface = PhySortingInterface -PhySortingInterfaceGlobalCopy.schema.source_data = PhySortingInterfaceSchema -PhySortingInterface.args = { activePage, globalState: PhySortingInterfaceGlobalCopy }; - -export const NeuroScopeRecordingInterface = PageTemplate.bind({}); -const NeuroScopeRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) -NeuroScopeRecordingInterfaceGlobalCopy.interfaces.interface = NeuroScopeRecordingInterface -NeuroScopeRecordingInterfaceGlobalCopy.schema.source_data = NeuroScopeRecordingInterfaceSchema -NeuroScopeRecordingInterface.args = { activePage, globalState: NeuroScopeRecordingInterfaceGlobalCopy }; - -export const NeuroScopeLFPInterface = PageTemplate.bind({}); -const NeuroScopeLFPInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) -NeuroScopeLFPInterfaceGlobalCopy.interfaces.interface = NeuroScopeLFPInterface -NeuroScopeLFPInterfaceGlobalCopy.schema.source_data = NeuroScopeLFPInterfaceSchema -NeuroScopeLFPInterface.args = { activePage, globalState: NeuroScopeLFPInterfaceGlobalCopy }; - -export const NeuroScopeSortingInterface = PageTemplate.bind({}); -const NeuroScopeSortingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) -NeuroScopeSortingInterfaceGlobalCopy.interfaces.interface = NeuroScopeSortingInterface -NeuroScopeSortingInterfaceGlobalCopy.schema.source_data = NeuroScopeSortingInterfaceSchema -NeuroScopeSortingInterface.args = { activePage, globalState: NeuroScopeSortingInterfaceGlobalCopy }; - -export const BiocamRecordingInterface = PageTemplate.bind({}); -const BiocamRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) -BiocamRecordingInterfaceGlobalCopy.interfaces.interface = BiocamRecordingInterface -BiocamRecordingInterfaceGlobalCopy.schema.source_data = BiocamRecordingInterfaceSchema -BiocamRecordingInterface.args = { activePage, globalState: BiocamRecordingInterfaceGlobalCopy }; - -export const IntanRecordingInterface = PageTemplate.bind({}); -const IntanRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) -IntanRecordingInterfaceGlobalCopy.interfaces.interface = IntanRecordingInterface -IntanRecordingInterfaceGlobalCopy.schema.source_data = IntanRecordingInterfaceSchema -IntanRecordingInterface.args = { activePage, globalState: IntanRecordingInterfaceGlobalCopy }; - -export const OpenEphysRecordingInterface = PageTemplate.bind({}); -const OpenEphysRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) -OpenEphysRecordingInterfaceGlobalCopy.interfaces.interface = OpenEphysRecordingInterface -OpenEphysRecordingInterfaceGlobalCopy.schema.source_data = OpenEphysRecordingInterfaceSchema -OpenEphysRecordingInterface.args = { activePage, globalState: OpenEphysRecordingInterfaceGlobalCopy }; - -export const BlackrockRecordingInterface = PageTemplate.bind({}); -const BlackrockRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) -BlackrockRecordingInterfaceGlobalCopy.interfaces.interface = BlackrockRecordingInterface -BlackrockRecordingInterfaceGlobalCopy.schema.source_data = BlackrockRecordingInterfaceSchema -BlackrockRecordingInterface.args = { activePage, globalState: BlackrockRecordingInterfaceGlobalCopy }; - -export const BlackrockSortingInterface = PageTemplate.bind({}); -const BlackrockSortingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) -BlackrockSortingInterfaceGlobalCopy.interfaces.interface = BlackrockSortingInterface -BlackrockSortingInterfaceGlobalCopy.schema.source_data = BlackrockSortingInterfaceSchema -BlackrockSortingInterface.args = { activePage, globalState: BlackrockSortingInterfaceGlobalCopy }; - -export const CellExplorerSortingInterface = PageTemplate.bind({}); -const CellExplorerSortingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) -CellExplorerSortingInterfaceGlobalCopy.interfaces.interface = CellExplorerSortingInterface -CellExplorerSortingInterfaceGlobalCopy.schema.source_data = CellExplorerSortingInterfaceSchema -CellExplorerSortingInterface.args = { activePage, globalState: CellExplorerSortingInterfaceGlobalCopy }; - -export const KiloSortSortingInterface = PageTemplate.bind({}); -const KiloSortSortingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) -KiloSortSortingInterfaceGlobalCopy.interfaces.interface = KiloSortSortingInterface -KiloSortSortingInterfaceGlobalCopy.schema.source_data = KiloSortSortingInterfaceSchema -KiloSortSortingInterface.args = { activePage, globalState: KiloSortSortingInterfaceGlobalCopy }; - -export const TdtRecordingInterface = PageTemplate.bind({}); -const TdtRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) -TdtRecordingInterfaceGlobalCopy.interfaces.interface = TdtRecordingInterface -TdtRecordingInterfaceGlobalCopy.schema.source_data = TdtRecordingInterfaceSchema -TdtRecordingInterface.args = { activePage, globalState: TdtRecordingInterfaceGlobalCopy }; - -export const Spike2RecordingInterface = PageTemplate.bind({}); -const Spike2RecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) -Spike2RecordingInterfaceGlobalCopy.interfaces.interface = Spike2RecordingInterface -Spike2RecordingInterfaceGlobalCopy.schema.source_data = Spike2RecordingInterfaceSchema -Spike2RecordingInterface.args = { activePage, globalState: Spike2RecordingInterfaceGlobalCopy }; - -export const BrukerTiffSinglePlaneImagingInterface = PageTemplate.bind({}); -const BrukerTiffSinglePlaneImagingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) -BrukerTiffSinglePlaneImagingInterfaceGlobalCopy.interfaces.interface = BrukerTiffSinglePlaneImagingInterface -BrukerTiffSinglePlaneImagingInterfaceGlobalCopy.schema.source_data = BrukerTiffSinglePlaneImagingInterfaceSchema -BrukerTiffSinglePlaneImagingInterface.args = { activePage, globalState: BrukerTiffSinglePlaneImagingInterfaceGlobalCopy }; - -export const ExtractSegmentationInterface = PageTemplate.bind({}); -const ExtractSegmentationInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) -ExtractSegmentationInterfaceGlobalCopy.interfaces.interface = ExtractSegmentationInterface -ExtractSegmentationInterfaceGlobalCopy.schema.source_data = ExtractSegmentationInterfaceSchema -ExtractSegmentationInterface.args = { activePage, globalState: ExtractSegmentationInterfaceGlobalCopy }; - -export const CnmfeSegmentationInterface = PageTemplate.bind({}); -const CnmfeSegmentationInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) -CnmfeSegmentationInterfaceGlobalCopy.interfaces.interface = CnmfeSegmentationInterface -CnmfeSegmentationInterfaceGlobalCopy.schema.source_data = CnmfeSegmentationInterfaceSchema -CnmfeSegmentationInterface.args = { activePage, globalState: CnmfeSegmentationInterfaceGlobalCopy }; - -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 -MicroManagerTiffImagingInterfaceGlobalCopy.schema.source_data = MicroManagerTiffImagingInterfaceSchema -MicroManagerTiffImagingInterface.args = { activePage, globalState: MicroManagerTiffImagingInterfaceGlobalCopy }; - -export const ScanImageImagingInterface = PageTemplate.bind({}); -const ScanImageImagingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) -ScanImageImagingInterfaceGlobalCopy.interfaces.interface = ScanImageImagingInterface -ScanImageImagingInterfaceGlobalCopy.schema.source_data = ScanImageImagingInterfaceSchema -ScanImageImagingInterface.args = { activePage, globalState: ScanImageImagingInterfaceGlobalCopy }; - -export const TiffImagingInterface = PageTemplate.bind({}); -const TiffImagingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) -TiffImagingInterfaceGlobalCopy.interfaces.interface = TiffImagingInterface -TiffImagingInterfaceGlobalCopy.schema.source_data = TiffImagingInterfaceSchema -TiffImagingInterface.args = { activePage, globalState: TiffImagingInterfaceGlobalCopy }; - -export const MiniscopeImagingInterface = PageTemplate.bind({}); -const MiniscopeImagingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) -MiniscopeImagingInterfaceGlobalCopy.interfaces.interface = MiniscopeImagingInterface -MiniscopeImagingInterfaceGlobalCopy.schema.source_data = MiniscopeImagingInterfaceSchema -MiniscopeImagingInterface.args = { activePage, globalState: MiniscopeImagingInterfaceGlobalCopy }; - -export const SbxImagingInterface = PageTemplate.bind({}); -const SbxImagingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) -SbxImagingInterfaceGlobalCopy.interfaces.interface = SbxImagingInterface -SbxImagingInterfaceGlobalCopy.schema.source_data = SbxImagingInterfaceSchema -SbxImagingInterface.args = { activePage, globalState: SbxImagingInterfaceGlobalCopy }; - -export const CaimanSegmentationInterface = PageTemplate.bind({}); -const CaimanSegmentationInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) -CaimanSegmentationInterfaceGlobalCopy.interfaces.interface = CaimanSegmentationInterface -CaimanSegmentationInterfaceGlobalCopy.schema.source_data = CaimanSegmentationInterfaceSchema -CaimanSegmentationInterface.args = { activePage, globalState: CaimanSegmentationInterfaceGlobalCopy }; - -export const MCSRawRecordingInterface = PageTemplate.bind({}); -const MCSRawRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) -MCSRawRecordingInterfaceGlobalCopy.interfaces.interface = MCSRawRecordingInterface -MCSRawRecordingInterfaceGlobalCopy.schema.source_data = MCSRawRecordingInterfaceSchema -MCSRawRecordingInterface.args = { activePage, globalState: MCSRawRecordingInterfaceGlobalCopy }; - -export const MEArecRecordingInterface = PageTemplate.bind({}); -const MEArecRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) -MEArecRecordingInterfaceGlobalCopy.interfaces.interface = MEArecRecordingInterface -MEArecRecordingInterfaceGlobalCopy.schema.source_data = MEArecRecordingInterfaceSchema -MEArecRecordingInterface.args = { activePage, globalState: MEArecRecordingInterfaceGlobalCopy }; - -export const PlexonRecordingInterface = PageTemplate.bind({}); -const PlexonRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) -PlexonRecordingInterfaceGlobalCopy.interfaces.interface = PlexonRecordingInterface -PlexonRecordingInterfaceGlobalCopy.schema.source_data = PlexonRecordingInterfaceSchema -PlexonRecordingInterface.args = { activePage, globalState: PlexonRecordingInterfaceGlobalCopy }; - -export const PlexonSortingInterface = PageTemplate.bind({}); -const PlexonSortingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) -PlexonSortingInterfaceGlobalCopy.interfaces.interface = PlexonSortingInterface -PlexonSortingInterfaceGlobalCopy.schema.source_data = PlexonSortingInterfaceSchema -PlexonSortingInterface.args = { activePage, globalState: PlexonSortingInterfaceGlobalCopy }; - -export const AxonaRecordingInterface = PageTemplate.bind({}); -const AxonaRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) -AxonaRecordingInterfaceGlobalCopy.interfaces.interface = AxonaRecordingInterface -AxonaRecordingInterfaceGlobalCopy.schema.source_data = AxonaRecordingInterfaceSchema -AxonaRecordingInterface.args = { activePage, globalState: AxonaRecordingInterfaceGlobalCopy }; - -export const VideoInterface = PageTemplate.bind({}); -const VideoInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) -VideoInterfaceGlobalCopy.interfaces.interface = VideoInterface -VideoInterfaceGlobalCopy.schema.source_data = VideoInterfaceSchema -VideoInterface.args = { activePage, globalState: VideoInterfaceGlobalCopy }; - -export const NeuralynxRecordingInterface = PageTemplate.bind({}); -const NeuralynxRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) -NeuralynxRecordingInterfaceGlobalCopy.interfaces.interface = NeuralynxRecordingInterface -NeuralynxRecordingInterfaceGlobalCopy.schema.source_data = NeuralynxRecordingInterfaceSchema -NeuralynxRecordingInterface.args = { activePage, globalState: NeuralynxRecordingInterfaceGlobalCopy }; - -export const Suite2pSegmentationInterface = PageTemplate.bind({}); -const Suite2pSegmentationInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) -Suite2pSegmentationInterfaceGlobalCopy.interfaces.interface = Suite2pSegmentationInterface -Suite2pSegmentationInterfaceGlobalCopy.schema.source_data = Suite2pSegmentationInterfaceSchema -Suite2pSegmentationInterface.args = { activePage, globalState: Suite2pSegmentationInterfaceGlobalCopy }; - -export const AlphaOmegaRecordingInterface = PageTemplate.bind({}); -const AlphaOmegaRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) -AlphaOmegaRecordingInterfaceGlobalCopy.interfaces.interface = AlphaOmegaRecordingInterface -AlphaOmegaRecordingInterfaceGlobalCopy.schema.source_data = AlphaOmegaRecordingInterfaceSchema -AlphaOmegaRecordingInterface.args = { activePage, globalState: AlphaOmegaRecordingInterfaceGlobalCopy }; - -export const DeepLabCutInterface = PageTemplate.bind({}); -const DeepLabCutInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) -DeepLabCutInterfaceGlobalCopy.interfaces.interface = DeepLabCutInterface -DeepLabCutInterfaceGlobalCopy.schema.source_data = DeepLabCutInterfaceSchema -DeepLabCutInterface.args = { activePage, globalState: DeepLabCutInterfaceGlobalCopy }; - -export const SLEAPInterface = PageTemplate.bind({}); -const SLEAPInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) -SLEAPInterfaceGlobalCopy.interfaces.interface = SLEAPInterface -SLEAPInterfaceGlobalCopy.schema.source_data = SLEAPInterfaceSchema -SLEAPInterface.args = { activePage, globalState: SLEAPInterfaceGlobalCopy }; - -export const FicTracDataInterface = PageTemplate.bind({}); -const FicTracDataInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) -FicTracDataInterfaceGlobalCopy.interfaces.interface = FicTracDataInterface -FicTracDataInterfaceGlobalCopy.schema.source_data = FicTracDataInterfaceSchema -FicTracDataInterface.args = { activePage, globalState: FicTracDataInterfaceGlobalCopy }; - -export const AudioInterface = PageTemplate.bind({}); -const AudioInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) -AudioInterfaceGlobalCopy.interfaces.interface = AudioInterface -AudioInterfaceGlobalCopy.schema.source_data = AudioInterfaceSchema -AudioInterface.args = { activePage, globalState: AudioInterfaceGlobalCopy }; - -export const MiniscopeBehaviorInterface = PageTemplate.bind({}); -const MiniscopeBehaviorInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) -MiniscopeBehaviorInterfaceGlobalCopy.interfaces.interface = MiniscopeBehaviorInterface -MiniscopeBehaviorInterfaceGlobalCopy.schema.source_data = MiniscopeBehaviorInterfaceSchema -MiniscopeBehaviorInterface.args = { activePage, globalState: MiniscopeBehaviorInterfaceGlobalCopy }; - -export const EDFRecordingInterface = PageTemplate.bind({}); -const EDFRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) -EDFRecordingInterfaceGlobalCopy.interfaces.interface = EDFRecordingInterface -EDFRecordingInterfaceGlobalCopy.schema.source_data = EDFRecordingInterfaceSchema -EDFRecordingInterface.args = { activePage, globalState: EDFRecordingInterfaceGlobalCopy }; - -export const SpikeGLXConverterPipe = PageTemplate.bind({}); -const SpikeGLXConverterPipeGlobalCopy = JSON.parse(JSON.stringify(globalState)) -SpikeGLXConverterPipeGlobalCopy.interfaces.interface = SpikeGLXConverterPipe -SpikeGLXConverterPipeGlobalCopy.schema.source_data = SpikeGLXConverterPipeSchema -SpikeGLXConverterPipe.args = { activePage, globalState: SpikeGLXConverterPipeGlobalCopy }; - -export const BrukerTiffSinglePlaneConverter = PageTemplate.bind({}); -const BrukerTiffSinglePlaneConverterGlobalCopy = JSON.parse(JSON.stringify(globalState)) -BrukerTiffSinglePlaneConverterGlobalCopy.interfaces.interface = BrukerTiffSinglePlaneConverter -BrukerTiffSinglePlaneConverterGlobalCopy.schema.source_data = BrukerTiffSinglePlaneConverterSchema -BrukerTiffSinglePlaneConverter.args = { activePage, globalState: BrukerTiffSinglePlaneConverterGlobalCopy }; - -export const BrukerTiffMultiPlaneConverter = PageTemplate.bind({}); -const BrukerTiffMultiPlaneConverterGlobalCopy = JSON.parse(JSON.stringify(globalState)) -BrukerTiffMultiPlaneConverterGlobalCopy.interfaces.interface = BrukerTiffMultiPlaneConverter -BrukerTiffMultiPlaneConverterGlobalCopy.schema.source_data = BrukerTiffMultiPlaneConverterSchema -BrukerTiffMultiPlaneConverter.args = { activePage, globalState: BrukerTiffMultiPlaneConverterGlobalCopy }; - -export const MiniscopeConverter = PageTemplate.bind({}); -const MiniscopeConverterGlobalCopy = JSON.parse(JSON.stringify(globalState)) -MiniscopeConverterGlobalCopy.interfaces.interface = MiniscopeConverter -MiniscopeConverterGlobalCopy.schema.source_data = MiniscopeConverterSchema -MiniscopeConverter.args = { activePage, globalState: MiniscopeConverterGlobalCopy }; - -export const CellExplorerRecordingInterface = PageTemplate.bind({}); -const CellExplorerRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) -CellExplorerRecordingInterfaceGlobalCopy.interfaces.interface = CellExplorerRecordingInterface -CellExplorerRecordingInterfaceGlobalCopy.schema.source_data = CellExplorerRecordingInterfaceSchema -CellExplorerRecordingInterface.args = { activePage, globalState: CellExplorerRecordingInterfaceGlobalCopy }; - +import { globalState, PageTemplate } from "./storyStates"; +import SpikeGLXRecordingInterfaceSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/SpikeGLXRecordingInterface.json"; +import SpikeGLXNIDQInterfaceSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/SpikeGLXNIDQInterface.json"; +import PhySortingInterfaceSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/PhySortingInterface.json"; +import NeuroScopeRecordingInterfaceSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/NeuroScopeRecordingInterface.json"; +import NeuroScopeLFPInterfaceSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/NeuroScopeLFPInterface.json"; +import NeuroScopeSortingInterfaceSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/NeuroScopeSortingInterface.json"; +import BiocamRecordingInterfaceSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/BiocamRecordingInterface.json"; +import IntanRecordingInterfaceSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/IntanRecordingInterface.json"; +import OpenEphysRecordingInterfaceSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/OpenEphysRecordingInterface.json"; +import BlackrockRecordingInterfaceSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/BlackrockRecordingInterface.json"; +import BlackrockSortingInterfaceSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/BlackrockSortingInterface.json"; +import CellExplorerSortingInterfaceSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/CellExplorerSortingInterface.json"; +import KiloSortSortingInterfaceSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/KiloSortSortingInterface.json"; +import TdtRecordingInterfaceSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/TdtRecordingInterface.json"; +import Spike2RecordingInterfaceSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/Spike2RecordingInterface.json"; +import BrukerTiffSinglePlaneImagingInterfaceSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/BrukerTiffSinglePlaneImagingInterface.json"; +import ExtractSegmentationInterfaceSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/ExtractSegmentationInterface.json"; +import CnmfeSegmentationInterfaceSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/CnmfeSegmentationInterface.json"; +import BrukerTiffMultiPlaneImagingInterfaceSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/BrukerTiffMultiPlaneImagingInterface.json"; +import MicroManagerTiffImagingInterfaceSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/MicroManagerTiffImagingInterface.json"; +import ScanImageImagingInterfaceSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/ScanImageImagingInterface.json"; +import TiffImagingInterfaceSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/TiffImagingInterface.json"; +import MiniscopeImagingInterfaceSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/MiniscopeImagingInterface.json"; +import SbxImagingInterfaceSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/SbxImagingInterface.json"; +import CaimanSegmentationInterfaceSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/CaimanSegmentationInterface.json"; +import MCSRawRecordingInterfaceSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/MCSRawRecordingInterface.json"; +import MEArecRecordingInterfaceSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/MEArecRecordingInterface.json"; +import PlexonRecordingInterfaceSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/PlexonRecordingInterface.json"; +import PlexonSortingInterfaceSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/PlexonSortingInterface.json"; +import AxonaRecordingInterfaceSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/AxonaRecordingInterface.json"; +import VideoInterfaceSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/VideoInterface.json"; +import NeuralynxRecordingInterfaceSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/NeuralynxRecordingInterface.json"; +import Suite2pSegmentationInterfaceSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/Suite2pSegmentationInterface.json"; +import AlphaOmegaRecordingInterfaceSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/AlphaOmegaRecordingInterface.json"; +import DeepLabCutInterfaceSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/DeepLabCutInterface.json"; +import SLEAPInterfaceSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/SLEAPInterface.json"; +import FicTracDataInterfaceSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/FicTracDataInterface.json"; +import AudioInterfaceSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/AudioInterface.json"; +import MiniscopeBehaviorInterfaceSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/MiniscopeBehaviorInterface.json"; +import EDFRecordingInterfaceSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/EDFRecordingInterface.json"; +import SpikeGLXConverterPipeSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/SpikeGLXConverterPipe.json"; +import BrukerTiffSinglePlaneConverterSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/BrukerTiffSinglePlaneConverter.json"; +import BrukerTiffMultiPlaneConverterSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/BrukerTiffMultiPlaneConverter.json"; +import MiniscopeConverterSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/MiniscopeConverter.json"; +import CellExplorerRecordingInterfaceSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/CellExplorerRecordingInterface.json"; + +export default { + title: "Pages/Guided Mode/Source Data", + parameters: { + chromatic: { disableSnapshot: false }, + }, +}; + +const activePage = "//sourcedata"; + +const globalStateCopy = JSON.parse(JSON.stringify(globalState)); +globalStateCopy.schema.source_data.properties.SpikeGLXRecordingInterface = + SpikeGLXRecordingInterfaceSchema.properties.SpikeGLXRecordingInterface; +globalStateCopy.schema.source_data.properties.SpikeGLXNIDQInterface = + SpikeGLXNIDQInterfaceSchema.properties.SpikeGLXNIDQInterface; +globalStateCopy.schema.source_data.properties.PhySortingInterface = + PhySortingInterfaceSchema.properties.PhySortingInterface; +globalStateCopy.schema.source_data.properties.NeuroScopeRecordingInterface = + NeuroScopeRecordingInterfaceSchema.properties.NeuroScopeRecordingInterface; +globalStateCopy.schema.source_data.properties.NeuroScopeLFPInterface = + NeuroScopeLFPInterfaceSchema.properties.NeuroScopeLFPInterface; +globalStateCopy.schema.source_data.properties.NeuroScopeSortingInterface = + NeuroScopeSortingInterfaceSchema.properties.NeuroScopeSortingInterface; +globalStateCopy.schema.source_data.properties.BiocamRecordingInterface = + BiocamRecordingInterfaceSchema.properties.BiocamRecordingInterface; +globalStateCopy.schema.source_data.properties.IntanRecordingInterface = + IntanRecordingInterfaceSchema.properties.IntanRecordingInterface; +globalStateCopy.schema.source_data.properties.OpenEphysRecordingInterface = + OpenEphysRecordingInterfaceSchema.properties.OpenEphysRecordingInterface; +globalStateCopy.schema.source_data.properties.BlackrockRecordingInterface = + BlackrockRecordingInterfaceSchema.properties.BlackrockRecordingInterface; +globalStateCopy.schema.source_data.properties.BlackrockSortingInterface = + BlackrockSortingInterfaceSchema.properties.BlackrockSortingInterface; +globalStateCopy.schema.source_data.properties.CellExplorerSortingInterface = + CellExplorerSortingInterfaceSchema.properties.CellExplorerSortingInterface; +globalStateCopy.schema.source_data.properties.KiloSortSortingInterface = + KiloSortSortingInterfaceSchema.properties.KiloSortSortingInterface; +globalStateCopy.schema.source_data.properties.TdtRecordingInterface = + TdtRecordingInterfaceSchema.properties.TdtRecordingInterface; +globalStateCopy.schema.source_data.properties.Spike2RecordingInterface = + Spike2RecordingInterfaceSchema.properties.Spike2RecordingInterface; +globalStateCopy.schema.source_data.properties.BrukerTiffSinglePlaneImagingInterface = + BrukerTiffSinglePlaneImagingInterfaceSchema.properties.BrukerTiffSinglePlaneImagingInterface; +globalStateCopy.schema.source_data.properties.ExtractSegmentationInterface = + ExtractSegmentationInterfaceSchema.properties.ExtractSegmentationInterface; +globalStateCopy.schema.source_data.properties.CnmfeSegmentationInterface = + CnmfeSegmentationInterfaceSchema.properties.CnmfeSegmentationInterface; +globalStateCopy.schema.source_data.properties.BrukerTiffMultiPlaneImagingInterface = + BrukerTiffMultiPlaneImagingInterfaceSchema.properties.BrukerTiffMultiPlaneImagingInterface; +globalStateCopy.schema.source_data.properties.MicroManagerTiffImagingInterface = + MicroManagerTiffImagingInterfaceSchema.properties.MicroManagerTiffImagingInterface; +globalStateCopy.schema.source_data.properties.ScanImageImagingInterface = + ScanImageImagingInterfaceSchema.properties.ScanImageImagingInterface; +globalStateCopy.schema.source_data.properties.TiffImagingInterface = + TiffImagingInterfaceSchema.properties.TiffImagingInterface; +globalStateCopy.schema.source_data.properties.MiniscopeImagingInterface = + MiniscopeImagingInterfaceSchema.properties.MiniscopeImagingInterface; +globalStateCopy.schema.source_data.properties.SbxImagingInterface = + SbxImagingInterfaceSchema.properties.SbxImagingInterface; +globalStateCopy.schema.source_data.properties.CaimanSegmentationInterface = + CaimanSegmentationInterfaceSchema.properties.CaimanSegmentationInterface; +globalStateCopy.schema.source_data.properties.MCSRawRecordingInterface = + MCSRawRecordingInterfaceSchema.properties.MCSRawRecordingInterface; +globalStateCopy.schema.source_data.properties.MEArecRecordingInterface = + MEArecRecordingInterfaceSchema.properties.MEArecRecordingInterface; +globalStateCopy.schema.source_data.properties.PlexonRecordingInterface = + PlexonRecordingInterfaceSchema.properties.PlexonRecordingInterface; +globalStateCopy.schema.source_data.properties.PlexonSortingInterface = + PlexonSortingInterfaceSchema.properties.PlexonSortingInterface; +globalStateCopy.schema.source_data.properties.AxonaRecordingInterface = + AxonaRecordingInterfaceSchema.properties.AxonaRecordingInterface; +globalStateCopy.schema.source_data.properties.VideoInterface = VideoInterfaceSchema.properties.VideoInterface; +globalStateCopy.schema.source_data.properties.NeuralynxRecordingInterface = + NeuralynxRecordingInterfaceSchema.properties.NeuralynxRecordingInterface; +globalStateCopy.schema.source_data.properties.Suite2pSegmentationInterface = + Suite2pSegmentationInterfaceSchema.properties.Suite2pSegmentationInterface; +globalStateCopy.schema.source_data.properties.AlphaOmegaRecordingInterface = + AlphaOmegaRecordingInterfaceSchema.properties.AlphaOmegaRecordingInterface; +globalStateCopy.schema.source_data.properties.DeepLabCutInterface = + DeepLabCutInterfaceSchema.properties.DeepLabCutInterface; +globalStateCopy.schema.source_data.properties.SLEAPInterface = SLEAPInterfaceSchema.properties.SLEAPInterface; +globalStateCopy.schema.source_data.properties.FicTracDataInterface = + FicTracDataInterfaceSchema.properties.FicTracDataInterface; +globalStateCopy.schema.source_data.properties.AudioInterface = AudioInterfaceSchema.properties.AudioInterface; +globalStateCopy.schema.source_data.properties.MiniscopeBehaviorInterface = + MiniscopeBehaviorInterfaceSchema.properties.MiniscopeBehaviorInterface; +globalStateCopy.schema.source_data.properties.EDFRecordingInterface = + EDFRecordingInterfaceSchema.properties.EDFRecordingInterface; +globalStateCopy.schema.source_data.properties.SpikeGLXConverterPipe = + SpikeGLXConverterPipeSchema.properties.SpikeGLXConverterPipe; +globalStateCopy.schema.source_data.properties.BrukerTiffSinglePlaneConverter = + BrukerTiffSinglePlaneConverterSchema.properties.BrukerTiffSinglePlaneConverter; +globalStateCopy.schema.source_data.properties.BrukerTiffMultiPlaneConverter = + BrukerTiffMultiPlaneConverterSchema.properties.BrukerTiffMultiPlaneConverter; +globalStateCopy.schema.source_data.properties.MiniscopeConverter = + MiniscopeConverterSchema.properties.MiniscopeConverter; +globalStateCopy.schema.source_data.properties.CellExplorerRecordingInterface = + CellExplorerRecordingInterfaceSchema.properties.CellExplorerRecordingInterface; + +const results = globalStateCopy.results; +for (let sub in results) { + for (let ses in results[sub]) + results[sub][ses].source_data = { SpikeGLXNIDQInterface: { file_path: "/dummy/file/path" } }; +} + +export const All = PageTemplate.bind({}); +All.args = { activePage, globalState: globalStateCopy }; + +export const SpikeGLXRecordingInterface = PageTemplate.bind({}); +const SpikeGLXRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); +SpikeGLXRecordingInterfaceGlobalCopy.interfaces.interface = SpikeGLXRecordingInterface; +SpikeGLXRecordingInterfaceGlobalCopy.schema.source_data = SpikeGLXRecordingInterfaceSchema; +SpikeGLXRecordingInterface.args = { activePage, globalState: SpikeGLXRecordingInterfaceGlobalCopy }; + +export const SpikeGLXNIDQInterface = PageTemplate.bind({}); +const SpikeGLXNIDQInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); +SpikeGLXNIDQInterfaceGlobalCopy.interfaces.interface = SpikeGLXNIDQInterface; +SpikeGLXNIDQInterfaceGlobalCopy.schema.source_data = SpikeGLXNIDQInterfaceSchema; +SpikeGLXNIDQInterface.args = { activePage, globalState: SpikeGLXNIDQInterfaceGlobalCopy }; + +export const PhySortingInterface = PageTemplate.bind({}); +const PhySortingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); +PhySortingInterfaceGlobalCopy.interfaces.interface = PhySortingInterface; +PhySortingInterfaceGlobalCopy.schema.source_data = PhySortingInterfaceSchema; +PhySortingInterface.args = { activePage, globalState: PhySortingInterfaceGlobalCopy }; + +export const NeuroScopeRecordingInterface = PageTemplate.bind({}); +const NeuroScopeRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); +NeuroScopeRecordingInterfaceGlobalCopy.interfaces.interface = NeuroScopeRecordingInterface; +NeuroScopeRecordingInterfaceGlobalCopy.schema.source_data = NeuroScopeRecordingInterfaceSchema; +NeuroScopeRecordingInterface.args = { activePage, globalState: NeuroScopeRecordingInterfaceGlobalCopy }; + +export const NeuroScopeLFPInterface = PageTemplate.bind({}); +const NeuroScopeLFPInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); +NeuroScopeLFPInterfaceGlobalCopy.interfaces.interface = NeuroScopeLFPInterface; +NeuroScopeLFPInterfaceGlobalCopy.schema.source_data = NeuroScopeLFPInterfaceSchema; +NeuroScopeLFPInterface.args = { activePage, globalState: NeuroScopeLFPInterfaceGlobalCopy }; + +export const NeuroScopeSortingInterface = PageTemplate.bind({}); +const NeuroScopeSortingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); +NeuroScopeSortingInterfaceGlobalCopy.interfaces.interface = NeuroScopeSortingInterface; +NeuroScopeSortingInterfaceGlobalCopy.schema.source_data = NeuroScopeSortingInterfaceSchema; +NeuroScopeSortingInterface.args = { activePage, globalState: NeuroScopeSortingInterfaceGlobalCopy }; + +export const BiocamRecordingInterface = PageTemplate.bind({}); +const BiocamRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); +BiocamRecordingInterfaceGlobalCopy.interfaces.interface = BiocamRecordingInterface; +BiocamRecordingInterfaceGlobalCopy.schema.source_data = BiocamRecordingInterfaceSchema; +BiocamRecordingInterface.args = { activePage, globalState: BiocamRecordingInterfaceGlobalCopy }; + +export const IntanRecordingInterface = PageTemplate.bind({}); +const IntanRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); +IntanRecordingInterfaceGlobalCopy.interfaces.interface = IntanRecordingInterface; +IntanRecordingInterfaceGlobalCopy.schema.source_data = IntanRecordingInterfaceSchema; +IntanRecordingInterface.args = { activePage, globalState: IntanRecordingInterfaceGlobalCopy }; + +export const OpenEphysRecordingInterface = PageTemplate.bind({}); +const OpenEphysRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); +OpenEphysRecordingInterfaceGlobalCopy.interfaces.interface = OpenEphysRecordingInterface; +OpenEphysRecordingInterfaceGlobalCopy.schema.source_data = OpenEphysRecordingInterfaceSchema; +OpenEphysRecordingInterface.args = { activePage, globalState: OpenEphysRecordingInterfaceGlobalCopy }; + +export const BlackrockRecordingInterface = PageTemplate.bind({}); +const BlackrockRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); +BlackrockRecordingInterfaceGlobalCopy.interfaces.interface = BlackrockRecordingInterface; +BlackrockRecordingInterfaceGlobalCopy.schema.source_data = BlackrockRecordingInterfaceSchema; +BlackrockRecordingInterface.args = { activePage, globalState: BlackrockRecordingInterfaceGlobalCopy }; + +export const BlackrockSortingInterface = PageTemplate.bind({}); +const BlackrockSortingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); +BlackrockSortingInterfaceGlobalCopy.interfaces.interface = BlackrockSortingInterface; +BlackrockSortingInterfaceGlobalCopy.schema.source_data = BlackrockSortingInterfaceSchema; +BlackrockSortingInterface.args = { activePage, globalState: BlackrockSortingInterfaceGlobalCopy }; + +export const CellExplorerSortingInterface = PageTemplate.bind({}); +const CellExplorerSortingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); +CellExplorerSortingInterfaceGlobalCopy.interfaces.interface = CellExplorerSortingInterface; +CellExplorerSortingInterfaceGlobalCopy.schema.source_data = CellExplorerSortingInterfaceSchema; +CellExplorerSortingInterface.args = { activePage, globalState: CellExplorerSortingInterfaceGlobalCopy }; + +export const KiloSortSortingInterface = PageTemplate.bind({}); +const KiloSortSortingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); +KiloSortSortingInterfaceGlobalCopy.interfaces.interface = KiloSortSortingInterface; +KiloSortSortingInterfaceGlobalCopy.schema.source_data = KiloSortSortingInterfaceSchema; +KiloSortSortingInterface.args = { activePage, globalState: KiloSortSortingInterfaceGlobalCopy }; + +export const TdtRecordingInterface = PageTemplate.bind({}); +const TdtRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); +TdtRecordingInterfaceGlobalCopy.interfaces.interface = TdtRecordingInterface; +TdtRecordingInterfaceGlobalCopy.schema.source_data = TdtRecordingInterfaceSchema; +TdtRecordingInterface.args = { activePage, globalState: TdtRecordingInterfaceGlobalCopy }; + +export const Spike2RecordingInterface = PageTemplate.bind({}); +const Spike2RecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); +Spike2RecordingInterfaceGlobalCopy.interfaces.interface = Spike2RecordingInterface; +Spike2RecordingInterfaceGlobalCopy.schema.source_data = Spike2RecordingInterfaceSchema; +Spike2RecordingInterface.args = { activePage, globalState: Spike2RecordingInterfaceGlobalCopy }; + +export const BrukerTiffSinglePlaneImagingInterface = PageTemplate.bind({}); +const BrukerTiffSinglePlaneImagingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); +BrukerTiffSinglePlaneImagingInterfaceGlobalCopy.interfaces.interface = BrukerTiffSinglePlaneImagingInterface; +BrukerTiffSinglePlaneImagingInterfaceGlobalCopy.schema.source_data = BrukerTiffSinglePlaneImagingInterfaceSchema; +BrukerTiffSinglePlaneImagingInterface.args = { + activePage, + globalState: BrukerTiffSinglePlaneImagingInterfaceGlobalCopy, +}; + +export const ExtractSegmentationInterface = PageTemplate.bind({}); +const ExtractSegmentationInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); +ExtractSegmentationInterfaceGlobalCopy.interfaces.interface = ExtractSegmentationInterface; +ExtractSegmentationInterfaceGlobalCopy.schema.source_data = ExtractSegmentationInterfaceSchema; +ExtractSegmentationInterface.args = { activePage, globalState: ExtractSegmentationInterfaceGlobalCopy }; + +export const CnmfeSegmentationInterface = PageTemplate.bind({}); +const CnmfeSegmentationInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); +CnmfeSegmentationInterfaceGlobalCopy.interfaces.interface = CnmfeSegmentationInterface; +CnmfeSegmentationInterfaceGlobalCopy.schema.source_data = CnmfeSegmentationInterfaceSchema; +CnmfeSegmentationInterface.args = { activePage, globalState: CnmfeSegmentationInterfaceGlobalCopy }; + +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; +MicroManagerTiffImagingInterfaceGlobalCopy.schema.source_data = MicroManagerTiffImagingInterfaceSchema; +MicroManagerTiffImagingInterface.args = { activePage, globalState: MicroManagerTiffImagingInterfaceGlobalCopy }; + +export const ScanImageImagingInterface = PageTemplate.bind({}); +const ScanImageImagingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); +ScanImageImagingInterfaceGlobalCopy.interfaces.interface = ScanImageImagingInterface; +ScanImageImagingInterfaceGlobalCopy.schema.source_data = ScanImageImagingInterfaceSchema; +ScanImageImagingInterface.args = { activePage, globalState: ScanImageImagingInterfaceGlobalCopy }; + +export const TiffImagingInterface = PageTemplate.bind({}); +const TiffImagingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); +TiffImagingInterfaceGlobalCopy.interfaces.interface = TiffImagingInterface; +TiffImagingInterfaceGlobalCopy.schema.source_data = TiffImagingInterfaceSchema; +TiffImagingInterface.args = { activePage, globalState: TiffImagingInterfaceGlobalCopy }; + +export const MiniscopeImagingInterface = PageTemplate.bind({}); +const MiniscopeImagingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); +MiniscopeImagingInterfaceGlobalCopy.interfaces.interface = MiniscopeImagingInterface; +MiniscopeImagingInterfaceGlobalCopy.schema.source_data = MiniscopeImagingInterfaceSchema; +MiniscopeImagingInterface.args = { activePage, globalState: MiniscopeImagingInterfaceGlobalCopy }; + +export const SbxImagingInterface = PageTemplate.bind({}); +const SbxImagingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); +SbxImagingInterfaceGlobalCopy.interfaces.interface = SbxImagingInterface; +SbxImagingInterfaceGlobalCopy.schema.source_data = SbxImagingInterfaceSchema; +SbxImagingInterface.args = { activePage, globalState: SbxImagingInterfaceGlobalCopy }; + +export const CaimanSegmentationInterface = PageTemplate.bind({}); +const CaimanSegmentationInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); +CaimanSegmentationInterfaceGlobalCopy.interfaces.interface = CaimanSegmentationInterface; +CaimanSegmentationInterfaceGlobalCopy.schema.source_data = CaimanSegmentationInterfaceSchema; +CaimanSegmentationInterface.args = { activePage, globalState: CaimanSegmentationInterfaceGlobalCopy }; + +export const MCSRawRecordingInterface = PageTemplate.bind({}); +const MCSRawRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); +MCSRawRecordingInterfaceGlobalCopy.interfaces.interface = MCSRawRecordingInterface; +MCSRawRecordingInterfaceGlobalCopy.schema.source_data = MCSRawRecordingInterfaceSchema; +MCSRawRecordingInterface.args = { activePage, globalState: MCSRawRecordingInterfaceGlobalCopy }; + +export const MEArecRecordingInterface = PageTemplate.bind({}); +const MEArecRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); +MEArecRecordingInterfaceGlobalCopy.interfaces.interface = MEArecRecordingInterface; +MEArecRecordingInterfaceGlobalCopy.schema.source_data = MEArecRecordingInterfaceSchema; +MEArecRecordingInterface.args = { activePage, globalState: MEArecRecordingInterfaceGlobalCopy }; + +export const PlexonRecordingInterface = PageTemplate.bind({}); +const PlexonRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); +PlexonRecordingInterfaceGlobalCopy.interfaces.interface = PlexonRecordingInterface; +PlexonRecordingInterfaceGlobalCopy.schema.source_data = PlexonRecordingInterfaceSchema; +PlexonRecordingInterface.args = { activePage, globalState: PlexonRecordingInterfaceGlobalCopy }; + +export const PlexonSortingInterface = PageTemplate.bind({}); +const PlexonSortingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); +PlexonSortingInterfaceGlobalCopy.interfaces.interface = PlexonSortingInterface; +PlexonSortingInterfaceGlobalCopy.schema.source_data = PlexonSortingInterfaceSchema; +PlexonSortingInterface.args = { activePage, globalState: PlexonSortingInterfaceGlobalCopy }; + +export const AxonaRecordingInterface = PageTemplate.bind({}); +const AxonaRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); +AxonaRecordingInterfaceGlobalCopy.interfaces.interface = AxonaRecordingInterface; +AxonaRecordingInterfaceGlobalCopy.schema.source_data = AxonaRecordingInterfaceSchema; +AxonaRecordingInterface.args = { activePage, globalState: AxonaRecordingInterfaceGlobalCopy }; + +export const VideoInterface = PageTemplate.bind({}); +const VideoInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); +VideoInterfaceGlobalCopy.interfaces.interface = VideoInterface; +VideoInterfaceGlobalCopy.schema.source_data = VideoInterfaceSchema; +VideoInterface.args = { activePage, globalState: VideoInterfaceGlobalCopy }; + +export const NeuralynxRecordingInterface = PageTemplate.bind({}); +const NeuralynxRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); +NeuralynxRecordingInterfaceGlobalCopy.interfaces.interface = NeuralynxRecordingInterface; +NeuralynxRecordingInterfaceGlobalCopy.schema.source_data = NeuralynxRecordingInterfaceSchema; +NeuralynxRecordingInterface.args = { activePage, globalState: NeuralynxRecordingInterfaceGlobalCopy }; + +export const Suite2pSegmentationInterface = PageTemplate.bind({}); +const Suite2pSegmentationInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); +Suite2pSegmentationInterfaceGlobalCopy.interfaces.interface = Suite2pSegmentationInterface; +Suite2pSegmentationInterfaceGlobalCopy.schema.source_data = Suite2pSegmentationInterfaceSchema; +Suite2pSegmentationInterface.args = { activePage, globalState: Suite2pSegmentationInterfaceGlobalCopy }; + +export const AlphaOmegaRecordingInterface = PageTemplate.bind({}); +const AlphaOmegaRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); +AlphaOmegaRecordingInterfaceGlobalCopy.interfaces.interface = AlphaOmegaRecordingInterface; +AlphaOmegaRecordingInterfaceGlobalCopy.schema.source_data = AlphaOmegaRecordingInterfaceSchema; +AlphaOmegaRecordingInterface.args = { activePage, globalState: AlphaOmegaRecordingInterfaceGlobalCopy }; + +export const DeepLabCutInterface = PageTemplate.bind({}); +const DeepLabCutInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); +DeepLabCutInterfaceGlobalCopy.interfaces.interface = DeepLabCutInterface; +DeepLabCutInterfaceGlobalCopy.schema.source_data = DeepLabCutInterfaceSchema; +DeepLabCutInterface.args = { activePage, globalState: DeepLabCutInterfaceGlobalCopy }; + +export const SLEAPInterface = PageTemplate.bind({}); +const SLEAPInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); +SLEAPInterfaceGlobalCopy.interfaces.interface = SLEAPInterface; +SLEAPInterfaceGlobalCopy.schema.source_data = SLEAPInterfaceSchema; +SLEAPInterface.args = { activePage, globalState: SLEAPInterfaceGlobalCopy }; + +export const FicTracDataInterface = PageTemplate.bind({}); +const FicTracDataInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); +FicTracDataInterfaceGlobalCopy.interfaces.interface = FicTracDataInterface; +FicTracDataInterfaceGlobalCopy.schema.source_data = FicTracDataInterfaceSchema; +FicTracDataInterface.args = { activePage, globalState: FicTracDataInterfaceGlobalCopy }; + +export const AudioInterface = PageTemplate.bind({}); +const AudioInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); +AudioInterfaceGlobalCopy.interfaces.interface = AudioInterface; +AudioInterfaceGlobalCopy.schema.source_data = AudioInterfaceSchema; +AudioInterface.args = { activePage, globalState: AudioInterfaceGlobalCopy }; + +export const MiniscopeBehaviorInterface = PageTemplate.bind({}); +const MiniscopeBehaviorInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); +MiniscopeBehaviorInterfaceGlobalCopy.interfaces.interface = MiniscopeBehaviorInterface; +MiniscopeBehaviorInterfaceGlobalCopy.schema.source_data = MiniscopeBehaviorInterfaceSchema; +MiniscopeBehaviorInterface.args = { activePage, globalState: MiniscopeBehaviorInterfaceGlobalCopy }; + +export const EDFRecordingInterface = PageTemplate.bind({}); +const EDFRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); +EDFRecordingInterfaceGlobalCopy.interfaces.interface = EDFRecordingInterface; +EDFRecordingInterfaceGlobalCopy.schema.source_data = EDFRecordingInterfaceSchema; +EDFRecordingInterface.args = { activePage, globalState: EDFRecordingInterfaceGlobalCopy }; + +export const SpikeGLXConverterPipe = PageTemplate.bind({}); +const SpikeGLXConverterPipeGlobalCopy = JSON.parse(JSON.stringify(globalState)); +SpikeGLXConverterPipeGlobalCopy.interfaces.interface = SpikeGLXConverterPipe; +SpikeGLXConverterPipeGlobalCopy.schema.source_data = SpikeGLXConverterPipeSchema; +SpikeGLXConverterPipe.args = { activePage, globalState: SpikeGLXConverterPipeGlobalCopy }; + +export const BrukerTiffSinglePlaneConverter = PageTemplate.bind({}); +const BrukerTiffSinglePlaneConverterGlobalCopy = JSON.parse(JSON.stringify(globalState)); +BrukerTiffSinglePlaneConverterGlobalCopy.interfaces.interface = BrukerTiffSinglePlaneConverter; +BrukerTiffSinglePlaneConverterGlobalCopy.schema.source_data = BrukerTiffSinglePlaneConverterSchema; +BrukerTiffSinglePlaneConverter.args = { activePage, globalState: BrukerTiffSinglePlaneConverterGlobalCopy }; + +export const BrukerTiffMultiPlaneConverter = PageTemplate.bind({}); +const BrukerTiffMultiPlaneConverterGlobalCopy = JSON.parse(JSON.stringify(globalState)); +BrukerTiffMultiPlaneConverterGlobalCopy.interfaces.interface = BrukerTiffMultiPlaneConverter; +BrukerTiffMultiPlaneConverterGlobalCopy.schema.source_data = BrukerTiffMultiPlaneConverterSchema; +BrukerTiffMultiPlaneConverter.args = { activePage, globalState: BrukerTiffMultiPlaneConverterGlobalCopy }; + +export const MiniscopeConverter = PageTemplate.bind({}); +const MiniscopeConverterGlobalCopy = JSON.parse(JSON.stringify(globalState)); +MiniscopeConverterGlobalCopy.interfaces.interface = MiniscopeConverter; +MiniscopeConverterGlobalCopy.schema.source_data = MiniscopeConverterSchema; +MiniscopeConverter.args = { activePage, globalState: MiniscopeConverterGlobalCopy }; + +export const CellExplorerRecordingInterface = PageTemplate.bind({}); +const CellExplorerRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); +CellExplorerRecordingInterfaceGlobalCopy.interfaces.interface = CellExplorerRecordingInterface; +CellExplorerRecordingInterfaceGlobalCopy.schema.source_data = CellExplorerRecordingInterfaceSchema; +CellExplorerRecordingInterface.args = { activePage, globalState: CellExplorerRecordingInterfaceGlobalCopy }; From 1a36ef6d61e7e01e4e0313389f007088d4e1b479 Mon Sep 17 00:00:00 2001 From: Garrett Michael Flynn Date: Tue, 4 Jun 2024 16:50:58 -0700 Subject: [PATCH 3/4] Fix storybook rendering --- generateInterfaceSchema.py | 2 +- .../AlphaOmegaRecordingInterface.json | 2 +- .../interface_schemas/AudioInterface.json | 2 +- .../AxonaRecordingInterface.json | 2 +- .../BiocamRecordingInterface.json | 2 +- .../BlackrockRecordingInterface.json | 2 +- .../BlackrockSortingInterface.json | 2 +- .../BrukerTiffMultiPlaneConverter.json | 2 +- .../BrukerTiffMultiPlaneImagingInterface.json | 2 +- .../BrukerTiffSinglePlaneConverter.json | 2 +- ...BrukerTiffSinglePlaneImagingInterface.json | 2 +- .../CaimanSegmentationInterface.json | 2 +- .../CellExplorerRecordingInterface.json | 2 +- .../CellExplorerSortingInterface.json | 2 +- .../CnmfeSegmentationInterface.json | 2 +- .../DeepLabCutInterface.json | 2 +- .../EDFRecordingInterface.json | 2 +- .../ExtractSegmentationInterface.json | 2 +- .../FicTracDataInterface.json | 2 +- .../IntanRecordingInterface.json | 2 +- .../KiloSortSortingInterface.json | 2 +- .../MCSRawRecordingInterface.json | 2 +- .../MEArecRecordingInterface.json | 2 +- .../MicroManagerTiffImagingInterface.json | 2 +- .../MiniscopeBehaviorInterface.json | 2 +- .../interface_schemas/MiniscopeConverter.json | 2 +- .../MiniscopeImagingInterface.json | 2 +- .../NeuralynxRecordingInterface.json | 2 +- .../NeuroScopeLFPInterface.json | 2 +- .../NeuroScopeRecordingInterface.json | 2 +- .../NeuroScopeSortingInterface.json | 2 +- .../OpenEphysRecordingInterface.json | 2 +- .../PhySortingInterface.json | 2 +- .../PlexonRecordingInterface.json | 2 +- .../PlexonSortingInterface.json | 2 +- .../interface_schemas/SLEAPInterface.json | 2 +- .../SbxImagingInterface.json | 2 +- .../ScanImageImagingInterface.json | 2 +- .../Spike2RecordingInterface.json | 2 +- .../SpikeGLXConverterPipe.json | 2 +- .../SpikeGLXNIDQInterface.json | 2 +- .../SpikeGLXRecordingInterface.json | 2 +- .../Suite2pSegmentationInterface.json | 2 +- .../TdtRecordingInterface.json | 2 +- .../TiffImagingInterface.json | 2 +- .../interface_schemas/VideoInterface.json | 2 +- stories/pages/SourceData.stories.js | 809 +++++++++--------- 47 files changed, 429 insertions(+), 472 deletions(-) diff --git a/generateInterfaceSchema.py b/generateInterfaceSchema.py index b3e712f8a3..3b6da7c2b8 100644 --- a/generateInterfaceSchema.py +++ b/generateInterfaceSchema.py @@ -32,7 +32,7 @@ class CustomNWBConverter(NWBConverter): sourceDataStoryPath = Path("stories/pages/SourceData.stories.js") importCode = "\n".join( - map(lambda arr: f"import {arr[0]}Schema from '../inputs/interface_schemas/{arr[1]}'", paths.items()) + map(lambda arr: f"import {arr[0]}Schema from '../{Path(*arr[1].parts[1:])}'", paths.items()) ) storyCode = "\n".join( map( diff --git a/stories/inputs/interface_schemas/AlphaOmegaRecordingInterface.json b/stories/inputs/interface_schemas/AlphaOmegaRecordingInterface.json index cfd2d72d51..597696ddf7 100644 --- a/stories/inputs/interface_schemas/AlphaOmegaRecordingInterface.json +++ b/stories/inputs/interface_schemas/AlphaOmegaRecordingInterface.json @@ -31,4 +31,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/inputs/interface_schemas/AudioInterface.json b/stories/inputs/interface_schemas/AudioInterface.json index 9ffca2ef0f..2be8cc6b19 100644 --- a/stories/inputs/interface_schemas/AudioInterface.json +++ b/stories/inputs/interface_schemas/AudioInterface.json @@ -25,4 +25,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/inputs/interface_schemas/AxonaRecordingInterface.json b/stories/inputs/interface_schemas/AxonaRecordingInterface.json index 5e703560a6..bb3cc57611 100644 --- a/stories/inputs/interface_schemas/AxonaRecordingInterface.json +++ b/stories/inputs/interface_schemas/AxonaRecordingInterface.json @@ -31,4 +31,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/inputs/interface_schemas/BiocamRecordingInterface.json b/stories/inputs/interface_schemas/BiocamRecordingInterface.json index 7a7fa27302..5ce0ab4270 100644 --- a/stories/inputs/interface_schemas/BiocamRecordingInterface.json +++ b/stories/inputs/interface_schemas/BiocamRecordingInterface.json @@ -31,4 +31,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/inputs/interface_schemas/BlackrockRecordingInterface.json b/stories/inputs/interface_schemas/BlackrockRecordingInterface.json index e14bcea726..00c78406d1 100644 --- a/stories/inputs/interface_schemas/BlackrockRecordingInterface.json +++ b/stories/inputs/interface_schemas/BlackrockRecordingInterface.json @@ -35,4 +35,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/inputs/interface_schemas/BlackrockSortingInterface.json b/stories/inputs/interface_schemas/BlackrockSortingInterface.json index 98baa65846..3db9e086d7 100644 --- a/stories/inputs/interface_schemas/BlackrockSortingInterface.json +++ b/stories/inputs/interface_schemas/BlackrockSortingInterface.json @@ -32,4 +32,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/inputs/interface_schemas/BrukerTiffMultiPlaneConverter.json b/stories/inputs/interface_schemas/BrukerTiffMultiPlaneConverter.json index 072c287f0e..f32ce890ba 100644 --- a/stories/inputs/interface_schemas/BrukerTiffMultiPlaneConverter.json +++ b/stories/inputs/interface_schemas/BrukerTiffMultiPlaneConverter.json @@ -33,4 +33,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/inputs/interface_schemas/BrukerTiffMultiPlaneImagingInterface.json b/stories/inputs/interface_schemas/BrukerTiffMultiPlaneImagingInterface.json index 4aa3faca75..8bca7878d1 100644 --- a/stories/inputs/interface_schemas/BrukerTiffMultiPlaneImagingInterface.json +++ b/stories/inputs/interface_schemas/BrukerTiffMultiPlaneImagingInterface.json @@ -30,4 +30,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/inputs/interface_schemas/BrukerTiffSinglePlaneConverter.json b/stories/inputs/interface_schemas/BrukerTiffSinglePlaneConverter.json index a4a52ec3e5..1b813f76de 100644 --- a/stories/inputs/interface_schemas/BrukerTiffSinglePlaneConverter.json +++ b/stories/inputs/interface_schemas/BrukerTiffSinglePlaneConverter.json @@ -26,4 +26,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/inputs/interface_schemas/BrukerTiffSinglePlaneImagingInterface.json b/stories/inputs/interface_schemas/BrukerTiffSinglePlaneImagingInterface.json index c04abec2df..9717a52a3c 100644 --- a/stories/inputs/interface_schemas/BrukerTiffSinglePlaneImagingInterface.json +++ b/stories/inputs/interface_schemas/BrukerTiffSinglePlaneImagingInterface.json @@ -30,4 +30,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/inputs/interface_schemas/CaimanSegmentationInterface.json b/stories/inputs/interface_schemas/CaimanSegmentationInterface.json index 1810b39b7e..42509ea5b6 100644 --- a/stories/inputs/interface_schemas/CaimanSegmentationInterface.json +++ b/stories/inputs/interface_schemas/CaimanSegmentationInterface.json @@ -27,4 +27,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/inputs/interface_schemas/CellExplorerRecordingInterface.json b/stories/inputs/interface_schemas/CellExplorerRecordingInterface.json index ff3ce4df57..7edd701fe9 100644 --- a/stories/inputs/interface_schemas/CellExplorerRecordingInterface.json +++ b/stories/inputs/interface_schemas/CellExplorerRecordingInterface.json @@ -32,4 +32,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/inputs/interface_schemas/CellExplorerSortingInterface.json b/stories/inputs/interface_schemas/CellExplorerSortingInterface.json index c51a65d4ee..e2cc689b17 100644 --- a/stories/inputs/interface_schemas/CellExplorerSortingInterface.json +++ b/stories/inputs/interface_schemas/CellExplorerSortingInterface.json @@ -26,4 +26,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/inputs/interface_schemas/CnmfeSegmentationInterface.json b/stories/inputs/interface_schemas/CnmfeSegmentationInterface.json index 381a6c3a7c..81006ec6d7 100644 --- a/stories/inputs/interface_schemas/CnmfeSegmentationInterface.json +++ b/stories/inputs/interface_schemas/CnmfeSegmentationInterface.json @@ -26,4 +26,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/inputs/interface_schemas/DeepLabCutInterface.json b/stories/inputs/interface_schemas/DeepLabCutInterface.json index 7e2e5fa401..cf5c37c7c0 100644 --- a/stories/inputs/interface_schemas/DeepLabCutInterface.json +++ b/stories/inputs/interface_schemas/DeepLabCutInterface.json @@ -37,4 +37,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/inputs/interface_schemas/EDFRecordingInterface.json b/stories/inputs/interface_schemas/EDFRecordingInterface.json index b7371462e0..fff3b1fe74 100644 --- a/stories/inputs/interface_schemas/EDFRecordingInterface.json +++ b/stories/inputs/interface_schemas/EDFRecordingInterface.json @@ -31,4 +31,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/inputs/interface_schemas/ExtractSegmentationInterface.json b/stories/inputs/interface_schemas/ExtractSegmentationInterface.json index 6d488ff38a..993d64284e 100644 --- a/stories/inputs/interface_schemas/ExtractSegmentationInterface.json +++ b/stories/inputs/interface_schemas/ExtractSegmentationInterface.json @@ -33,4 +33,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/inputs/interface_schemas/FicTracDataInterface.json b/stories/inputs/interface_schemas/FicTracDataInterface.json index 6cd7f5f912..b0773ebeef 100644 --- a/stories/inputs/interface_schemas/FicTracDataInterface.json +++ b/stories/inputs/interface_schemas/FicTracDataInterface.json @@ -34,4 +34,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/inputs/interface_schemas/IntanRecordingInterface.json b/stories/inputs/interface_schemas/IntanRecordingInterface.json index b7910b04ce..fb0cf8d592 100644 --- a/stories/inputs/interface_schemas/IntanRecordingInterface.json +++ b/stories/inputs/interface_schemas/IntanRecordingInterface.json @@ -34,4 +34,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/inputs/interface_schemas/KiloSortSortingInterface.json b/stories/inputs/interface_schemas/KiloSortSortingInterface.json index b386258234..8799b8132d 100644 --- a/stories/inputs/interface_schemas/KiloSortSortingInterface.json +++ b/stories/inputs/interface_schemas/KiloSortSortingInterface.json @@ -31,4 +31,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/inputs/interface_schemas/MCSRawRecordingInterface.json b/stories/inputs/interface_schemas/MCSRawRecordingInterface.json index 58d5d63d11..53bfeb9c77 100644 --- a/stories/inputs/interface_schemas/MCSRawRecordingInterface.json +++ b/stories/inputs/interface_schemas/MCSRawRecordingInterface.json @@ -31,4 +31,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/inputs/interface_schemas/MEArecRecordingInterface.json b/stories/inputs/interface_schemas/MEArecRecordingInterface.json index d8bb66224b..c29c7f18e0 100644 --- a/stories/inputs/interface_schemas/MEArecRecordingInterface.json +++ b/stories/inputs/interface_schemas/MEArecRecordingInterface.json @@ -31,4 +31,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/inputs/interface_schemas/MicroManagerTiffImagingInterface.json b/stories/inputs/interface_schemas/MicroManagerTiffImagingInterface.json index 9791ad85b2..77674f61e9 100644 --- a/stories/inputs/interface_schemas/MicroManagerTiffImagingInterface.json +++ b/stories/inputs/interface_schemas/MicroManagerTiffImagingInterface.json @@ -27,4 +27,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/inputs/interface_schemas/MiniscopeBehaviorInterface.json b/stories/inputs/interface_schemas/MiniscopeBehaviorInterface.json index 506b9f7d2c..244d3a8dc8 100644 --- a/stories/inputs/interface_schemas/MiniscopeBehaviorInterface.json +++ b/stories/inputs/interface_schemas/MiniscopeBehaviorInterface.json @@ -23,4 +23,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/inputs/interface_schemas/MiniscopeConverter.json b/stories/inputs/interface_schemas/MiniscopeConverter.json index 38f969e75a..d36c738312 100644 --- a/stories/inputs/interface_schemas/MiniscopeConverter.json +++ b/stories/inputs/interface_schemas/MiniscopeConverter.json @@ -27,4 +27,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/inputs/interface_schemas/MiniscopeImagingInterface.json b/stories/inputs/interface_schemas/MiniscopeImagingInterface.json index cb5e3b55a5..2792e9a5a6 100644 --- a/stories/inputs/interface_schemas/MiniscopeImagingInterface.json +++ b/stories/inputs/interface_schemas/MiniscopeImagingInterface.json @@ -23,4 +23,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/inputs/interface_schemas/NeuralynxRecordingInterface.json b/stories/inputs/interface_schemas/NeuralynxRecordingInterface.json index 1bf31403fb..6928d94f92 100644 --- a/stories/inputs/interface_schemas/NeuralynxRecordingInterface.json +++ b/stories/inputs/interface_schemas/NeuralynxRecordingInterface.json @@ -34,4 +34,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/inputs/interface_schemas/NeuroScopeLFPInterface.json b/stories/inputs/interface_schemas/NeuroScopeLFPInterface.json index 639985ff2e..04eae8031e 100644 --- a/stories/inputs/interface_schemas/NeuroScopeLFPInterface.json +++ b/stories/inputs/interface_schemas/NeuroScopeLFPInterface.json @@ -30,4 +30,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/inputs/interface_schemas/NeuroScopeRecordingInterface.json b/stories/inputs/interface_schemas/NeuroScopeRecordingInterface.json index 7afc396a6d..762672589b 100644 --- a/stories/inputs/interface_schemas/NeuroScopeRecordingInterface.json +++ b/stories/inputs/interface_schemas/NeuroScopeRecordingInterface.json @@ -38,4 +38,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/inputs/interface_schemas/NeuroScopeSortingInterface.json b/stories/inputs/interface_schemas/NeuroScopeSortingInterface.json index 10ebfe0695..65957ad236 100644 --- a/stories/inputs/interface_schemas/NeuroScopeSortingInterface.json +++ b/stories/inputs/interface_schemas/NeuroScopeSortingInterface.json @@ -41,4 +41,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/inputs/interface_schemas/OpenEphysRecordingInterface.json b/stories/inputs/interface_schemas/OpenEphysRecordingInterface.json index caf2e25da6..d0c142efef 100644 --- a/stories/inputs/interface_schemas/OpenEphysRecordingInterface.json +++ b/stories/inputs/interface_schemas/OpenEphysRecordingInterface.json @@ -37,4 +37,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/inputs/interface_schemas/PhySortingInterface.json b/stories/inputs/interface_schemas/PhySortingInterface.json index cf03020e9c..8371aca2bf 100644 --- a/stories/inputs/interface_schemas/PhySortingInterface.json +++ b/stories/inputs/interface_schemas/PhySortingInterface.json @@ -33,4 +33,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/inputs/interface_schemas/PlexonRecordingInterface.json b/stories/inputs/interface_schemas/PlexonRecordingInterface.json index 5d000b3a24..be9a910aa4 100644 --- a/stories/inputs/interface_schemas/PlexonRecordingInterface.json +++ b/stories/inputs/interface_schemas/PlexonRecordingInterface.json @@ -31,4 +31,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/inputs/interface_schemas/PlexonSortingInterface.json b/stories/inputs/interface_schemas/PlexonSortingInterface.json index 5cc6bdc181..c55df73046 100644 --- a/stories/inputs/interface_schemas/PlexonSortingInterface.json +++ b/stories/inputs/interface_schemas/PlexonSortingInterface.json @@ -27,4 +27,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/inputs/interface_schemas/SLEAPInterface.json b/stories/inputs/interface_schemas/SLEAPInterface.json index 77703778ba..e86ce424a2 100644 --- a/stories/inputs/interface_schemas/SLEAPInterface.json +++ b/stories/inputs/interface_schemas/SLEAPInterface.json @@ -35,4 +35,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/inputs/interface_schemas/SbxImagingInterface.json b/stories/inputs/interface_schemas/SbxImagingInterface.json index d02d2c0e74..8b97044b02 100644 --- a/stories/inputs/interface_schemas/SbxImagingInterface.json +++ b/stories/inputs/interface_schemas/SbxImagingInterface.json @@ -29,4 +29,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/inputs/interface_schemas/ScanImageImagingInterface.json b/stories/inputs/interface_schemas/ScanImageImagingInterface.json index 1affeb16b8..0b2c0cffd8 100644 --- a/stories/inputs/interface_schemas/ScanImageImagingInterface.json +++ b/stories/inputs/interface_schemas/ScanImageImagingInterface.json @@ -36,4 +36,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/inputs/interface_schemas/Spike2RecordingInterface.json b/stories/inputs/interface_schemas/Spike2RecordingInterface.json index ad5d913210..1f561d8552 100644 --- a/stories/inputs/interface_schemas/Spike2RecordingInterface.json +++ b/stories/inputs/interface_schemas/Spike2RecordingInterface.json @@ -31,4 +31,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/inputs/interface_schemas/SpikeGLXConverterPipe.json b/stories/inputs/interface_schemas/SpikeGLXConverterPipe.json index 4b2fb1eae9..dd6a4e9cda 100644 --- a/stories/inputs/interface_schemas/SpikeGLXConverterPipe.json +++ b/stories/inputs/interface_schemas/SpikeGLXConverterPipe.json @@ -28,4 +28,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/inputs/interface_schemas/SpikeGLXNIDQInterface.json b/stories/inputs/interface_schemas/SpikeGLXNIDQInterface.json index 0903b15800..9aea153710 100644 --- a/stories/inputs/interface_schemas/SpikeGLXNIDQInterface.json +++ b/stories/inputs/interface_schemas/SpikeGLXNIDQInterface.json @@ -37,4 +37,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/inputs/interface_schemas/SpikeGLXRecordingInterface.json b/stories/inputs/interface_schemas/SpikeGLXRecordingInterface.json index fe04f74eea..1e3565f2ca 100644 --- a/stories/inputs/interface_schemas/SpikeGLXRecordingInterface.json +++ b/stories/inputs/interface_schemas/SpikeGLXRecordingInterface.json @@ -31,4 +31,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/inputs/interface_schemas/Suite2pSegmentationInterface.json b/stories/inputs/interface_schemas/Suite2pSegmentationInterface.json index 417ff557c6..2c34480e34 100644 --- a/stories/inputs/interface_schemas/Suite2pSegmentationInterface.json +++ b/stories/inputs/interface_schemas/Suite2pSegmentationInterface.json @@ -37,4 +37,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/inputs/interface_schemas/TdtRecordingInterface.json b/stories/inputs/interface_schemas/TdtRecordingInterface.json index d48e0f968e..6ea7b38dc1 100644 --- a/stories/inputs/interface_schemas/TdtRecordingInterface.json +++ b/stories/inputs/interface_schemas/TdtRecordingInterface.json @@ -38,4 +38,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/inputs/interface_schemas/TiffImagingInterface.json b/stories/inputs/interface_schemas/TiffImagingInterface.json index 036de528ab..0cce7efa66 100644 --- a/stories/inputs/interface_schemas/TiffImagingInterface.json +++ b/stories/inputs/interface_schemas/TiffImagingInterface.json @@ -31,4 +31,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/inputs/interface_schemas/VideoInterface.json b/stories/inputs/interface_schemas/VideoInterface.json index 259c53a3da..99abd0068f 100644 --- a/stories/inputs/interface_schemas/VideoInterface.json +++ b/stories/inputs/interface_schemas/VideoInterface.json @@ -25,4 +25,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} +} \ No newline at end of file diff --git a/stories/pages/SourceData.stories.js b/stories/pages/SourceData.stories.js index 8d4469e042..715be40a71 100644 --- a/stories/pages/SourceData.stories.js +++ b/stories/pages/SourceData.stories.js @@ -1,426 +1,383 @@ -import { globalState, PageTemplate } from "./storyStates"; -import SpikeGLXRecordingInterfaceSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/SpikeGLXRecordingInterface.json"; -import SpikeGLXNIDQInterfaceSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/SpikeGLXNIDQInterface.json"; -import PhySortingInterfaceSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/PhySortingInterface.json"; -import NeuroScopeRecordingInterfaceSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/NeuroScopeRecordingInterface.json"; -import NeuroScopeLFPInterfaceSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/NeuroScopeLFPInterface.json"; -import NeuroScopeSortingInterfaceSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/NeuroScopeSortingInterface.json"; -import BiocamRecordingInterfaceSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/BiocamRecordingInterface.json"; -import IntanRecordingInterfaceSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/IntanRecordingInterface.json"; -import OpenEphysRecordingInterfaceSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/OpenEphysRecordingInterface.json"; -import BlackrockRecordingInterfaceSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/BlackrockRecordingInterface.json"; -import BlackrockSortingInterfaceSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/BlackrockSortingInterface.json"; -import CellExplorerSortingInterfaceSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/CellExplorerSortingInterface.json"; -import KiloSortSortingInterfaceSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/KiloSortSortingInterface.json"; -import TdtRecordingInterfaceSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/TdtRecordingInterface.json"; -import Spike2RecordingInterfaceSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/Spike2RecordingInterface.json"; -import BrukerTiffSinglePlaneImagingInterfaceSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/BrukerTiffSinglePlaneImagingInterface.json"; -import ExtractSegmentationInterfaceSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/ExtractSegmentationInterface.json"; -import CnmfeSegmentationInterfaceSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/CnmfeSegmentationInterface.json"; -import BrukerTiffMultiPlaneImagingInterfaceSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/BrukerTiffMultiPlaneImagingInterface.json"; -import MicroManagerTiffImagingInterfaceSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/MicroManagerTiffImagingInterface.json"; -import ScanImageImagingInterfaceSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/ScanImageImagingInterface.json"; -import TiffImagingInterfaceSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/TiffImagingInterface.json"; -import MiniscopeImagingInterfaceSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/MiniscopeImagingInterface.json"; -import SbxImagingInterfaceSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/SbxImagingInterface.json"; -import CaimanSegmentationInterfaceSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/CaimanSegmentationInterface.json"; -import MCSRawRecordingInterfaceSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/MCSRawRecordingInterface.json"; -import MEArecRecordingInterfaceSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/MEArecRecordingInterface.json"; -import PlexonRecordingInterfaceSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/PlexonRecordingInterface.json"; -import PlexonSortingInterfaceSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/PlexonSortingInterface.json"; -import AxonaRecordingInterfaceSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/AxonaRecordingInterface.json"; -import VideoInterfaceSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/VideoInterface.json"; -import NeuralynxRecordingInterfaceSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/NeuralynxRecordingInterface.json"; -import Suite2pSegmentationInterfaceSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/Suite2pSegmentationInterface.json"; -import AlphaOmegaRecordingInterfaceSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/AlphaOmegaRecordingInterface.json"; -import DeepLabCutInterfaceSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/DeepLabCutInterface.json"; -import SLEAPInterfaceSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/SLEAPInterface.json"; -import FicTracDataInterfaceSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/FicTracDataInterface.json"; -import AudioInterfaceSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/AudioInterface.json"; -import MiniscopeBehaviorInterfaceSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/MiniscopeBehaviorInterface.json"; -import EDFRecordingInterfaceSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/EDFRecordingInterface.json"; -import SpikeGLXConverterPipeSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/SpikeGLXConverterPipe.json"; -import BrukerTiffSinglePlaneConverterSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/BrukerTiffSinglePlaneConverter.json"; -import BrukerTiffMultiPlaneConverterSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/BrukerTiffMultiPlaneConverter.json"; -import MiniscopeConverterSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/MiniscopeConverter.json"; -import CellExplorerRecordingInterfaceSchema from "../inputs/interface_schemas/stories/inputs/interface_schemas/CellExplorerRecordingInterface.json"; - -export default { - title: "Pages/Guided Mode/Source Data", - parameters: { - chromatic: { disableSnapshot: false }, - }, -}; - -const activePage = "//sourcedata"; - -const globalStateCopy = JSON.parse(JSON.stringify(globalState)); -globalStateCopy.schema.source_data.properties.SpikeGLXRecordingInterface = - SpikeGLXRecordingInterfaceSchema.properties.SpikeGLXRecordingInterface; -globalStateCopy.schema.source_data.properties.SpikeGLXNIDQInterface = - SpikeGLXNIDQInterfaceSchema.properties.SpikeGLXNIDQInterface; -globalStateCopy.schema.source_data.properties.PhySortingInterface = - PhySortingInterfaceSchema.properties.PhySortingInterface; -globalStateCopy.schema.source_data.properties.NeuroScopeRecordingInterface = - NeuroScopeRecordingInterfaceSchema.properties.NeuroScopeRecordingInterface; -globalStateCopy.schema.source_data.properties.NeuroScopeLFPInterface = - NeuroScopeLFPInterfaceSchema.properties.NeuroScopeLFPInterface; -globalStateCopy.schema.source_data.properties.NeuroScopeSortingInterface = - NeuroScopeSortingInterfaceSchema.properties.NeuroScopeSortingInterface; -globalStateCopy.schema.source_data.properties.BiocamRecordingInterface = - BiocamRecordingInterfaceSchema.properties.BiocamRecordingInterface; -globalStateCopy.schema.source_data.properties.IntanRecordingInterface = - IntanRecordingInterfaceSchema.properties.IntanRecordingInterface; -globalStateCopy.schema.source_data.properties.OpenEphysRecordingInterface = - OpenEphysRecordingInterfaceSchema.properties.OpenEphysRecordingInterface; -globalStateCopy.schema.source_data.properties.BlackrockRecordingInterface = - BlackrockRecordingInterfaceSchema.properties.BlackrockRecordingInterface; -globalStateCopy.schema.source_data.properties.BlackrockSortingInterface = - BlackrockSortingInterfaceSchema.properties.BlackrockSortingInterface; -globalStateCopy.schema.source_data.properties.CellExplorerSortingInterface = - CellExplorerSortingInterfaceSchema.properties.CellExplorerSortingInterface; -globalStateCopy.schema.source_data.properties.KiloSortSortingInterface = - KiloSortSortingInterfaceSchema.properties.KiloSortSortingInterface; -globalStateCopy.schema.source_data.properties.TdtRecordingInterface = - TdtRecordingInterfaceSchema.properties.TdtRecordingInterface; -globalStateCopy.schema.source_data.properties.Spike2RecordingInterface = - Spike2RecordingInterfaceSchema.properties.Spike2RecordingInterface; -globalStateCopy.schema.source_data.properties.BrukerTiffSinglePlaneImagingInterface = - BrukerTiffSinglePlaneImagingInterfaceSchema.properties.BrukerTiffSinglePlaneImagingInterface; -globalStateCopy.schema.source_data.properties.ExtractSegmentationInterface = - ExtractSegmentationInterfaceSchema.properties.ExtractSegmentationInterface; -globalStateCopy.schema.source_data.properties.CnmfeSegmentationInterface = - CnmfeSegmentationInterfaceSchema.properties.CnmfeSegmentationInterface; -globalStateCopy.schema.source_data.properties.BrukerTiffMultiPlaneImagingInterface = - BrukerTiffMultiPlaneImagingInterfaceSchema.properties.BrukerTiffMultiPlaneImagingInterface; -globalStateCopy.schema.source_data.properties.MicroManagerTiffImagingInterface = - MicroManagerTiffImagingInterfaceSchema.properties.MicroManagerTiffImagingInterface; -globalStateCopy.schema.source_data.properties.ScanImageImagingInterface = - ScanImageImagingInterfaceSchema.properties.ScanImageImagingInterface; -globalStateCopy.schema.source_data.properties.TiffImagingInterface = - TiffImagingInterfaceSchema.properties.TiffImagingInterface; -globalStateCopy.schema.source_data.properties.MiniscopeImagingInterface = - MiniscopeImagingInterfaceSchema.properties.MiniscopeImagingInterface; -globalStateCopy.schema.source_data.properties.SbxImagingInterface = - SbxImagingInterfaceSchema.properties.SbxImagingInterface; -globalStateCopy.schema.source_data.properties.CaimanSegmentationInterface = - CaimanSegmentationInterfaceSchema.properties.CaimanSegmentationInterface; -globalStateCopy.schema.source_data.properties.MCSRawRecordingInterface = - MCSRawRecordingInterfaceSchema.properties.MCSRawRecordingInterface; -globalStateCopy.schema.source_data.properties.MEArecRecordingInterface = - MEArecRecordingInterfaceSchema.properties.MEArecRecordingInterface; -globalStateCopy.schema.source_data.properties.PlexonRecordingInterface = - PlexonRecordingInterfaceSchema.properties.PlexonRecordingInterface; -globalStateCopy.schema.source_data.properties.PlexonSortingInterface = - PlexonSortingInterfaceSchema.properties.PlexonSortingInterface; -globalStateCopy.schema.source_data.properties.AxonaRecordingInterface = - AxonaRecordingInterfaceSchema.properties.AxonaRecordingInterface; -globalStateCopy.schema.source_data.properties.VideoInterface = VideoInterfaceSchema.properties.VideoInterface; -globalStateCopy.schema.source_data.properties.NeuralynxRecordingInterface = - NeuralynxRecordingInterfaceSchema.properties.NeuralynxRecordingInterface; -globalStateCopy.schema.source_data.properties.Suite2pSegmentationInterface = - Suite2pSegmentationInterfaceSchema.properties.Suite2pSegmentationInterface; -globalStateCopy.schema.source_data.properties.AlphaOmegaRecordingInterface = - AlphaOmegaRecordingInterfaceSchema.properties.AlphaOmegaRecordingInterface; -globalStateCopy.schema.source_data.properties.DeepLabCutInterface = - DeepLabCutInterfaceSchema.properties.DeepLabCutInterface; -globalStateCopy.schema.source_data.properties.SLEAPInterface = SLEAPInterfaceSchema.properties.SLEAPInterface; -globalStateCopy.schema.source_data.properties.FicTracDataInterface = - FicTracDataInterfaceSchema.properties.FicTracDataInterface; -globalStateCopy.schema.source_data.properties.AudioInterface = AudioInterfaceSchema.properties.AudioInterface; -globalStateCopy.schema.source_data.properties.MiniscopeBehaviorInterface = - MiniscopeBehaviorInterfaceSchema.properties.MiniscopeBehaviorInterface; -globalStateCopy.schema.source_data.properties.EDFRecordingInterface = - EDFRecordingInterfaceSchema.properties.EDFRecordingInterface; -globalStateCopy.schema.source_data.properties.SpikeGLXConverterPipe = - SpikeGLXConverterPipeSchema.properties.SpikeGLXConverterPipe; -globalStateCopy.schema.source_data.properties.BrukerTiffSinglePlaneConverter = - BrukerTiffSinglePlaneConverterSchema.properties.BrukerTiffSinglePlaneConverter; -globalStateCopy.schema.source_data.properties.BrukerTiffMultiPlaneConverter = - BrukerTiffMultiPlaneConverterSchema.properties.BrukerTiffMultiPlaneConverter; -globalStateCopy.schema.source_data.properties.MiniscopeConverter = - MiniscopeConverterSchema.properties.MiniscopeConverter; -globalStateCopy.schema.source_data.properties.CellExplorerRecordingInterface = - CellExplorerRecordingInterfaceSchema.properties.CellExplorerRecordingInterface; - -const results = globalStateCopy.results; -for (let sub in results) { - for (let ses in results[sub]) - results[sub][ses].source_data = { SpikeGLXNIDQInterface: { file_path: "/dummy/file/path" } }; -} - -export const All = PageTemplate.bind({}); -All.args = { activePage, globalState: globalStateCopy }; - -export const SpikeGLXRecordingInterface = PageTemplate.bind({}); -const SpikeGLXRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); -SpikeGLXRecordingInterfaceGlobalCopy.interfaces.interface = SpikeGLXRecordingInterface; -SpikeGLXRecordingInterfaceGlobalCopy.schema.source_data = SpikeGLXRecordingInterfaceSchema; -SpikeGLXRecordingInterface.args = { activePage, globalState: SpikeGLXRecordingInterfaceGlobalCopy }; - -export const SpikeGLXNIDQInterface = PageTemplate.bind({}); -const SpikeGLXNIDQInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); -SpikeGLXNIDQInterfaceGlobalCopy.interfaces.interface = SpikeGLXNIDQInterface; -SpikeGLXNIDQInterfaceGlobalCopy.schema.source_data = SpikeGLXNIDQInterfaceSchema; -SpikeGLXNIDQInterface.args = { activePage, globalState: SpikeGLXNIDQInterfaceGlobalCopy }; - -export const PhySortingInterface = PageTemplate.bind({}); -const PhySortingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); -PhySortingInterfaceGlobalCopy.interfaces.interface = PhySortingInterface; -PhySortingInterfaceGlobalCopy.schema.source_data = PhySortingInterfaceSchema; -PhySortingInterface.args = { activePage, globalState: PhySortingInterfaceGlobalCopy }; - -export const NeuroScopeRecordingInterface = PageTemplate.bind({}); -const NeuroScopeRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); -NeuroScopeRecordingInterfaceGlobalCopy.interfaces.interface = NeuroScopeRecordingInterface; -NeuroScopeRecordingInterfaceGlobalCopy.schema.source_data = NeuroScopeRecordingInterfaceSchema; -NeuroScopeRecordingInterface.args = { activePage, globalState: NeuroScopeRecordingInterfaceGlobalCopy }; - -export const NeuroScopeLFPInterface = PageTemplate.bind({}); -const NeuroScopeLFPInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); -NeuroScopeLFPInterfaceGlobalCopy.interfaces.interface = NeuroScopeLFPInterface; -NeuroScopeLFPInterfaceGlobalCopy.schema.source_data = NeuroScopeLFPInterfaceSchema; -NeuroScopeLFPInterface.args = { activePage, globalState: NeuroScopeLFPInterfaceGlobalCopy }; - -export const NeuroScopeSortingInterface = PageTemplate.bind({}); -const NeuroScopeSortingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); -NeuroScopeSortingInterfaceGlobalCopy.interfaces.interface = NeuroScopeSortingInterface; -NeuroScopeSortingInterfaceGlobalCopy.schema.source_data = NeuroScopeSortingInterfaceSchema; -NeuroScopeSortingInterface.args = { activePage, globalState: NeuroScopeSortingInterfaceGlobalCopy }; - -export const BiocamRecordingInterface = PageTemplate.bind({}); -const BiocamRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); -BiocamRecordingInterfaceGlobalCopy.interfaces.interface = BiocamRecordingInterface; -BiocamRecordingInterfaceGlobalCopy.schema.source_data = BiocamRecordingInterfaceSchema; -BiocamRecordingInterface.args = { activePage, globalState: BiocamRecordingInterfaceGlobalCopy }; - -export const IntanRecordingInterface = PageTemplate.bind({}); -const IntanRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); -IntanRecordingInterfaceGlobalCopy.interfaces.interface = IntanRecordingInterface; -IntanRecordingInterfaceGlobalCopy.schema.source_data = IntanRecordingInterfaceSchema; -IntanRecordingInterface.args = { activePage, globalState: IntanRecordingInterfaceGlobalCopy }; - -export const OpenEphysRecordingInterface = PageTemplate.bind({}); -const OpenEphysRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); -OpenEphysRecordingInterfaceGlobalCopy.interfaces.interface = OpenEphysRecordingInterface; -OpenEphysRecordingInterfaceGlobalCopy.schema.source_data = OpenEphysRecordingInterfaceSchema; -OpenEphysRecordingInterface.args = { activePage, globalState: OpenEphysRecordingInterfaceGlobalCopy }; - -export const BlackrockRecordingInterface = PageTemplate.bind({}); -const BlackrockRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); -BlackrockRecordingInterfaceGlobalCopy.interfaces.interface = BlackrockRecordingInterface; -BlackrockRecordingInterfaceGlobalCopy.schema.source_data = BlackrockRecordingInterfaceSchema; -BlackrockRecordingInterface.args = { activePage, globalState: BlackrockRecordingInterfaceGlobalCopy }; - -export const BlackrockSortingInterface = PageTemplate.bind({}); -const BlackrockSortingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); -BlackrockSortingInterfaceGlobalCopy.interfaces.interface = BlackrockSortingInterface; -BlackrockSortingInterfaceGlobalCopy.schema.source_data = BlackrockSortingInterfaceSchema; -BlackrockSortingInterface.args = { activePage, globalState: BlackrockSortingInterfaceGlobalCopy }; - -export const CellExplorerSortingInterface = PageTemplate.bind({}); -const CellExplorerSortingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); -CellExplorerSortingInterfaceGlobalCopy.interfaces.interface = CellExplorerSortingInterface; -CellExplorerSortingInterfaceGlobalCopy.schema.source_data = CellExplorerSortingInterfaceSchema; -CellExplorerSortingInterface.args = { activePage, globalState: CellExplorerSortingInterfaceGlobalCopy }; - -export const KiloSortSortingInterface = PageTemplate.bind({}); -const KiloSortSortingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); -KiloSortSortingInterfaceGlobalCopy.interfaces.interface = KiloSortSortingInterface; -KiloSortSortingInterfaceGlobalCopy.schema.source_data = KiloSortSortingInterfaceSchema; -KiloSortSortingInterface.args = { activePage, globalState: KiloSortSortingInterfaceGlobalCopy }; - -export const TdtRecordingInterface = PageTemplate.bind({}); -const TdtRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); -TdtRecordingInterfaceGlobalCopy.interfaces.interface = TdtRecordingInterface; -TdtRecordingInterfaceGlobalCopy.schema.source_data = TdtRecordingInterfaceSchema; -TdtRecordingInterface.args = { activePage, globalState: TdtRecordingInterfaceGlobalCopy }; - -export const Spike2RecordingInterface = PageTemplate.bind({}); -const Spike2RecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); -Spike2RecordingInterfaceGlobalCopy.interfaces.interface = Spike2RecordingInterface; -Spike2RecordingInterfaceGlobalCopy.schema.source_data = Spike2RecordingInterfaceSchema; -Spike2RecordingInterface.args = { activePage, globalState: Spike2RecordingInterfaceGlobalCopy }; - -export const BrukerTiffSinglePlaneImagingInterface = PageTemplate.bind({}); -const BrukerTiffSinglePlaneImagingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); -BrukerTiffSinglePlaneImagingInterfaceGlobalCopy.interfaces.interface = BrukerTiffSinglePlaneImagingInterface; -BrukerTiffSinglePlaneImagingInterfaceGlobalCopy.schema.source_data = BrukerTiffSinglePlaneImagingInterfaceSchema; -BrukerTiffSinglePlaneImagingInterface.args = { - activePage, - globalState: BrukerTiffSinglePlaneImagingInterfaceGlobalCopy, -}; - -export const ExtractSegmentationInterface = PageTemplate.bind({}); -const ExtractSegmentationInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); -ExtractSegmentationInterfaceGlobalCopy.interfaces.interface = ExtractSegmentationInterface; -ExtractSegmentationInterfaceGlobalCopy.schema.source_data = ExtractSegmentationInterfaceSchema; -ExtractSegmentationInterface.args = { activePage, globalState: ExtractSegmentationInterfaceGlobalCopy }; - -export const CnmfeSegmentationInterface = PageTemplate.bind({}); -const CnmfeSegmentationInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); -CnmfeSegmentationInterfaceGlobalCopy.interfaces.interface = CnmfeSegmentationInterface; -CnmfeSegmentationInterfaceGlobalCopy.schema.source_data = CnmfeSegmentationInterfaceSchema; -CnmfeSegmentationInterface.args = { activePage, globalState: CnmfeSegmentationInterfaceGlobalCopy }; - -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; -MicroManagerTiffImagingInterfaceGlobalCopy.schema.source_data = MicroManagerTiffImagingInterfaceSchema; -MicroManagerTiffImagingInterface.args = { activePage, globalState: MicroManagerTiffImagingInterfaceGlobalCopy }; - -export const ScanImageImagingInterface = PageTemplate.bind({}); -const ScanImageImagingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); -ScanImageImagingInterfaceGlobalCopy.interfaces.interface = ScanImageImagingInterface; -ScanImageImagingInterfaceGlobalCopy.schema.source_data = ScanImageImagingInterfaceSchema; -ScanImageImagingInterface.args = { activePage, globalState: ScanImageImagingInterfaceGlobalCopy }; - -export const TiffImagingInterface = PageTemplate.bind({}); -const TiffImagingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); -TiffImagingInterfaceGlobalCopy.interfaces.interface = TiffImagingInterface; -TiffImagingInterfaceGlobalCopy.schema.source_data = TiffImagingInterfaceSchema; -TiffImagingInterface.args = { activePage, globalState: TiffImagingInterfaceGlobalCopy }; - -export const MiniscopeImagingInterface = PageTemplate.bind({}); -const MiniscopeImagingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); -MiniscopeImagingInterfaceGlobalCopy.interfaces.interface = MiniscopeImagingInterface; -MiniscopeImagingInterfaceGlobalCopy.schema.source_data = MiniscopeImagingInterfaceSchema; -MiniscopeImagingInterface.args = { activePage, globalState: MiniscopeImagingInterfaceGlobalCopy }; - -export const SbxImagingInterface = PageTemplate.bind({}); -const SbxImagingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); -SbxImagingInterfaceGlobalCopy.interfaces.interface = SbxImagingInterface; -SbxImagingInterfaceGlobalCopy.schema.source_data = SbxImagingInterfaceSchema; -SbxImagingInterface.args = { activePage, globalState: SbxImagingInterfaceGlobalCopy }; - -export const CaimanSegmentationInterface = PageTemplate.bind({}); -const CaimanSegmentationInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); -CaimanSegmentationInterfaceGlobalCopy.interfaces.interface = CaimanSegmentationInterface; -CaimanSegmentationInterfaceGlobalCopy.schema.source_data = CaimanSegmentationInterfaceSchema; -CaimanSegmentationInterface.args = { activePage, globalState: CaimanSegmentationInterfaceGlobalCopy }; - -export const MCSRawRecordingInterface = PageTemplate.bind({}); -const MCSRawRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); -MCSRawRecordingInterfaceGlobalCopy.interfaces.interface = MCSRawRecordingInterface; -MCSRawRecordingInterfaceGlobalCopy.schema.source_data = MCSRawRecordingInterfaceSchema; -MCSRawRecordingInterface.args = { activePage, globalState: MCSRawRecordingInterfaceGlobalCopy }; - -export const MEArecRecordingInterface = PageTemplate.bind({}); -const MEArecRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); -MEArecRecordingInterfaceGlobalCopy.interfaces.interface = MEArecRecordingInterface; -MEArecRecordingInterfaceGlobalCopy.schema.source_data = MEArecRecordingInterfaceSchema; -MEArecRecordingInterface.args = { activePage, globalState: MEArecRecordingInterfaceGlobalCopy }; - -export const PlexonRecordingInterface = PageTemplate.bind({}); -const PlexonRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); -PlexonRecordingInterfaceGlobalCopy.interfaces.interface = PlexonRecordingInterface; -PlexonRecordingInterfaceGlobalCopy.schema.source_data = PlexonRecordingInterfaceSchema; -PlexonRecordingInterface.args = { activePage, globalState: PlexonRecordingInterfaceGlobalCopy }; - -export const PlexonSortingInterface = PageTemplate.bind({}); -const PlexonSortingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); -PlexonSortingInterfaceGlobalCopy.interfaces.interface = PlexonSortingInterface; -PlexonSortingInterfaceGlobalCopy.schema.source_data = PlexonSortingInterfaceSchema; -PlexonSortingInterface.args = { activePage, globalState: PlexonSortingInterfaceGlobalCopy }; - -export const AxonaRecordingInterface = PageTemplate.bind({}); -const AxonaRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); -AxonaRecordingInterfaceGlobalCopy.interfaces.interface = AxonaRecordingInterface; -AxonaRecordingInterfaceGlobalCopy.schema.source_data = AxonaRecordingInterfaceSchema; -AxonaRecordingInterface.args = { activePage, globalState: AxonaRecordingInterfaceGlobalCopy }; - -export const VideoInterface = PageTemplate.bind({}); -const VideoInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); -VideoInterfaceGlobalCopy.interfaces.interface = VideoInterface; -VideoInterfaceGlobalCopy.schema.source_data = VideoInterfaceSchema; -VideoInterface.args = { activePage, globalState: VideoInterfaceGlobalCopy }; - -export const NeuralynxRecordingInterface = PageTemplate.bind({}); -const NeuralynxRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); -NeuralynxRecordingInterfaceGlobalCopy.interfaces.interface = NeuralynxRecordingInterface; -NeuralynxRecordingInterfaceGlobalCopy.schema.source_data = NeuralynxRecordingInterfaceSchema; -NeuralynxRecordingInterface.args = { activePage, globalState: NeuralynxRecordingInterfaceGlobalCopy }; - -export const Suite2pSegmentationInterface = PageTemplate.bind({}); -const Suite2pSegmentationInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); -Suite2pSegmentationInterfaceGlobalCopy.interfaces.interface = Suite2pSegmentationInterface; -Suite2pSegmentationInterfaceGlobalCopy.schema.source_data = Suite2pSegmentationInterfaceSchema; -Suite2pSegmentationInterface.args = { activePage, globalState: Suite2pSegmentationInterfaceGlobalCopy }; - -export const AlphaOmegaRecordingInterface = PageTemplate.bind({}); -const AlphaOmegaRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); -AlphaOmegaRecordingInterfaceGlobalCopy.interfaces.interface = AlphaOmegaRecordingInterface; -AlphaOmegaRecordingInterfaceGlobalCopy.schema.source_data = AlphaOmegaRecordingInterfaceSchema; -AlphaOmegaRecordingInterface.args = { activePage, globalState: AlphaOmegaRecordingInterfaceGlobalCopy }; - -export const DeepLabCutInterface = PageTemplate.bind({}); -const DeepLabCutInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); -DeepLabCutInterfaceGlobalCopy.interfaces.interface = DeepLabCutInterface; -DeepLabCutInterfaceGlobalCopy.schema.source_data = DeepLabCutInterfaceSchema; -DeepLabCutInterface.args = { activePage, globalState: DeepLabCutInterfaceGlobalCopy }; - -export const SLEAPInterface = PageTemplate.bind({}); -const SLEAPInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); -SLEAPInterfaceGlobalCopy.interfaces.interface = SLEAPInterface; -SLEAPInterfaceGlobalCopy.schema.source_data = SLEAPInterfaceSchema; -SLEAPInterface.args = { activePage, globalState: SLEAPInterfaceGlobalCopy }; - -export const FicTracDataInterface = PageTemplate.bind({}); -const FicTracDataInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); -FicTracDataInterfaceGlobalCopy.interfaces.interface = FicTracDataInterface; -FicTracDataInterfaceGlobalCopy.schema.source_data = FicTracDataInterfaceSchema; -FicTracDataInterface.args = { activePage, globalState: FicTracDataInterfaceGlobalCopy }; - -export const AudioInterface = PageTemplate.bind({}); -const AudioInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); -AudioInterfaceGlobalCopy.interfaces.interface = AudioInterface; -AudioInterfaceGlobalCopy.schema.source_data = AudioInterfaceSchema; -AudioInterface.args = { activePage, globalState: AudioInterfaceGlobalCopy }; - -export const MiniscopeBehaviorInterface = PageTemplate.bind({}); -const MiniscopeBehaviorInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); -MiniscopeBehaviorInterfaceGlobalCopy.interfaces.interface = MiniscopeBehaviorInterface; -MiniscopeBehaviorInterfaceGlobalCopy.schema.source_data = MiniscopeBehaviorInterfaceSchema; -MiniscopeBehaviorInterface.args = { activePage, globalState: MiniscopeBehaviorInterfaceGlobalCopy }; - -export const EDFRecordingInterface = PageTemplate.bind({}); -const EDFRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); -EDFRecordingInterfaceGlobalCopy.interfaces.interface = EDFRecordingInterface; -EDFRecordingInterfaceGlobalCopy.schema.source_data = EDFRecordingInterfaceSchema; -EDFRecordingInterface.args = { activePage, globalState: EDFRecordingInterfaceGlobalCopy }; - -export const SpikeGLXConverterPipe = PageTemplate.bind({}); -const SpikeGLXConverterPipeGlobalCopy = JSON.parse(JSON.stringify(globalState)); -SpikeGLXConverterPipeGlobalCopy.interfaces.interface = SpikeGLXConverterPipe; -SpikeGLXConverterPipeGlobalCopy.schema.source_data = SpikeGLXConverterPipeSchema; -SpikeGLXConverterPipe.args = { activePage, globalState: SpikeGLXConverterPipeGlobalCopy }; - -export const BrukerTiffSinglePlaneConverter = PageTemplate.bind({}); -const BrukerTiffSinglePlaneConverterGlobalCopy = JSON.parse(JSON.stringify(globalState)); -BrukerTiffSinglePlaneConverterGlobalCopy.interfaces.interface = BrukerTiffSinglePlaneConverter; -BrukerTiffSinglePlaneConverterGlobalCopy.schema.source_data = BrukerTiffSinglePlaneConverterSchema; -BrukerTiffSinglePlaneConverter.args = { activePage, globalState: BrukerTiffSinglePlaneConverterGlobalCopy }; - -export const BrukerTiffMultiPlaneConverter = PageTemplate.bind({}); -const BrukerTiffMultiPlaneConverterGlobalCopy = JSON.parse(JSON.stringify(globalState)); -BrukerTiffMultiPlaneConverterGlobalCopy.interfaces.interface = BrukerTiffMultiPlaneConverter; -BrukerTiffMultiPlaneConverterGlobalCopy.schema.source_data = BrukerTiffMultiPlaneConverterSchema; -BrukerTiffMultiPlaneConverter.args = { activePage, globalState: BrukerTiffMultiPlaneConverterGlobalCopy }; - -export const MiniscopeConverter = PageTemplate.bind({}); -const MiniscopeConverterGlobalCopy = JSON.parse(JSON.stringify(globalState)); -MiniscopeConverterGlobalCopy.interfaces.interface = MiniscopeConverter; -MiniscopeConverterGlobalCopy.schema.source_data = MiniscopeConverterSchema; -MiniscopeConverter.args = { activePage, globalState: MiniscopeConverterGlobalCopy }; - -export const CellExplorerRecordingInterface = PageTemplate.bind({}); -const CellExplorerRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); -CellExplorerRecordingInterfaceGlobalCopy.interfaces.interface = CellExplorerRecordingInterface; -CellExplorerRecordingInterfaceGlobalCopy.schema.source_data = CellExplorerRecordingInterfaceSchema; -CellExplorerRecordingInterface.args = { activePage, globalState: CellExplorerRecordingInterfaceGlobalCopy }; +import { globalState, PageTemplate } from "./storyStates"; +import SpikeGLXRecordingInterfaceSchema from '../inputs/interface_schemas/SpikeGLXRecordingInterface.json' +import SpikeGLXNIDQInterfaceSchema from '../inputs/interface_schemas/SpikeGLXNIDQInterface.json' +import PhySortingInterfaceSchema from '../inputs/interface_schemas/PhySortingInterface.json' +import NeuroScopeRecordingInterfaceSchema from '../inputs/interface_schemas/NeuroScopeRecordingInterface.json' +import NeuroScopeLFPInterfaceSchema from '../inputs/interface_schemas/NeuroScopeLFPInterface.json' +import NeuroScopeSortingInterfaceSchema from '../inputs/interface_schemas/NeuroScopeSortingInterface.json' +import BiocamRecordingInterfaceSchema from '../inputs/interface_schemas/BiocamRecordingInterface.json' +import IntanRecordingInterfaceSchema from '../inputs/interface_schemas/IntanRecordingInterface.json' +import OpenEphysRecordingInterfaceSchema from '../inputs/interface_schemas/OpenEphysRecordingInterface.json' +import BlackrockRecordingInterfaceSchema from '../inputs/interface_schemas/BlackrockRecordingInterface.json' +import BlackrockSortingInterfaceSchema from '../inputs/interface_schemas/BlackrockSortingInterface.json' +import CellExplorerSortingInterfaceSchema from '../inputs/interface_schemas/CellExplorerSortingInterface.json' +import KiloSortSortingInterfaceSchema from '../inputs/interface_schemas/KiloSortSortingInterface.json' +import TdtRecordingInterfaceSchema from '../inputs/interface_schemas/TdtRecordingInterface.json' +import Spike2RecordingInterfaceSchema from '../inputs/interface_schemas/Spike2RecordingInterface.json' +import BrukerTiffSinglePlaneImagingInterfaceSchema from '../inputs/interface_schemas/BrukerTiffSinglePlaneImagingInterface.json' +import ExtractSegmentationInterfaceSchema from '../inputs/interface_schemas/ExtractSegmentationInterface.json' +import CnmfeSegmentationInterfaceSchema from '../inputs/interface_schemas/CnmfeSegmentationInterface.json' +import BrukerTiffMultiPlaneImagingInterfaceSchema from '../inputs/interface_schemas/BrukerTiffMultiPlaneImagingInterface.json' +import MicroManagerTiffImagingInterfaceSchema from '../inputs/interface_schemas/MicroManagerTiffImagingInterface.json' +import ScanImageImagingInterfaceSchema from '../inputs/interface_schemas/ScanImageImagingInterface.json' +import TiffImagingInterfaceSchema from '../inputs/interface_schemas/TiffImagingInterface.json' +import MiniscopeImagingInterfaceSchema from '../inputs/interface_schemas/MiniscopeImagingInterface.json' +import SbxImagingInterfaceSchema from '../inputs/interface_schemas/SbxImagingInterface.json' +import CaimanSegmentationInterfaceSchema from '../inputs/interface_schemas/CaimanSegmentationInterface.json' +import MCSRawRecordingInterfaceSchema from '../inputs/interface_schemas/MCSRawRecordingInterface.json' +import MEArecRecordingInterfaceSchema from '../inputs/interface_schemas/MEArecRecordingInterface.json' +import PlexonRecordingInterfaceSchema from '../inputs/interface_schemas/PlexonRecordingInterface.json' +import PlexonSortingInterfaceSchema from '../inputs/interface_schemas/PlexonSortingInterface.json' +import AxonaRecordingInterfaceSchema from '../inputs/interface_schemas/AxonaRecordingInterface.json' +import VideoInterfaceSchema from '../inputs/interface_schemas/VideoInterface.json' +import NeuralynxRecordingInterfaceSchema from '../inputs/interface_schemas/NeuralynxRecordingInterface.json' +import Suite2pSegmentationInterfaceSchema from '../inputs/interface_schemas/Suite2pSegmentationInterface.json' +import AlphaOmegaRecordingInterfaceSchema from '../inputs/interface_schemas/AlphaOmegaRecordingInterface.json' +import DeepLabCutInterfaceSchema from '../inputs/interface_schemas/DeepLabCutInterface.json' +import SLEAPInterfaceSchema from '../inputs/interface_schemas/SLEAPInterface.json' +import FicTracDataInterfaceSchema from '../inputs/interface_schemas/FicTracDataInterface.json' +import AudioInterfaceSchema from '../inputs/interface_schemas/AudioInterface.json' +import MiniscopeBehaviorInterfaceSchema from '../inputs/interface_schemas/MiniscopeBehaviorInterface.json' +import EDFRecordingInterfaceSchema from '../inputs/interface_schemas/EDFRecordingInterface.json' +import SpikeGLXConverterPipeSchema from '../inputs/interface_schemas/SpikeGLXConverterPipe.json' +import BrukerTiffSinglePlaneConverterSchema from '../inputs/interface_schemas/BrukerTiffSinglePlaneConverter.json' +import BrukerTiffMultiPlaneConverterSchema from '../inputs/interface_schemas/BrukerTiffMultiPlaneConverter.json' +import MiniscopeConverterSchema from '../inputs/interface_schemas/MiniscopeConverter.json' +import CellExplorerRecordingInterfaceSchema from '../inputs/interface_schemas/CellExplorerRecordingInterface.json' + +export default { + title: "Pages/Guided Mode/Source Data", + parameters: { + chromatic: { disableSnapshot: false }, + } +}; + +const activePage = "//sourcedata" + + +const globalStateCopy = JSON.parse(JSON.stringify(globalState)) +globalStateCopy.schema.source_data.properties.SpikeGLXRecordingInterface = SpikeGLXRecordingInterfaceSchema.properties.SpikeGLXRecordingInterface +globalStateCopy.schema.source_data.properties.SpikeGLXNIDQInterface = SpikeGLXNIDQInterfaceSchema.properties.SpikeGLXNIDQInterface +globalStateCopy.schema.source_data.properties.PhySortingInterface = PhySortingInterfaceSchema.properties.PhySortingInterface +globalStateCopy.schema.source_data.properties.NeuroScopeRecordingInterface = NeuroScopeRecordingInterfaceSchema.properties.NeuroScopeRecordingInterface +globalStateCopy.schema.source_data.properties.NeuroScopeLFPInterface = NeuroScopeLFPInterfaceSchema.properties.NeuroScopeLFPInterface +globalStateCopy.schema.source_data.properties.NeuroScopeSortingInterface = NeuroScopeSortingInterfaceSchema.properties.NeuroScopeSortingInterface +globalStateCopy.schema.source_data.properties.BiocamRecordingInterface = BiocamRecordingInterfaceSchema.properties.BiocamRecordingInterface +globalStateCopy.schema.source_data.properties.IntanRecordingInterface = IntanRecordingInterfaceSchema.properties.IntanRecordingInterface +globalStateCopy.schema.source_data.properties.OpenEphysRecordingInterface = OpenEphysRecordingInterfaceSchema.properties.OpenEphysRecordingInterface +globalStateCopy.schema.source_data.properties.BlackrockRecordingInterface = BlackrockRecordingInterfaceSchema.properties.BlackrockRecordingInterface +globalStateCopy.schema.source_data.properties.BlackrockSortingInterface = BlackrockSortingInterfaceSchema.properties.BlackrockSortingInterface +globalStateCopy.schema.source_data.properties.CellExplorerSortingInterface = CellExplorerSortingInterfaceSchema.properties.CellExplorerSortingInterface +globalStateCopy.schema.source_data.properties.KiloSortSortingInterface = KiloSortSortingInterfaceSchema.properties.KiloSortSortingInterface +globalStateCopy.schema.source_data.properties.TdtRecordingInterface = TdtRecordingInterfaceSchema.properties.TdtRecordingInterface +globalStateCopy.schema.source_data.properties.Spike2RecordingInterface = Spike2RecordingInterfaceSchema.properties.Spike2RecordingInterface +globalStateCopy.schema.source_data.properties.BrukerTiffSinglePlaneImagingInterface = BrukerTiffSinglePlaneImagingInterfaceSchema.properties.BrukerTiffSinglePlaneImagingInterface +globalStateCopy.schema.source_data.properties.ExtractSegmentationInterface = ExtractSegmentationInterfaceSchema.properties.ExtractSegmentationInterface +globalStateCopy.schema.source_data.properties.CnmfeSegmentationInterface = CnmfeSegmentationInterfaceSchema.properties.CnmfeSegmentationInterface +globalStateCopy.schema.source_data.properties.BrukerTiffMultiPlaneImagingInterface = BrukerTiffMultiPlaneImagingInterfaceSchema.properties.BrukerTiffMultiPlaneImagingInterface +globalStateCopy.schema.source_data.properties.MicroManagerTiffImagingInterface = MicroManagerTiffImagingInterfaceSchema.properties.MicroManagerTiffImagingInterface +globalStateCopy.schema.source_data.properties.ScanImageImagingInterface = ScanImageImagingInterfaceSchema.properties.ScanImageImagingInterface +globalStateCopy.schema.source_data.properties.TiffImagingInterface = TiffImagingInterfaceSchema.properties.TiffImagingInterface +globalStateCopy.schema.source_data.properties.MiniscopeImagingInterface = MiniscopeImagingInterfaceSchema.properties.MiniscopeImagingInterface +globalStateCopy.schema.source_data.properties.SbxImagingInterface = SbxImagingInterfaceSchema.properties.SbxImagingInterface +globalStateCopy.schema.source_data.properties.CaimanSegmentationInterface = CaimanSegmentationInterfaceSchema.properties.CaimanSegmentationInterface +globalStateCopy.schema.source_data.properties.MCSRawRecordingInterface = MCSRawRecordingInterfaceSchema.properties.MCSRawRecordingInterface +globalStateCopy.schema.source_data.properties.MEArecRecordingInterface = MEArecRecordingInterfaceSchema.properties.MEArecRecordingInterface +globalStateCopy.schema.source_data.properties.PlexonRecordingInterface = PlexonRecordingInterfaceSchema.properties.PlexonRecordingInterface +globalStateCopy.schema.source_data.properties.PlexonSortingInterface = PlexonSortingInterfaceSchema.properties.PlexonSortingInterface +globalStateCopy.schema.source_data.properties.AxonaRecordingInterface = AxonaRecordingInterfaceSchema.properties.AxonaRecordingInterface +globalStateCopy.schema.source_data.properties.VideoInterface = VideoInterfaceSchema.properties.VideoInterface +globalStateCopy.schema.source_data.properties.NeuralynxRecordingInterface = NeuralynxRecordingInterfaceSchema.properties.NeuralynxRecordingInterface +globalStateCopy.schema.source_data.properties.Suite2pSegmentationInterface = Suite2pSegmentationInterfaceSchema.properties.Suite2pSegmentationInterface +globalStateCopy.schema.source_data.properties.AlphaOmegaRecordingInterface = AlphaOmegaRecordingInterfaceSchema.properties.AlphaOmegaRecordingInterface +globalStateCopy.schema.source_data.properties.DeepLabCutInterface = DeepLabCutInterfaceSchema.properties.DeepLabCutInterface +globalStateCopy.schema.source_data.properties.SLEAPInterface = SLEAPInterfaceSchema.properties.SLEAPInterface +globalStateCopy.schema.source_data.properties.FicTracDataInterface = FicTracDataInterfaceSchema.properties.FicTracDataInterface +globalStateCopy.schema.source_data.properties.AudioInterface = AudioInterfaceSchema.properties.AudioInterface +globalStateCopy.schema.source_data.properties.MiniscopeBehaviorInterface = MiniscopeBehaviorInterfaceSchema.properties.MiniscopeBehaviorInterface +globalStateCopy.schema.source_data.properties.EDFRecordingInterface = EDFRecordingInterfaceSchema.properties.EDFRecordingInterface +globalStateCopy.schema.source_data.properties.SpikeGLXConverterPipe = SpikeGLXConverterPipeSchema.properties.SpikeGLXConverterPipe +globalStateCopy.schema.source_data.properties.BrukerTiffSinglePlaneConverter = BrukerTiffSinglePlaneConverterSchema.properties.BrukerTiffSinglePlaneConverter +globalStateCopy.schema.source_data.properties.BrukerTiffMultiPlaneConverter = BrukerTiffMultiPlaneConverterSchema.properties.BrukerTiffMultiPlaneConverter +globalStateCopy.schema.source_data.properties.MiniscopeConverter = MiniscopeConverterSchema.properties.MiniscopeConverter +globalStateCopy.schema.source_data.properties.CellExplorerRecordingInterface = CellExplorerRecordingInterfaceSchema.properties.CellExplorerRecordingInterface + +const results = globalStateCopy.results +for (let sub in results){ + for (let ses in results[sub]) results[sub][ses].source_data = {SpikeGLXNIDQInterface: {file_path: '/dummy/file/path'}} +} + + +export const All = PageTemplate.bind({}); +All.args = { activePage, globalState: globalStateCopy }; + +export const SpikeGLXRecordingInterface = PageTemplate.bind({}); +const SpikeGLXRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) +SpikeGLXRecordingInterfaceGlobalCopy.interfaces.interface = SpikeGLXRecordingInterface +SpikeGLXRecordingInterfaceGlobalCopy.schema.source_data = SpikeGLXRecordingInterfaceSchema +SpikeGLXRecordingInterface.args = { activePage, globalState: SpikeGLXRecordingInterfaceGlobalCopy }; + +export const SpikeGLXNIDQInterface = PageTemplate.bind({}); +const SpikeGLXNIDQInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) +SpikeGLXNIDQInterfaceGlobalCopy.interfaces.interface = SpikeGLXNIDQInterface +SpikeGLXNIDQInterfaceGlobalCopy.schema.source_data = SpikeGLXNIDQInterfaceSchema +SpikeGLXNIDQInterface.args = { activePage, globalState: SpikeGLXNIDQInterfaceGlobalCopy }; + +export const PhySortingInterface = PageTemplate.bind({}); +const PhySortingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) +PhySortingInterfaceGlobalCopy.interfaces.interface = PhySortingInterface +PhySortingInterfaceGlobalCopy.schema.source_data = PhySortingInterfaceSchema +PhySortingInterface.args = { activePage, globalState: PhySortingInterfaceGlobalCopy }; + +export const NeuroScopeRecordingInterface = PageTemplate.bind({}); +const NeuroScopeRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) +NeuroScopeRecordingInterfaceGlobalCopy.interfaces.interface = NeuroScopeRecordingInterface +NeuroScopeRecordingInterfaceGlobalCopy.schema.source_data = NeuroScopeRecordingInterfaceSchema +NeuroScopeRecordingInterface.args = { activePage, globalState: NeuroScopeRecordingInterfaceGlobalCopy }; + +export const NeuroScopeLFPInterface = PageTemplate.bind({}); +const NeuroScopeLFPInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) +NeuroScopeLFPInterfaceGlobalCopy.interfaces.interface = NeuroScopeLFPInterface +NeuroScopeLFPInterfaceGlobalCopy.schema.source_data = NeuroScopeLFPInterfaceSchema +NeuroScopeLFPInterface.args = { activePage, globalState: NeuroScopeLFPInterfaceGlobalCopy }; + +export const NeuroScopeSortingInterface = PageTemplate.bind({}); +const NeuroScopeSortingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) +NeuroScopeSortingInterfaceGlobalCopy.interfaces.interface = NeuroScopeSortingInterface +NeuroScopeSortingInterfaceGlobalCopy.schema.source_data = NeuroScopeSortingInterfaceSchema +NeuroScopeSortingInterface.args = { activePage, globalState: NeuroScopeSortingInterfaceGlobalCopy }; + +export const BiocamRecordingInterface = PageTemplate.bind({}); +const BiocamRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) +BiocamRecordingInterfaceGlobalCopy.interfaces.interface = BiocamRecordingInterface +BiocamRecordingInterfaceGlobalCopy.schema.source_data = BiocamRecordingInterfaceSchema +BiocamRecordingInterface.args = { activePage, globalState: BiocamRecordingInterfaceGlobalCopy }; + +export const IntanRecordingInterface = PageTemplate.bind({}); +const IntanRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) +IntanRecordingInterfaceGlobalCopy.interfaces.interface = IntanRecordingInterface +IntanRecordingInterfaceGlobalCopy.schema.source_data = IntanRecordingInterfaceSchema +IntanRecordingInterface.args = { activePage, globalState: IntanRecordingInterfaceGlobalCopy }; + +export const OpenEphysRecordingInterface = PageTemplate.bind({}); +const OpenEphysRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) +OpenEphysRecordingInterfaceGlobalCopy.interfaces.interface = OpenEphysRecordingInterface +OpenEphysRecordingInterfaceGlobalCopy.schema.source_data = OpenEphysRecordingInterfaceSchema +OpenEphysRecordingInterface.args = { activePage, globalState: OpenEphysRecordingInterfaceGlobalCopy }; + +export const BlackrockRecordingInterface = PageTemplate.bind({}); +const BlackrockRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) +BlackrockRecordingInterfaceGlobalCopy.interfaces.interface = BlackrockRecordingInterface +BlackrockRecordingInterfaceGlobalCopy.schema.source_data = BlackrockRecordingInterfaceSchema +BlackrockRecordingInterface.args = { activePage, globalState: BlackrockRecordingInterfaceGlobalCopy }; + +export const BlackrockSortingInterface = PageTemplate.bind({}); +const BlackrockSortingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) +BlackrockSortingInterfaceGlobalCopy.interfaces.interface = BlackrockSortingInterface +BlackrockSortingInterfaceGlobalCopy.schema.source_data = BlackrockSortingInterfaceSchema +BlackrockSortingInterface.args = { activePage, globalState: BlackrockSortingInterfaceGlobalCopy }; + +export const CellExplorerSortingInterface = PageTemplate.bind({}); +const CellExplorerSortingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) +CellExplorerSortingInterfaceGlobalCopy.interfaces.interface = CellExplorerSortingInterface +CellExplorerSortingInterfaceGlobalCopy.schema.source_data = CellExplorerSortingInterfaceSchema +CellExplorerSortingInterface.args = { activePage, globalState: CellExplorerSortingInterfaceGlobalCopy }; + +export const KiloSortSortingInterface = PageTemplate.bind({}); +const KiloSortSortingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) +KiloSortSortingInterfaceGlobalCopy.interfaces.interface = KiloSortSortingInterface +KiloSortSortingInterfaceGlobalCopy.schema.source_data = KiloSortSortingInterfaceSchema +KiloSortSortingInterface.args = { activePage, globalState: KiloSortSortingInterfaceGlobalCopy }; + +export const TdtRecordingInterface = PageTemplate.bind({}); +const TdtRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) +TdtRecordingInterfaceGlobalCopy.interfaces.interface = TdtRecordingInterface +TdtRecordingInterfaceGlobalCopy.schema.source_data = TdtRecordingInterfaceSchema +TdtRecordingInterface.args = { activePage, globalState: TdtRecordingInterfaceGlobalCopy }; + +export const Spike2RecordingInterface = PageTemplate.bind({}); +const Spike2RecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) +Spike2RecordingInterfaceGlobalCopy.interfaces.interface = Spike2RecordingInterface +Spike2RecordingInterfaceGlobalCopy.schema.source_data = Spike2RecordingInterfaceSchema +Spike2RecordingInterface.args = { activePage, globalState: Spike2RecordingInterfaceGlobalCopy }; + +export const BrukerTiffSinglePlaneImagingInterface = PageTemplate.bind({}); +const BrukerTiffSinglePlaneImagingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) +BrukerTiffSinglePlaneImagingInterfaceGlobalCopy.interfaces.interface = BrukerTiffSinglePlaneImagingInterface +BrukerTiffSinglePlaneImagingInterfaceGlobalCopy.schema.source_data = BrukerTiffSinglePlaneImagingInterfaceSchema +BrukerTiffSinglePlaneImagingInterface.args = { activePage, globalState: BrukerTiffSinglePlaneImagingInterfaceGlobalCopy }; + +export const ExtractSegmentationInterface = PageTemplate.bind({}); +const ExtractSegmentationInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) +ExtractSegmentationInterfaceGlobalCopy.interfaces.interface = ExtractSegmentationInterface +ExtractSegmentationInterfaceGlobalCopy.schema.source_data = ExtractSegmentationInterfaceSchema +ExtractSegmentationInterface.args = { activePage, globalState: ExtractSegmentationInterfaceGlobalCopy }; + +export const CnmfeSegmentationInterface = PageTemplate.bind({}); +const CnmfeSegmentationInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) +CnmfeSegmentationInterfaceGlobalCopy.interfaces.interface = CnmfeSegmentationInterface +CnmfeSegmentationInterfaceGlobalCopy.schema.source_data = CnmfeSegmentationInterfaceSchema +CnmfeSegmentationInterface.args = { activePage, globalState: CnmfeSegmentationInterfaceGlobalCopy }; + +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 +MicroManagerTiffImagingInterfaceGlobalCopy.schema.source_data = MicroManagerTiffImagingInterfaceSchema +MicroManagerTiffImagingInterface.args = { activePage, globalState: MicroManagerTiffImagingInterfaceGlobalCopy }; + +export const ScanImageImagingInterface = PageTemplate.bind({}); +const ScanImageImagingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) +ScanImageImagingInterfaceGlobalCopy.interfaces.interface = ScanImageImagingInterface +ScanImageImagingInterfaceGlobalCopy.schema.source_data = ScanImageImagingInterfaceSchema +ScanImageImagingInterface.args = { activePage, globalState: ScanImageImagingInterfaceGlobalCopy }; + +export const TiffImagingInterface = PageTemplate.bind({}); +const TiffImagingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) +TiffImagingInterfaceGlobalCopy.interfaces.interface = TiffImagingInterface +TiffImagingInterfaceGlobalCopy.schema.source_data = TiffImagingInterfaceSchema +TiffImagingInterface.args = { activePage, globalState: TiffImagingInterfaceGlobalCopy }; + +export const MiniscopeImagingInterface = PageTemplate.bind({}); +const MiniscopeImagingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) +MiniscopeImagingInterfaceGlobalCopy.interfaces.interface = MiniscopeImagingInterface +MiniscopeImagingInterfaceGlobalCopy.schema.source_data = MiniscopeImagingInterfaceSchema +MiniscopeImagingInterface.args = { activePage, globalState: MiniscopeImagingInterfaceGlobalCopy }; + +export const SbxImagingInterface = PageTemplate.bind({}); +const SbxImagingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) +SbxImagingInterfaceGlobalCopy.interfaces.interface = SbxImagingInterface +SbxImagingInterfaceGlobalCopy.schema.source_data = SbxImagingInterfaceSchema +SbxImagingInterface.args = { activePage, globalState: SbxImagingInterfaceGlobalCopy }; + +export const CaimanSegmentationInterface = PageTemplate.bind({}); +const CaimanSegmentationInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) +CaimanSegmentationInterfaceGlobalCopy.interfaces.interface = CaimanSegmentationInterface +CaimanSegmentationInterfaceGlobalCopy.schema.source_data = CaimanSegmentationInterfaceSchema +CaimanSegmentationInterface.args = { activePage, globalState: CaimanSegmentationInterfaceGlobalCopy }; + +export const MCSRawRecordingInterface = PageTemplate.bind({}); +const MCSRawRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) +MCSRawRecordingInterfaceGlobalCopy.interfaces.interface = MCSRawRecordingInterface +MCSRawRecordingInterfaceGlobalCopy.schema.source_data = MCSRawRecordingInterfaceSchema +MCSRawRecordingInterface.args = { activePage, globalState: MCSRawRecordingInterfaceGlobalCopy }; + +export const MEArecRecordingInterface = PageTemplate.bind({}); +const MEArecRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) +MEArecRecordingInterfaceGlobalCopy.interfaces.interface = MEArecRecordingInterface +MEArecRecordingInterfaceGlobalCopy.schema.source_data = MEArecRecordingInterfaceSchema +MEArecRecordingInterface.args = { activePage, globalState: MEArecRecordingInterfaceGlobalCopy }; + +export const PlexonRecordingInterface = PageTemplate.bind({}); +const PlexonRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) +PlexonRecordingInterfaceGlobalCopy.interfaces.interface = PlexonRecordingInterface +PlexonRecordingInterfaceGlobalCopy.schema.source_data = PlexonRecordingInterfaceSchema +PlexonRecordingInterface.args = { activePage, globalState: PlexonRecordingInterfaceGlobalCopy }; + +export const PlexonSortingInterface = PageTemplate.bind({}); +const PlexonSortingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) +PlexonSortingInterfaceGlobalCopy.interfaces.interface = PlexonSortingInterface +PlexonSortingInterfaceGlobalCopy.schema.source_data = PlexonSortingInterfaceSchema +PlexonSortingInterface.args = { activePage, globalState: PlexonSortingInterfaceGlobalCopy }; + +export const AxonaRecordingInterface = PageTemplate.bind({}); +const AxonaRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) +AxonaRecordingInterfaceGlobalCopy.interfaces.interface = AxonaRecordingInterface +AxonaRecordingInterfaceGlobalCopy.schema.source_data = AxonaRecordingInterfaceSchema +AxonaRecordingInterface.args = { activePage, globalState: AxonaRecordingInterfaceGlobalCopy }; + +export const VideoInterface = PageTemplate.bind({}); +const VideoInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) +VideoInterfaceGlobalCopy.interfaces.interface = VideoInterface +VideoInterfaceGlobalCopy.schema.source_data = VideoInterfaceSchema +VideoInterface.args = { activePage, globalState: VideoInterfaceGlobalCopy }; + +export const NeuralynxRecordingInterface = PageTemplate.bind({}); +const NeuralynxRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) +NeuralynxRecordingInterfaceGlobalCopy.interfaces.interface = NeuralynxRecordingInterface +NeuralynxRecordingInterfaceGlobalCopy.schema.source_data = NeuralynxRecordingInterfaceSchema +NeuralynxRecordingInterface.args = { activePage, globalState: NeuralynxRecordingInterfaceGlobalCopy }; + +export const Suite2pSegmentationInterface = PageTemplate.bind({}); +const Suite2pSegmentationInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) +Suite2pSegmentationInterfaceGlobalCopy.interfaces.interface = Suite2pSegmentationInterface +Suite2pSegmentationInterfaceGlobalCopy.schema.source_data = Suite2pSegmentationInterfaceSchema +Suite2pSegmentationInterface.args = { activePage, globalState: Suite2pSegmentationInterfaceGlobalCopy }; + +export const AlphaOmegaRecordingInterface = PageTemplate.bind({}); +const AlphaOmegaRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) +AlphaOmegaRecordingInterfaceGlobalCopy.interfaces.interface = AlphaOmegaRecordingInterface +AlphaOmegaRecordingInterfaceGlobalCopy.schema.source_data = AlphaOmegaRecordingInterfaceSchema +AlphaOmegaRecordingInterface.args = { activePage, globalState: AlphaOmegaRecordingInterfaceGlobalCopy }; + +export const DeepLabCutInterface = PageTemplate.bind({}); +const DeepLabCutInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) +DeepLabCutInterfaceGlobalCopy.interfaces.interface = DeepLabCutInterface +DeepLabCutInterfaceGlobalCopy.schema.source_data = DeepLabCutInterfaceSchema +DeepLabCutInterface.args = { activePage, globalState: DeepLabCutInterfaceGlobalCopy }; + +export const SLEAPInterface = PageTemplate.bind({}); +const SLEAPInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) +SLEAPInterfaceGlobalCopy.interfaces.interface = SLEAPInterface +SLEAPInterfaceGlobalCopy.schema.source_data = SLEAPInterfaceSchema +SLEAPInterface.args = { activePage, globalState: SLEAPInterfaceGlobalCopy }; + +export const FicTracDataInterface = PageTemplate.bind({}); +const FicTracDataInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) +FicTracDataInterfaceGlobalCopy.interfaces.interface = FicTracDataInterface +FicTracDataInterfaceGlobalCopy.schema.source_data = FicTracDataInterfaceSchema +FicTracDataInterface.args = { activePage, globalState: FicTracDataInterfaceGlobalCopy }; + +export const AudioInterface = PageTemplate.bind({}); +const AudioInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) +AudioInterfaceGlobalCopy.interfaces.interface = AudioInterface +AudioInterfaceGlobalCopy.schema.source_data = AudioInterfaceSchema +AudioInterface.args = { activePage, globalState: AudioInterfaceGlobalCopy }; + +export const MiniscopeBehaviorInterface = PageTemplate.bind({}); +const MiniscopeBehaviorInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) +MiniscopeBehaviorInterfaceGlobalCopy.interfaces.interface = MiniscopeBehaviorInterface +MiniscopeBehaviorInterfaceGlobalCopy.schema.source_data = MiniscopeBehaviorInterfaceSchema +MiniscopeBehaviorInterface.args = { activePage, globalState: MiniscopeBehaviorInterfaceGlobalCopy }; + +export const EDFRecordingInterface = PageTemplate.bind({}); +const EDFRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) +EDFRecordingInterfaceGlobalCopy.interfaces.interface = EDFRecordingInterface +EDFRecordingInterfaceGlobalCopy.schema.source_data = EDFRecordingInterfaceSchema +EDFRecordingInterface.args = { activePage, globalState: EDFRecordingInterfaceGlobalCopy }; + +export const SpikeGLXConverterPipe = PageTemplate.bind({}); +const SpikeGLXConverterPipeGlobalCopy = JSON.parse(JSON.stringify(globalState)) +SpikeGLXConverterPipeGlobalCopy.interfaces.interface = SpikeGLXConverterPipe +SpikeGLXConverterPipeGlobalCopy.schema.source_data = SpikeGLXConverterPipeSchema +SpikeGLXConverterPipe.args = { activePage, globalState: SpikeGLXConverterPipeGlobalCopy }; + +export const BrukerTiffSinglePlaneConverter = PageTemplate.bind({}); +const BrukerTiffSinglePlaneConverterGlobalCopy = JSON.parse(JSON.stringify(globalState)) +BrukerTiffSinglePlaneConverterGlobalCopy.interfaces.interface = BrukerTiffSinglePlaneConverter +BrukerTiffSinglePlaneConverterGlobalCopy.schema.source_data = BrukerTiffSinglePlaneConverterSchema +BrukerTiffSinglePlaneConverter.args = { activePage, globalState: BrukerTiffSinglePlaneConverterGlobalCopy }; + +export const BrukerTiffMultiPlaneConverter = PageTemplate.bind({}); +const BrukerTiffMultiPlaneConverterGlobalCopy = JSON.parse(JSON.stringify(globalState)) +BrukerTiffMultiPlaneConverterGlobalCopy.interfaces.interface = BrukerTiffMultiPlaneConverter +BrukerTiffMultiPlaneConverterGlobalCopy.schema.source_data = BrukerTiffMultiPlaneConverterSchema +BrukerTiffMultiPlaneConverter.args = { activePage, globalState: BrukerTiffMultiPlaneConverterGlobalCopy }; + +export const MiniscopeConverter = PageTemplate.bind({}); +const MiniscopeConverterGlobalCopy = JSON.parse(JSON.stringify(globalState)) +MiniscopeConverterGlobalCopy.interfaces.interface = MiniscopeConverter +MiniscopeConverterGlobalCopy.schema.source_data = MiniscopeConverterSchema +MiniscopeConverter.args = { activePage, globalState: MiniscopeConverterGlobalCopy }; + +export const CellExplorerRecordingInterface = PageTemplate.bind({}); +const CellExplorerRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) +CellExplorerRecordingInterfaceGlobalCopy.interfaces.interface = CellExplorerRecordingInterface +CellExplorerRecordingInterfaceGlobalCopy.schema.source_data = CellExplorerRecordingInterfaceSchema +CellExplorerRecordingInterface.args = { activePage, globalState: CellExplorerRecordingInterfaceGlobalCopy }; + From 14ba221931ccad8993512ca00bbf06b4bce050f8 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 4 Jun 2024 23:51:15 +0000 Subject: [PATCH 4/4] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- generateInterfaceSchema.py | 4 +- .../AlphaOmegaRecordingInterface.json | 2 +- .../interface_schemas/AudioInterface.json | 2 +- .../AxonaRecordingInterface.json | 2 +- .../BiocamRecordingInterface.json | 2 +- .../BlackrockRecordingInterface.json | 2 +- .../BlackrockSortingInterface.json | 2 +- .../BrukerTiffMultiPlaneConverter.json | 2 +- .../BrukerTiffMultiPlaneImagingInterface.json | 2 +- .../BrukerTiffSinglePlaneConverter.json | 2 +- ...BrukerTiffSinglePlaneImagingInterface.json | 2 +- .../CaimanSegmentationInterface.json | 2 +- .../CellExplorerRecordingInterface.json | 2 +- .../CellExplorerSortingInterface.json | 2 +- .../CnmfeSegmentationInterface.json | 2 +- .../DeepLabCutInterface.json | 2 +- .../EDFRecordingInterface.json | 2 +- .../ExtractSegmentationInterface.json | 2 +- .../FicTracDataInterface.json | 2 +- .../IntanRecordingInterface.json | 2 +- .../KiloSortSortingInterface.json | 2 +- .../MCSRawRecordingInterface.json | 2 +- .../MEArecRecordingInterface.json | 2 +- .../MicroManagerTiffImagingInterface.json | 2 +- .../MiniscopeBehaviorInterface.json | 2 +- .../interface_schemas/MiniscopeConverter.json | 2 +- .../MiniscopeImagingInterface.json | 2 +- .../NeuralynxRecordingInterface.json | 2 +- .../NeuroScopeLFPInterface.json | 2 +- .../NeuroScopeRecordingInterface.json | 2 +- .../NeuroScopeSortingInterface.json | 2 +- .../OpenEphysRecordingInterface.json | 2 +- .../PhySortingInterface.json | 2 +- .../PlexonRecordingInterface.json | 2 +- .../PlexonSortingInterface.json | 2 +- .../interface_schemas/SLEAPInterface.json | 2 +- .../SbxImagingInterface.json | 2 +- .../ScanImageImagingInterface.json | 2 +- .../Spike2RecordingInterface.json | 2 +- .../SpikeGLXConverterPipe.json | 2 +- .../SpikeGLXNIDQInterface.json | 2 +- .../SpikeGLXRecordingInterface.json | 2 +- .../Suite2pSegmentationInterface.json | 2 +- .../TdtRecordingInterface.json | 2 +- .../TiffImagingInterface.json | 2 +- .../interface_schemas/VideoInterface.json | 2 +- stories/pages/SourceData.stories.js | 809 +++++++++--------- 47 files changed, 472 insertions(+), 431 deletions(-) diff --git a/generateInterfaceSchema.py b/generateInterfaceSchema.py index 3b6da7c2b8..784c1ba587 100644 --- a/generateInterfaceSchema.py +++ b/generateInterfaceSchema.py @@ -31,9 +31,7 @@ class CustomNWBConverter(NWBConverter): sourceDataStoryPath = Path("stories/pages/SourceData.stories.js") -importCode = "\n".join( - map(lambda arr: f"import {arr[0]}Schema from '../{Path(*arr[1].parts[1:])}'", paths.items()) -) +importCode = "\n".join(map(lambda arr: f"import {arr[0]}Schema from '../{Path(*arr[1].parts[1:])}'", paths.items())) storyCode = "\n".join( map( lambda arr: f"""export const {arr[0]} = PageTemplate.bind({{}}); diff --git a/stories/inputs/interface_schemas/AlphaOmegaRecordingInterface.json b/stories/inputs/interface_schemas/AlphaOmegaRecordingInterface.json index 597696ddf7..cfd2d72d51 100644 --- a/stories/inputs/interface_schemas/AlphaOmegaRecordingInterface.json +++ b/stories/inputs/interface_schemas/AlphaOmegaRecordingInterface.json @@ -31,4 +31,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/inputs/interface_schemas/AudioInterface.json b/stories/inputs/interface_schemas/AudioInterface.json index 2be8cc6b19..9ffca2ef0f 100644 --- a/stories/inputs/interface_schemas/AudioInterface.json +++ b/stories/inputs/interface_schemas/AudioInterface.json @@ -25,4 +25,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/inputs/interface_schemas/AxonaRecordingInterface.json b/stories/inputs/interface_schemas/AxonaRecordingInterface.json index bb3cc57611..5e703560a6 100644 --- a/stories/inputs/interface_schemas/AxonaRecordingInterface.json +++ b/stories/inputs/interface_schemas/AxonaRecordingInterface.json @@ -31,4 +31,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/inputs/interface_schemas/BiocamRecordingInterface.json b/stories/inputs/interface_schemas/BiocamRecordingInterface.json index 5ce0ab4270..7a7fa27302 100644 --- a/stories/inputs/interface_schemas/BiocamRecordingInterface.json +++ b/stories/inputs/interface_schemas/BiocamRecordingInterface.json @@ -31,4 +31,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/inputs/interface_schemas/BlackrockRecordingInterface.json b/stories/inputs/interface_schemas/BlackrockRecordingInterface.json index 00c78406d1..e14bcea726 100644 --- a/stories/inputs/interface_schemas/BlackrockRecordingInterface.json +++ b/stories/inputs/interface_schemas/BlackrockRecordingInterface.json @@ -35,4 +35,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/inputs/interface_schemas/BlackrockSortingInterface.json b/stories/inputs/interface_schemas/BlackrockSortingInterface.json index 3db9e086d7..98baa65846 100644 --- a/stories/inputs/interface_schemas/BlackrockSortingInterface.json +++ b/stories/inputs/interface_schemas/BlackrockSortingInterface.json @@ -32,4 +32,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/inputs/interface_schemas/BrukerTiffMultiPlaneConverter.json b/stories/inputs/interface_schemas/BrukerTiffMultiPlaneConverter.json index f32ce890ba..072c287f0e 100644 --- a/stories/inputs/interface_schemas/BrukerTiffMultiPlaneConverter.json +++ b/stories/inputs/interface_schemas/BrukerTiffMultiPlaneConverter.json @@ -33,4 +33,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/inputs/interface_schemas/BrukerTiffMultiPlaneImagingInterface.json b/stories/inputs/interface_schemas/BrukerTiffMultiPlaneImagingInterface.json index 8bca7878d1..4aa3faca75 100644 --- a/stories/inputs/interface_schemas/BrukerTiffMultiPlaneImagingInterface.json +++ b/stories/inputs/interface_schemas/BrukerTiffMultiPlaneImagingInterface.json @@ -30,4 +30,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/inputs/interface_schemas/BrukerTiffSinglePlaneConverter.json b/stories/inputs/interface_schemas/BrukerTiffSinglePlaneConverter.json index 1b813f76de..a4a52ec3e5 100644 --- a/stories/inputs/interface_schemas/BrukerTiffSinglePlaneConverter.json +++ b/stories/inputs/interface_schemas/BrukerTiffSinglePlaneConverter.json @@ -26,4 +26,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/inputs/interface_schemas/BrukerTiffSinglePlaneImagingInterface.json b/stories/inputs/interface_schemas/BrukerTiffSinglePlaneImagingInterface.json index 9717a52a3c..c04abec2df 100644 --- a/stories/inputs/interface_schemas/BrukerTiffSinglePlaneImagingInterface.json +++ b/stories/inputs/interface_schemas/BrukerTiffSinglePlaneImagingInterface.json @@ -30,4 +30,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/inputs/interface_schemas/CaimanSegmentationInterface.json b/stories/inputs/interface_schemas/CaimanSegmentationInterface.json index 42509ea5b6..1810b39b7e 100644 --- a/stories/inputs/interface_schemas/CaimanSegmentationInterface.json +++ b/stories/inputs/interface_schemas/CaimanSegmentationInterface.json @@ -27,4 +27,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/inputs/interface_schemas/CellExplorerRecordingInterface.json b/stories/inputs/interface_schemas/CellExplorerRecordingInterface.json index 7edd701fe9..ff3ce4df57 100644 --- a/stories/inputs/interface_schemas/CellExplorerRecordingInterface.json +++ b/stories/inputs/interface_schemas/CellExplorerRecordingInterface.json @@ -32,4 +32,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/inputs/interface_schemas/CellExplorerSortingInterface.json b/stories/inputs/interface_schemas/CellExplorerSortingInterface.json index e2cc689b17..c51a65d4ee 100644 --- a/stories/inputs/interface_schemas/CellExplorerSortingInterface.json +++ b/stories/inputs/interface_schemas/CellExplorerSortingInterface.json @@ -26,4 +26,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/inputs/interface_schemas/CnmfeSegmentationInterface.json b/stories/inputs/interface_schemas/CnmfeSegmentationInterface.json index 81006ec6d7..381a6c3a7c 100644 --- a/stories/inputs/interface_schemas/CnmfeSegmentationInterface.json +++ b/stories/inputs/interface_schemas/CnmfeSegmentationInterface.json @@ -26,4 +26,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/inputs/interface_schemas/DeepLabCutInterface.json b/stories/inputs/interface_schemas/DeepLabCutInterface.json index cf5c37c7c0..7e2e5fa401 100644 --- a/stories/inputs/interface_schemas/DeepLabCutInterface.json +++ b/stories/inputs/interface_schemas/DeepLabCutInterface.json @@ -37,4 +37,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/inputs/interface_schemas/EDFRecordingInterface.json b/stories/inputs/interface_schemas/EDFRecordingInterface.json index fff3b1fe74..b7371462e0 100644 --- a/stories/inputs/interface_schemas/EDFRecordingInterface.json +++ b/stories/inputs/interface_schemas/EDFRecordingInterface.json @@ -31,4 +31,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/inputs/interface_schemas/ExtractSegmentationInterface.json b/stories/inputs/interface_schemas/ExtractSegmentationInterface.json index 993d64284e..6d488ff38a 100644 --- a/stories/inputs/interface_schemas/ExtractSegmentationInterface.json +++ b/stories/inputs/interface_schemas/ExtractSegmentationInterface.json @@ -33,4 +33,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/inputs/interface_schemas/FicTracDataInterface.json b/stories/inputs/interface_schemas/FicTracDataInterface.json index b0773ebeef..6cd7f5f912 100644 --- a/stories/inputs/interface_schemas/FicTracDataInterface.json +++ b/stories/inputs/interface_schemas/FicTracDataInterface.json @@ -34,4 +34,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/inputs/interface_schemas/IntanRecordingInterface.json b/stories/inputs/interface_schemas/IntanRecordingInterface.json index fb0cf8d592..b7910b04ce 100644 --- a/stories/inputs/interface_schemas/IntanRecordingInterface.json +++ b/stories/inputs/interface_schemas/IntanRecordingInterface.json @@ -34,4 +34,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/inputs/interface_schemas/KiloSortSortingInterface.json b/stories/inputs/interface_schemas/KiloSortSortingInterface.json index 8799b8132d..b386258234 100644 --- a/stories/inputs/interface_schemas/KiloSortSortingInterface.json +++ b/stories/inputs/interface_schemas/KiloSortSortingInterface.json @@ -31,4 +31,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/inputs/interface_schemas/MCSRawRecordingInterface.json b/stories/inputs/interface_schemas/MCSRawRecordingInterface.json index 53bfeb9c77..58d5d63d11 100644 --- a/stories/inputs/interface_schemas/MCSRawRecordingInterface.json +++ b/stories/inputs/interface_schemas/MCSRawRecordingInterface.json @@ -31,4 +31,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/inputs/interface_schemas/MEArecRecordingInterface.json b/stories/inputs/interface_schemas/MEArecRecordingInterface.json index c29c7f18e0..d8bb66224b 100644 --- a/stories/inputs/interface_schemas/MEArecRecordingInterface.json +++ b/stories/inputs/interface_schemas/MEArecRecordingInterface.json @@ -31,4 +31,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/inputs/interface_schemas/MicroManagerTiffImagingInterface.json b/stories/inputs/interface_schemas/MicroManagerTiffImagingInterface.json index 77674f61e9..9791ad85b2 100644 --- a/stories/inputs/interface_schemas/MicroManagerTiffImagingInterface.json +++ b/stories/inputs/interface_schemas/MicroManagerTiffImagingInterface.json @@ -27,4 +27,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/inputs/interface_schemas/MiniscopeBehaviorInterface.json b/stories/inputs/interface_schemas/MiniscopeBehaviorInterface.json index 244d3a8dc8..506b9f7d2c 100644 --- a/stories/inputs/interface_schemas/MiniscopeBehaviorInterface.json +++ b/stories/inputs/interface_schemas/MiniscopeBehaviorInterface.json @@ -23,4 +23,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/inputs/interface_schemas/MiniscopeConverter.json b/stories/inputs/interface_schemas/MiniscopeConverter.json index d36c738312..38f969e75a 100644 --- a/stories/inputs/interface_schemas/MiniscopeConverter.json +++ b/stories/inputs/interface_schemas/MiniscopeConverter.json @@ -27,4 +27,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/inputs/interface_schemas/MiniscopeImagingInterface.json b/stories/inputs/interface_schemas/MiniscopeImagingInterface.json index 2792e9a5a6..cb5e3b55a5 100644 --- a/stories/inputs/interface_schemas/MiniscopeImagingInterface.json +++ b/stories/inputs/interface_schemas/MiniscopeImagingInterface.json @@ -23,4 +23,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/inputs/interface_schemas/NeuralynxRecordingInterface.json b/stories/inputs/interface_schemas/NeuralynxRecordingInterface.json index 6928d94f92..1bf31403fb 100644 --- a/stories/inputs/interface_schemas/NeuralynxRecordingInterface.json +++ b/stories/inputs/interface_schemas/NeuralynxRecordingInterface.json @@ -34,4 +34,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/inputs/interface_schemas/NeuroScopeLFPInterface.json b/stories/inputs/interface_schemas/NeuroScopeLFPInterface.json index 04eae8031e..639985ff2e 100644 --- a/stories/inputs/interface_schemas/NeuroScopeLFPInterface.json +++ b/stories/inputs/interface_schemas/NeuroScopeLFPInterface.json @@ -30,4 +30,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/inputs/interface_schemas/NeuroScopeRecordingInterface.json b/stories/inputs/interface_schemas/NeuroScopeRecordingInterface.json index 762672589b..7afc396a6d 100644 --- a/stories/inputs/interface_schemas/NeuroScopeRecordingInterface.json +++ b/stories/inputs/interface_schemas/NeuroScopeRecordingInterface.json @@ -38,4 +38,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/inputs/interface_schemas/NeuroScopeSortingInterface.json b/stories/inputs/interface_schemas/NeuroScopeSortingInterface.json index 65957ad236..10ebfe0695 100644 --- a/stories/inputs/interface_schemas/NeuroScopeSortingInterface.json +++ b/stories/inputs/interface_schemas/NeuroScopeSortingInterface.json @@ -41,4 +41,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/inputs/interface_schemas/OpenEphysRecordingInterface.json b/stories/inputs/interface_schemas/OpenEphysRecordingInterface.json index d0c142efef..caf2e25da6 100644 --- a/stories/inputs/interface_schemas/OpenEphysRecordingInterface.json +++ b/stories/inputs/interface_schemas/OpenEphysRecordingInterface.json @@ -37,4 +37,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/inputs/interface_schemas/PhySortingInterface.json b/stories/inputs/interface_schemas/PhySortingInterface.json index 8371aca2bf..cf03020e9c 100644 --- a/stories/inputs/interface_schemas/PhySortingInterface.json +++ b/stories/inputs/interface_schemas/PhySortingInterface.json @@ -33,4 +33,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/inputs/interface_schemas/PlexonRecordingInterface.json b/stories/inputs/interface_schemas/PlexonRecordingInterface.json index be9a910aa4..5d000b3a24 100644 --- a/stories/inputs/interface_schemas/PlexonRecordingInterface.json +++ b/stories/inputs/interface_schemas/PlexonRecordingInterface.json @@ -31,4 +31,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/inputs/interface_schemas/PlexonSortingInterface.json b/stories/inputs/interface_schemas/PlexonSortingInterface.json index c55df73046..5cc6bdc181 100644 --- a/stories/inputs/interface_schemas/PlexonSortingInterface.json +++ b/stories/inputs/interface_schemas/PlexonSortingInterface.json @@ -27,4 +27,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/inputs/interface_schemas/SLEAPInterface.json b/stories/inputs/interface_schemas/SLEAPInterface.json index e86ce424a2..77703778ba 100644 --- a/stories/inputs/interface_schemas/SLEAPInterface.json +++ b/stories/inputs/interface_schemas/SLEAPInterface.json @@ -35,4 +35,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/inputs/interface_schemas/SbxImagingInterface.json b/stories/inputs/interface_schemas/SbxImagingInterface.json index 8b97044b02..d02d2c0e74 100644 --- a/stories/inputs/interface_schemas/SbxImagingInterface.json +++ b/stories/inputs/interface_schemas/SbxImagingInterface.json @@ -29,4 +29,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/inputs/interface_schemas/ScanImageImagingInterface.json b/stories/inputs/interface_schemas/ScanImageImagingInterface.json index 0b2c0cffd8..1affeb16b8 100644 --- a/stories/inputs/interface_schemas/ScanImageImagingInterface.json +++ b/stories/inputs/interface_schemas/ScanImageImagingInterface.json @@ -36,4 +36,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/inputs/interface_schemas/Spike2RecordingInterface.json b/stories/inputs/interface_schemas/Spike2RecordingInterface.json index 1f561d8552..ad5d913210 100644 --- a/stories/inputs/interface_schemas/Spike2RecordingInterface.json +++ b/stories/inputs/interface_schemas/Spike2RecordingInterface.json @@ -31,4 +31,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/inputs/interface_schemas/SpikeGLXConverterPipe.json b/stories/inputs/interface_schemas/SpikeGLXConverterPipe.json index dd6a4e9cda..4b2fb1eae9 100644 --- a/stories/inputs/interface_schemas/SpikeGLXConverterPipe.json +++ b/stories/inputs/interface_schemas/SpikeGLXConverterPipe.json @@ -28,4 +28,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/inputs/interface_schemas/SpikeGLXNIDQInterface.json b/stories/inputs/interface_schemas/SpikeGLXNIDQInterface.json index 9aea153710..0903b15800 100644 --- a/stories/inputs/interface_schemas/SpikeGLXNIDQInterface.json +++ b/stories/inputs/interface_schemas/SpikeGLXNIDQInterface.json @@ -37,4 +37,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/inputs/interface_schemas/SpikeGLXRecordingInterface.json b/stories/inputs/interface_schemas/SpikeGLXRecordingInterface.json index 1e3565f2ca..fe04f74eea 100644 --- a/stories/inputs/interface_schemas/SpikeGLXRecordingInterface.json +++ b/stories/inputs/interface_schemas/SpikeGLXRecordingInterface.json @@ -31,4 +31,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/inputs/interface_schemas/Suite2pSegmentationInterface.json b/stories/inputs/interface_schemas/Suite2pSegmentationInterface.json index 2c34480e34..417ff557c6 100644 --- a/stories/inputs/interface_schemas/Suite2pSegmentationInterface.json +++ b/stories/inputs/interface_schemas/Suite2pSegmentationInterface.json @@ -37,4 +37,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/inputs/interface_schemas/TdtRecordingInterface.json b/stories/inputs/interface_schemas/TdtRecordingInterface.json index 6ea7b38dc1..d48e0f968e 100644 --- a/stories/inputs/interface_schemas/TdtRecordingInterface.json +++ b/stories/inputs/interface_schemas/TdtRecordingInterface.json @@ -38,4 +38,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/inputs/interface_schemas/TiffImagingInterface.json b/stories/inputs/interface_schemas/TiffImagingInterface.json index 0cce7efa66..036de528ab 100644 --- a/stories/inputs/interface_schemas/TiffImagingInterface.json +++ b/stories/inputs/interface_schemas/TiffImagingInterface.json @@ -31,4 +31,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/inputs/interface_schemas/VideoInterface.json b/stories/inputs/interface_schemas/VideoInterface.json index 99abd0068f..259c53a3da 100644 --- a/stories/inputs/interface_schemas/VideoInterface.json +++ b/stories/inputs/interface_schemas/VideoInterface.json @@ -25,4 +25,4 @@ "title": "Source data schema", "description": "Schema for the source data, files and directories", "version": "0.1.0" -} \ No newline at end of file +} diff --git a/stories/pages/SourceData.stories.js b/stories/pages/SourceData.stories.js index 715be40a71..841007cf22 100644 --- a/stories/pages/SourceData.stories.js +++ b/stories/pages/SourceData.stories.js @@ -1,383 +1,426 @@ -import { globalState, PageTemplate } from "./storyStates"; -import SpikeGLXRecordingInterfaceSchema from '../inputs/interface_schemas/SpikeGLXRecordingInterface.json' -import SpikeGLXNIDQInterfaceSchema from '../inputs/interface_schemas/SpikeGLXNIDQInterface.json' -import PhySortingInterfaceSchema from '../inputs/interface_schemas/PhySortingInterface.json' -import NeuroScopeRecordingInterfaceSchema from '../inputs/interface_schemas/NeuroScopeRecordingInterface.json' -import NeuroScopeLFPInterfaceSchema from '../inputs/interface_schemas/NeuroScopeLFPInterface.json' -import NeuroScopeSortingInterfaceSchema from '../inputs/interface_schemas/NeuroScopeSortingInterface.json' -import BiocamRecordingInterfaceSchema from '../inputs/interface_schemas/BiocamRecordingInterface.json' -import IntanRecordingInterfaceSchema from '../inputs/interface_schemas/IntanRecordingInterface.json' -import OpenEphysRecordingInterfaceSchema from '../inputs/interface_schemas/OpenEphysRecordingInterface.json' -import BlackrockRecordingInterfaceSchema from '../inputs/interface_schemas/BlackrockRecordingInterface.json' -import BlackrockSortingInterfaceSchema from '../inputs/interface_schemas/BlackrockSortingInterface.json' -import CellExplorerSortingInterfaceSchema from '../inputs/interface_schemas/CellExplorerSortingInterface.json' -import KiloSortSortingInterfaceSchema from '../inputs/interface_schemas/KiloSortSortingInterface.json' -import TdtRecordingInterfaceSchema from '../inputs/interface_schemas/TdtRecordingInterface.json' -import Spike2RecordingInterfaceSchema from '../inputs/interface_schemas/Spike2RecordingInterface.json' -import BrukerTiffSinglePlaneImagingInterfaceSchema from '../inputs/interface_schemas/BrukerTiffSinglePlaneImagingInterface.json' -import ExtractSegmentationInterfaceSchema from '../inputs/interface_schemas/ExtractSegmentationInterface.json' -import CnmfeSegmentationInterfaceSchema from '../inputs/interface_schemas/CnmfeSegmentationInterface.json' -import BrukerTiffMultiPlaneImagingInterfaceSchema from '../inputs/interface_schemas/BrukerTiffMultiPlaneImagingInterface.json' -import MicroManagerTiffImagingInterfaceSchema from '../inputs/interface_schemas/MicroManagerTiffImagingInterface.json' -import ScanImageImagingInterfaceSchema from '../inputs/interface_schemas/ScanImageImagingInterface.json' -import TiffImagingInterfaceSchema from '../inputs/interface_schemas/TiffImagingInterface.json' -import MiniscopeImagingInterfaceSchema from '../inputs/interface_schemas/MiniscopeImagingInterface.json' -import SbxImagingInterfaceSchema from '../inputs/interface_schemas/SbxImagingInterface.json' -import CaimanSegmentationInterfaceSchema from '../inputs/interface_schemas/CaimanSegmentationInterface.json' -import MCSRawRecordingInterfaceSchema from '../inputs/interface_schemas/MCSRawRecordingInterface.json' -import MEArecRecordingInterfaceSchema from '../inputs/interface_schemas/MEArecRecordingInterface.json' -import PlexonRecordingInterfaceSchema from '../inputs/interface_schemas/PlexonRecordingInterface.json' -import PlexonSortingInterfaceSchema from '../inputs/interface_schemas/PlexonSortingInterface.json' -import AxonaRecordingInterfaceSchema from '../inputs/interface_schemas/AxonaRecordingInterface.json' -import VideoInterfaceSchema from '../inputs/interface_schemas/VideoInterface.json' -import NeuralynxRecordingInterfaceSchema from '../inputs/interface_schemas/NeuralynxRecordingInterface.json' -import Suite2pSegmentationInterfaceSchema from '../inputs/interface_schemas/Suite2pSegmentationInterface.json' -import AlphaOmegaRecordingInterfaceSchema from '../inputs/interface_schemas/AlphaOmegaRecordingInterface.json' -import DeepLabCutInterfaceSchema from '../inputs/interface_schemas/DeepLabCutInterface.json' -import SLEAPInterfaceSchema from '../inputs/interface_schemas/SLEAPInterface.json' -import FicTracDataInterfaceSchema from '../inputs/interface_schemas/FicTracDataInterface.json' -import AudioInterfaceSchema from '../inputs/interface_schemas/AudioInterface.json' -import MiniscopeBehaviorInterfaceSchema from '../inputs/interface_schemas/MiniscopeBehaviorInterface.json' -import EDFRecordingInterfaceSchema from '../inputs/interface_schemas/EDFRecordingInterface.json' -import SpikeGLXConverterPipeSchema from '../inputs/interface_schemas/SpikeGLXConverterPipe.json' -import BrukerTiffSinglePlaneConverterSchema from '../inputs/interface_schemas/BrukerTiffSinglePlaneConverter.json' -import BrukerTiffMultiPlaneConverterSchema from '../inputs/interface_schemas/BrukerTiffMultiPlaneConverter.json' -import MiniscopeConverterSchema from '../inputs/interface_schemas/MiniscopeConverter.json' -import CellExplorerRecordingInterfaceSchema from '../inputs/interface_schemas/CellExplorerRecordingInterface.json' - -export default { - title: "Pages/Guided Mode/Source Data", - parameters: { - chromatic: { disableSnapshot: false }, - } -}; - -const activePage = "//sourcedata" - - -const globalStateCopy = JSON.parse(JSON.stringify(globalState)) -globalStateCopy.schema.source_data.properties.SpikeGLXRecordingInterface = SpikeGLXRecordingInterfaceSchema.properties.SpikeGLXRecordingInterface -globalStateCopy.schema.source_data.properties.SpikeGLXNIDQInterface = SpikeGLXNIDQInterfaceSchema.properties.SpikeGLXNIDQInterface -globalStateCopy.schema.source_data.properties.PhySortingInterface = PhySortingInterfaceSchema.properties.PhySortingInterface -globalStateCopy.schema.source_data.properties.NeuroScopeRecordingInterface = NeuroScopeRecordingInterfaceSchema.properties.NeuroScopeRecordingInterface -globalStateCopy.schema.source_data.properties.NeuroScopeLFPInterface = NeuroScopeLFPInterfaceSchema.properties.NeuroScopeLFPInterface -globalStateCopy.schema.source_data.properties.NeuroScopeSortingInterface = NeuroScopeSortingInterfaceSchema.properties.NeuroScopeSortingInterface -globalStateCopy.schema.source_data.properties.BiocamRecordingInterface = BiocamRecordingInterfaceSchema.properties.BiocamRecordingInterface -globalStateCopy.schema.source_data.properties.IntanRecordingInterface = IntanRecordingInterfaceSchema.properties.IntanRecordingInterface -globalStateCopy.schema.source_data.properties.OpenEphysRecordingInterface = OpenEphysRecordingInterfaceSchema.properties.OpenEphysRecordingInterface -globalStateCopy.schema.source_data.properties.BlackrockRecordingInterface = BlackrockRecordingInterfaceSchema.properties.BlackrockRecordingInterface -globalStateCopy.schema.source_data.properties.BlackrockSortingInterface = BlackrockSortingInterfaceSchema.properties.BlackrockSortingInterface -globalStateCopy.schema.source_data.properties.CellExplorerSortingInterface = CellExplorerSortingInterfaceSchema.properties.CellExplorerSortingInterface -globalStateCopy.schema.source_data.properties.KiloSortSortingInterface = KiloSortSortingInterfaceSchema.properties.KiloSortSortingInterface -globalStateCopy.schema.source_data.properties.TdtRecordingInterface = TdtRecordingInterfaceSchema.properties.TdtRecordingInterface -globalStateCopy.schema.source_data.properties.Spike2RecordingInterface = Spike2RecordingInterfaceSchema.properties.Spike2RecordingInterface -globalStateCopy.schema.source_data.properties.BrukerTiffSinglePlaneImagingInterface = BrukerTiffSinglePlaneImagingInterfaceSchema.properties.BrukerTiffSinglePlaneImagingInterface -globalStateCopy.schema.source_data.properties.ExtractSegmentationInterface = ExtractSegmentationInterfaceSchema.properties.ExtractSegmentationInterface -globalStateCopy.schema.source_data.properties.CnmfeSegmentationInterface = CnmfeSegmentationInterfaceSchema.properties.CnmfeSegmentationInterface -globalStateCopy.schema.source_data.properties.BrukerTiffMultiPlaneImagingInterface = BrukerTiffMultiPlaneImagingInterfaceSchema.properties.BrukerTiffMultiPlaneImagingInterface -globalStateCopy.schema.source_data.properties.MicroManagerTiffImagingInterface = MicroManagerTiffImagingInterfaceSchema.properties.MicroManagerTiffImagingInterface -globalStateCopy.schema.source_data.properties.ScanImageImagingInterface = ScanImageImagingInterfaceSchema.properties.ScanImageImagingInterface -globalStateCopy.schema.source_data.properties.TiffImagingInterface = TiffImagingInterfaceSchema.properties.TiffImagingInterface -globalStateCopy.schema.source_data.properties.MiniscopeImagingInterface = MiniscopeImagingInterfaceSchema.properties.MiniscopeImagingInterface -globalStateCopy.schema.source_data.properties.SbxImagingInterface = SbxImagingInterfaceSchema.properties.SbxImagingInterface -globalStateCopy.schema.source_data.properties.CaimanSegmentationInterface = CaimanSegmentationInterfaceSchema.properties.CaimanSegmentationInterface -globalStateCopy.schema.source_data.properties.MCSRawRecordingInterface = MCSRawRecordingInterfaceSchema.properties.MCSRawRecordingInterface -globalStateCopy.schema.source_data.properties.MEArecRecordingInterface = MEArecRecordingInterfaceSchema.properties.MEArecRecordingInterface -globalStateCopy.schema.source_data.properties.PlexonRecordingInterface = PlexonRecordingInterfaceSchema.properties.PlexonRecordingInterface -globalStateCopy.schema.source_data.properties.PlexonSortingInterface = PlexonSortingInterfaceSchema.properties.PlexonSortingInterface -globalStateCopy.schema.source_data.properties.AxonaRecordingInterface = AxonaRecordingInterfaceSchema.properties.AxonaRecordingInterface -globalStateCopy.schema.source_data.properties.VideoInterface = VideoInterfaceSchema.properties.VideoInterface -globalStateCopy.schema.source_data.properties.NeuralynxRecordingInterface = NeuralynxRecordingInterfaceSchema.properties.NeuralynxRecordingInterface -globalStateCopy.schema.source_data.properties.Suite2pSegmentationInterface = Suite2pSegmentationInterfaceSchema.properties.Suite2pSegmentationInterface -globalStateCopy.schema.source_data.properties.AlphaOmegaRecordingInterface = AlphaOmegaRecordingInterfaceSchema.properties.AlphaOmegaRecordingInterface -globalStateCopy.schema.source_data.properties.DeepLabCutInterface = DeepLabCutInterfaceSchema.properties.DeepLabCutInterface -globalStateCopy.schema.source_data.properties.SLEAPInterface = SLEAPInterfaceSchema.properties.SLEAPInterface -globalStateCopy.schema.source_data.properties.FicTracDataInterface = FicTracDataInterfaceSchema.properties.FicTracDataInterface -globalStateCopy.schema.source_data.properties.AudioInterface = AudioInterfaceSchema.properties.AudioInterface -globalStateCopy.schema.source_data.properties.MiniscopeBehaviorInterface = MiniscopeBehaviorInterfaceSchema.properties.MiniscopeBehaviorInterface -globalStateCopy.schema.source_data.properties.EDFRecordingInterface = EDFRecordingInterfaceSchema.properties.EDFRecordingInterface -globalStateCopy.schema.source_data.properties.SpikeGLXConverterPipe = SpikeGLXConverterPipeSchema.properties.SpikeGLXConverterPipe -globalStateCopy.schema.source_data.properties.BrukerTiffSinglePlaneConverter = BrukerTiffSinglePlaneConverterSchema.properties.BrukerTiffSinglePlaneConverter -globalStateCopy.schema.source_data.properties.BrukerTiffMultiPlaneConverter = BrukerTiffMultiPlaneConverterSchema.properties.BrukerTiffMultiPlaneConverter -globalStateCopy.schema.source_data.properties.MiniscopeConverter = MiniscopeConverterSchema.properties.MiniscopeConverter -globalStateCopy.schema.source_data.properties.CellExplorerRecordingInterface = CellExplorerRecordingInterfaceSchema.properties.CellExplorerRecordingInterface - -const results = globalStateCopy.results -for (let sub in results){ - for (let ses in results[sub]) results[sub][ses].source_data = {SpikeGLXNIDQInterface: {file_path: '/dummy/file/path'}} -} - - -export const All = PageTemplate.bind({}); -All.args = { activePage, globalState: globalStateCopy }; - -export const SpikeGLXRecordingInterface = PageTemplate.bind({}); -const SpikeGLXRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) -SpikeGLXRecordingInterfaceGlobalCopy.interfaces.interface = SpikeGLXRecordingInterface -SpikeGLXRecordingInterfaceGlobalCopy.schema.source_data = SpikeGLXRecordingInterfaceSchema -SpikeGLXRecordingInterface.args = { activePage, globalState: SpikeGLXRecordingInterfaceGlobalCopy }; - -export const SpikeGLXNIDQInterface = PageTemplate.bind({}); -const SpikeGLXNIDQInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) -SpikeGLXNIDQInterfaceGlobalCopy.interfaces.interface = SpikeGLXNIDQInterface -SpikeGLXNIDQInterfaceGlobalCopy.schema.source_data = SpikeGLXNIDQInterfaceSchema -SpikeGLXNIDQInterface.args = { activePage, globalState: SpikeGLXNIDQInterfaceGlobalCopy }; - -export const PhySortingInterface = PageTemplate.bind({}); -const PhySortingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) -PhySortingInterfaceGlobalCopy.interfaces.interface = PhySortingInterface -PhySortingInterfaceGlobalCopy.schema.source_data = PhySortingInterfaceSchema -PhySortingInterface.args = { activePage, globalState: PhySortingInterfaceGlobalCopy }; - -export const NeuroScopeRecordingInterface = PageTemplate.bind({}); -const NeuroScopeRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) -NeuroScopeRecordingInterfaceGlobalCopy.interfaces.interface = NeuroScopeRecordingInterface -NeuroScopeRecordingInterfaceGlobalCopy.schema.source_data = NeuroScopeRecordingInterfaceSchema -NeuroScopeRecordingInterface.args = { activePage, globalState: NeuroScopeRecordingInterfaceGlobalCopy }; - -export const NeuroScopeLFPInterface = PageTemplate.bind({}); -const NeuroScopeLFPInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) -NeuroScopeLFPInterfaceGlobalCopy.interfaces.interface = NeuroScopeLFPInterface -NeuroScopeLFPInterfaceGlobalCopy.schema.source_data = NeuroScopeLFPInterfaceSchema -NeuroScopeLFPInterface.args = { activePage, globalState: NeuroScopeLFPInterfaceGlobalCopy }; - -export const NeuroScopeSortingInterface = PageTemplate.bind({}); -const NeuroScopeSortingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) -NeuroScopeSortingInterfaceGlobalCopy.interfaces.interface = NeuroScopeSortingInterface -NeuroScopeSortingInterfaceGlobalCopy.schema.source_data = NeuroScopeSortingInterfaceSchema -NeuroScopeSortingInterface.args = { activePage, globalState: NeuroScopeSortingInterfaceGlobalCopy }; - -export const BiocamRecordingInterface = PageTemplate.bind({}); -const BiocamRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) -BiocamRecordingInterfaceGlobalCopy.interfaces.interface = BiocamRecordingInterface -BiocamRecordingInterfaceGlobalCopy.schema.source_data = BiocamRecordingInterfaceSchema -BiocamRecordingInterface.args = { activePage, globalState: BiocamRecordingInterfaceGlobalCopy }; - -export const IntanRecordingInterface = PageTemplate.bind({}); -const IntanRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) -IntanRecordingInterfaceGlobalCopy.interfaces.interface = IntanRecordingInterface -IntanRecordingInterfaceGlobalCopy.schema.source_data = IntanRecordingInterfaceSchema -IntanRecordingInterface.args = { activePage, globalState: IntanRecordingInterfaceGlobalCopy }; - -export const OpenEphysRecordingInterface = PageTemplate.bind({}); -const OpenEphysRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) -OpenEphysRecordingInterfaceGlobalCopy.interfaces.interface = OpenEphysRecordingInterface -OpenEphysRecordingInterfaceGlobalCopy.schema.source_data = OpenEphysRecordingInterfaceSchema -OpenEphysRecordingInterface.args = { activePage, globalState: OpenEphysRecordingInterfaceGlobalCopy }; - -export const BlackrockRecordingInterface = PageTemplate.bind({}); -const BlackrockRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) -BlackrockRecordingInterfaceGlobalCopy.interfaces.interface = BlackrockRecordingInterface -BlackrockRecordingInterfaceGlobalCopy.schema.source_data = BlackrockRecordingInterfaceSchema -BlackrockRecordingInterface.args = { activePage, globalState: BlackrockRecordingInterfaceGlobalCopy }; - -export const BlackrockSortingInterface = PageTemplate.bind({}); -const BlackrockSortingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) -BlackrockSortingInterfaceGlobalCopy.interfaces.interface = BlackrockSortingInterface -BlackrockSortingInterfaceGlobalCopy.schema.source_data = BlackrockSortingInterfaceSchema -BlackrockSortingInterface.args = { activePage, globalState: BlackrockSortingInterfaceGlobalCopy }; - -export const CellExplorerSortingInterface = PageTemplate.bind({}); -const CellExplorerSortingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) -CellExplorerSortingInterfaceGlobalCopy.interfaces.interface = CellExplorerSortingInterface -CellExplorerSortingInterfaceGlobalCopy.schema.source_data = CellExplorerSortingInterfaceSchema -CellExplorerSortingInterface.args = { activePage, globalState: CellExplorerSortingInterfaceGlobalCopy }; - -export const KiloSortSortingInterface = PageTemplate.bind({}); -const KiloSortSortingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) -KiloSortSortingInterfaceGlobalCopy.interfaces.interface = KiloSortSortingInterface -KiloSortSortingInterfaceGlobalCopy.schema.source_data = KiloSortSortingInterfaceSchema -KiloSortSortingInterface.args = { activePage, globalState: KiloSortSortingInterfaceGlobalCopy }; - -export const TdtRecordingInterface = PageTemplate.bind({}); -const TdtRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) -TdtRecordingInterfaceGlobalCopy.interfaces.interface = TdtRecordingInterface -TdtRecordingInterfaceGlobalCopy.schema.source_data = TdtRecordingInterfaceSchema -TdtRecordingInterface.args = { activePage, globalState: TdtRecordingInterfaceGlobalCopy }; - -export const Spike2RecordingInterface = PageTemplate.bind({}); -const Spike2RecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) -Spike2RecordingInterfaceGlobalCopy.interfaces.interface = Spike2RecordingInterface -Spike2RecordingInterfaceGlobalCopy.schema.source_data = Spike2RecordingInterfaceSchema -Spike2RecordingInterface.args = { activePage, globalState: Spike2RecordingInterfaceGlobalCopy }; - -export const BrukerTiffSinglePlaneImagingInterface = PageTemplate.bind({}); -const BrukerTiffSinglePlaneImagingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) -BrukerTiffSinglePlaneImagingInterfaceGlobalCopy.interfaces.interface = BrukerTiffSinglePlaneImagingInterface -BrukerTiffSinglePlaneImagingInterfaceGlobalCopy.schema.source_data = BrukerTiffSinglePlaneImagingInterfaceSchema -BrukerTiffSinglePlaneImagingInterface.args = { activePage, globalState: BrukerTiffSinglePlaneImagingInterfaceGlobalCopy }; - -export const ExtractSegmentationInterface = PageTemplate.bind({}); -const ExtractSegmentationInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) -ExtractSegmentationInterfaceGlobalCopy.interfaces.interface = ExtractSegmentationInterface -ExtractSegmentationInterfaceGlobalCopy.schema.source_data = ExtractSegmentationInterfaceSchema -ExtractSegmentationInterface.args = { activePage, globalState: ExtractSegmentationInterfaceGlobalCopy }; - -export const CnmfeSegmentationInterface = PageTemplate.bind({}); -const CnmfeSegmentationInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) -CnmfeSegmentationInterfaceGlobalCopy.interfaces.interface = CnmfeSegmentationInterface -CnmfeSegmentationInterfaceGlobalCopy.schema.source_data = CnmfeSegmentationInterfaceSchema -CnmfeSegmentationInterface.args = { activePage, globalState: CnmfeSegmentationInterfaceGlobalCopy }; - -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 -MicroManagerTiffImagingInterfaceGlobalCopy.schema.source_data = MicroManagerTiffImagingInterfaceSchema -MicroManagerTiffImagingInterface.args = { activePage, globalState: MicroManagerTiffImagingInterfaceGlobalCopy }; - -export const ScanImageImagingInterface = PageTemplate.bind({}); -const ScanImageImagingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) -ScanImageImagingInterfaceGlobalCopy.interfaces.interface = ScanImageImagingInterface -ScanImageImagingInterfaceGlobalCopy.schema.source_data = ScanImageImagingInterfaceSchema -ScanImageImagingInterface.args = { activePage, globalState: ScanImageImagingInterfaceGlobalCopy }; - -export const TiffImagingInterface = PageTemplate.bind({}); -const TiffImagingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) -TiffImagingInterfaceGlobalCopy.interfaces.interface = TiffImagingInterface -TiffImagingInterfaceGlobalCopy.schema.source_data = TiffImagingInterfaceSchema -TiffImagingInterface.args = { activePage, globalState: TiffImagingInterfaceGlobalCopy }; - -export const MiniscopeImagingInterface = PageTemplate.bind({}); -const MiniscopeImagingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) -MiniscopeImagingInterfaceGlobalCopy.interfaces.interface = MiniscopeImagingInterface -MiniscopeImagingInterfaceGlobalCopy.schema.source_data = MiniscopeImagingInterfaceSchema -MiniscopeImagingInterface.args = { activePage, globalState: MiniscopeImagingInterfaceGlobalCopy }; - -export const SbxImagingInterface = PageTemplate.bind({}); -const SbxImagingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) -SbxImagingInterfaceGlobalCopy.interfaces.interface = SbxImagingInterface -SbxImagingInterfaceGlobalCopy.schema.source_data = SbxImagingInterfaceSchema -SbxImagingInterface.args = { activePage, globalState: SbxImagingInterfaceGlobalCopy }; - -export const CaimanSegmentationInterface = PageTemplate.bind({}); -const CaimanSegmentationInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) -CaimanSegmentationInterfaceGlobalCopy.interfaces.interface = CaimanSegmentationInterface -CaimanSegmentationInterfaceGlobalCopy.schema.source_data = CaimanSegmentationInterfaceSchema -CaimanSegmentationInterface.args = { activePage, globalState: CaimanSegmentationInterfaceGlobalCopy }; - -export const MCSRawRecordingInterface = PageTemplate.bind({}); -const MCSRawRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) -MCSRawRecordingInterfaceGlobalCopy.interfaces.interface = MCSRawRecordingInterface -MCSRawRecordingInterfaceGlobalCopy.schema.source_data = MCSRawRecordingInterfaceSchema -MCSRawRecordingInterface.args = { activePage, globalState: MCSRawRecordingInterfaceGlobalCopy }; - -export const MEArecRecordingInterface = PageTemplate.bind({}); -const MEArecRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) -MEArecRecordingInterfaceGlobalCopy.interfaces.interface = MEArecRecordingInterface -MEArecRecordingInterfaceGlobalCopy.schema.source_data = MEArecRecordingInterfaceSchema -MEArecRecordingInterface.args = { activePage, globalState: MEArecRecordingInterfaceGlobalCopy }; - -export const PlexonRecordingInterface = PageTemplate.bind({}); -const PlexonRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) -PlexonRecordingInterfaceGlobalCopy.interfaces.interface = PlexonRecordingInterface -PlexonRecordingInterfaceGlobalCopy.schema.source_data = PlexonRecordingInterfaceSchema -PlexonRecordingInterface.args = { activePage, globalState: PlexonRecordingInterfaceGlobalCopy }; - -export const PlexonSortingInterface = PageTemplate.bind({}); -const PlexonSortingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) -PlexonSortingInterfaceGlobalCopy.interfaces.interface = PlexonSortingInterface -PlexonSortingInterfaceGlobalCopy.schema.source_data = PlexonSortingInterfaceSchema -PlexonSortingInterface.args = { activePage, globalState: PlexonSortingInterfaceGlobalCopy }; - -export const AxonaRecordingInterface = PageTemplate.bind({}); -const AxonaRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) -AxonaRecordingInterfaceGlobalCopy.interfaces.interface = AxonaRecordingInterface -AxonaRecordingInterfaceGlobalCopy.schema.source_data = AxonaRecordingInterfaceSchema -AxonaRecordingInterface.args = { activePage, globalState: AxonaRecordingInterfaceGlobalCopy }; - -export const VideoInterface = PageTemplate.bind({}); -const VideoInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) -VideoInterfaceGlobalCopy.interfaces.interface = VideoInterface -VideoInterfaceGlobalCopy.schema.source_data = VideoInterfaceSchema -VideoInterface.args = { activePage, globalState: VideoInterfaceGlobalCopy }; - -export const NeuralynxRecordingInterface = PageTemplate.bind({}); -const NeuralynxRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) -NeuralynxRecordingInterfaceGlobalCopy.interfaces.interface = NeuralynxRecordingInterface -NeuralynxRecordingInterfaceGlobalCopy.schema.source_data = NeuralynxRecordingInterfaceSchema -NeuralynxRecordingInterface.args = { activePage, globalState: NeuralynxRecordingInterfaceGlobalCopy }; - -export const Suite2pSegmentationInterface = PageTemplate.bind({}); -const Suite2pSegmentationInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) -Suite2pSegmentationInterfaceGlobalCopy.interfaces.interface = Suite2pSegmentationInterface -Suite2pSegmentationInterfaceGlobalCopy.schema.source_data = Suite2pSegmentationInterfaceSchema -Suite2pSegmentationInterface.args = { activePage, globalState: Suite2pSegmentationInterfaceGlobalCopy }; - -export const AlphaOmegaRecordingInterface = PageTemplate.bind({}); -const AlphaOmegaRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) -AlphaOmegaRecordingInterfaceGlobalCopy.interfaces.interface = AlphaOmegaRecordingInterface -AlphaOmegaRecordingInterfaceGlobalCopy.schema.source_data = AlphaOmegaRecordingInterfaceSchema -AlphaOmegaRecordingInterface.args = { activePage, globalState: AlphaOmegaRecordingInterfaceGlobalCopy }; - -export const DeepLabCutInterface = PageTemplate.bind({}); -const DeepLabCutInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) -DeepLabCutInterfaceGlobalCopy.interfaces.interface = DeepLabCutInterface -DeepLabCutInterfaceGlobalCopy.schema.source_data = DeepLabCutInterfaceSchema -DeepLabCutInterface.args = { activePage, globalState: DeepLabCutInterfaceGlobalCopy }; - -export const SLEAPInterface = PageTemplate.bind({}); -const SLEAPInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) -SLEAPInterfaceGlobalCopy.interfaces.interface = SLEAPInterface -SLEAPInterfaceGlobalCopy.schema.source_data = SLEAPInterfaceSchema -SLEAPInterface.args = { activePage, globalState: SLEAPInterfaceGlobalCopy }; - -export const FicTracDataInterface = PageTemplate.bind({}); -const FicTracDataInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) -FicTracDataInterfaceGlobalCopy.interfaces.interface = FicTracDataInterface -FicTracDataInterfaceGlobalCopy.schema.source_data = FicTracDataInterfaceSchema -FicTracDataInterface.args = { activePage, globalState: FicTracDataInterfaceGlobalCopy }; - -export const AudioInterface = PageTemplate.bind({}); -const AudioInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) -AudioInterfaceGlobalCopy.interfaces.interface = AudioInterface -AudioInterfaceGlobalCopy.schema.source_data = AudioInterfaceSchema -AudioInterface.args = { activePage, globalState: AudioInterfaceGlobalCopy }; - -export const MiniscopeBehaviorInterface = PageTemplate.bind({}); -const MiniscopeBehaviorInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) -MiniscopeBehaviorInterfaceGlobalCopy.interfaces.interface = MiniscopeBehaviorInterface -MiniscopeBehaviorInterfaceGlobalCopy.schema.source_data = MiniscopeBehaviorInterfaceSchema -MiniscopeBehaviorInterface.args = { activePage, globalState: MiniscopeBehaviorInterfaceGlobalCopy }; - -export const EDFRecordingInterface = PageTemplate.bind({}); -const EDFRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) -EDFRecordingInterfaceGlobalCopy.interfaces.interface = EDFRecordingInterface -EDFRecordingInterfaceGlobalCopy.schema.source_data = EDFRecordingInterfaceSchema -EDFRecordingInterface.args = { activePage, globalState: EDFRecordingInterfaceGlobalCopy }; - -export const SpikeGLXConverterPipe = PageTemplate.bind({}); -const SpikeGLXConverterPipeGlobalCopy = JSON.parse(JSON.stringify(globalState)) -SpikeGLXConverterPipeGlobalCopy.interfaces.interface = SpikeGLXConverterPipe -SpikeGLXConverterPipeGlobalCopy.schema.source_data = SpikeGLXConverterPipeSchema -SpikeGLXConverterPipe.args = { activePage, globalState: SpikeGLXConverterPipeGlobalCopy }; - -export const BrukerTiffSinglePlaneConverter = PageTemplate.bind({}); -const BrukerTiffSinglePlaneConverterGlobalCopy = JSON.parse(JSON.stringify(globalState)) -BrukerTiffSinglePlaneConverterGlobalCopy.interfaces.interface = BrukerTiffSinglePlaneConverter -BrukerTiffSinglePlaneConverterGlobalCopy.schema.source_data = BrukerTiffSinglePlaneConverterSchema -BrukerTiffSinglePlaneConverter.args = { activePage, globalState: BrukerTiffSinglePlaneConverterGlobalCopy }; - -export const BrukerTiffMultiPlaneConverter = PageTemplate.bind({}); -const BrukerTiffMultiPlaneConverterGlobalCopy = JSON.parse(JSON.stringify(globalState)) -BrukerTiffMultiPlaneConverterGlobalCopy.interfaces.interface = BrukerTiffMultiPlaneConverter -BrukerTiffMultiPlaneConverterGlobalCopy.schema.source_data = BrukerTiffMultiPlaneConverterSchema -BrukerTiffMultiPlaneConverter.args = { activePage, globalState: BrukerTiffMultiPlaneConverterGlobalCopy }; - -export const MiniscopeConverter = PageTemplate.bind({}); -const MiniscopeConverterGlobalCopy = JSON.parse(JSON.stringify(globalState)) -MiniscopeConverterGlobalCopy.interfaces.interface = MiniscopeConverter -MiniscopeConverterGlobalCopy.schema.source_data = MiniscopeConverterSchema -MiniscopeConverter.args = { activePage, globalState: MiniscopeConverterGlobalCopy }; - -export const CellExplorerRecordingInterface = PageTemplate.bind({}); -const CellExplorerRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) -CellExplorerRecordingInterfaceGlobalCopy.interfaces.interface = CellExplorerRecordingInterface -CellExplorerRecordingInterfaceGlobalCopy.schema.source_data = CellExplorerRecordingInterfaceSchema -CellExplorerRecordingInterface.args = { activePage, globalState: CellExplorerRecordingInterfaceGlobalCopy }; - +import { globalState, PageTemplate } from "./storyStates"; +import SpikeGLXRecordingInterfaceSchema from "../inputs/interface_schemas/SpikeGLXRecordingInterface.json"; +import SpikeGLXNIDQInterfaceSchema from "../inputs/interface_schemas/SpikeGLXNIDQInterface.json"; +import PhySortingInterfaceSchema from "../inputs/interface_schemas/PhySortingInterface.json"; +import NeuroScopeRecordingInterfaceSchema from "../inputs/interface_schemas/NeuroScopeRecordingInterface.json"; +import NeuroScopeLFPInterfaceSchema from "../inputs/interface_schemas/NeuroScopeLFPInterface.json"; +import NeuroScopeSortingInterfaceSchema from "../inputs/interface_schemas/NeuroScopeSortingInterface.json"; +import BiocamRecordingInterfaceSchema from "../inputs/interface_schemas/BiocamRecordingInterface.json"; +import IntanRecordingInterfaceSchema from "../inputs/interface_schemas/IntanRecordingInterface.json"; +import OpenEphysRecordingInterfaceSchema from "../inputs/interface_schemas/OpenEphysRecordingInterface.json"; +import BlackrockRecordingInterfaceSchema from "../inputs/interface_schemas/BlackrockRecordingInterface.json"; +import BlackrockSortingInterfaceSchema from "../inputs/interface_schemas/BlackrockSortingInterface.json"; +import CellExplorerSortingInterfaceSchema from "../inputs/interface_schemas/CellExplorerSortingInterface.json"; +import KiloSortSortingInterfaceSchema from "../inputs/interface_schemas/KiloSortSortingInterface.json"; +import TdtRecordingInterfaceSchema from "../inputs/interface_schemas/TdtRecordingInterface.json"; +import Spike2RecordingInterfaceSchema from "../inputs/interface_schemas/Spike2RecordingInterface.json"; +import BrukerTiffSinglePlaneImagingInterfaceSchema from "../inputs/interface_schemas/BrukerTiffSinglePlaneImagingInterface.json"; +import ExtractSegmentationInterfaceSchema from "../inputs/interface_schemas/ExtractSegmentationInterface.json"; +import CnmfeSegmentationInterfaceSchema from "../inputs/interface_schemas/CnmfeSegmentationInterface.json"; +import BrukerTiffMultiPlaneImagingInterfaceSchema from "../inputs/interface_schemas/BrukerTiffMultiPlaneImagingInterface.json"; +import MicroManagerTiffImagingInterfaceSchema from "../inputs/interface_schemas/MicroManagerTiffImagingInterface.json"; +import ScanImageImagingInterfaceSchema from "../inputs/interface_schemas/ScanImageImagingInterface.json"; +import TiffImagingInterfaceSchema from "../inputs/interface_schemas/TiffImagingInterface.json"; +import MiniscopeImagingInterfaceSchema from "../inputs/interface_schemas/MiniscopeImagingInterface.json"; +import SbxImagingInterfaceSchema from "../inputs/interface_schemas/SbxImagingInterface.json"; +import CaimanSegmentationInterfaceSchema from "../inputs/interface_schemas/CaimanSegmentationInterface.json"; +import MCSRawRecordingInterfaceSchema from "../inputs/interface_schemas/MCSRawRecordingInterface.json"; +import MEArecRecordingInterfaceSchema from "../inputs/interface_schemas/MEArecRecordingInterface.json"; +import PlexonRecordingInterfaceSchema from "../inputs/interface_schemas/PlexonRecordingInterface.json"; +import PlexonSortingInterfaceSchema from "../inputs/interface_schemas/PlexonSortingInterface.json"; +import AxonaRecordingInterfaceSchema from "../inputs/interface_schemas/AxonaRecordingInterface.json"; +import VideoInterfaceSchema from "../inputs/interface_schemas/VideoInterface.json"; +import NeuralynxRecordingInterfaceSchema from "../inputs/interface_schemas/NeuralynxRecordingInterface.json"; +import Suite2pSegmentationInterfaceSchema from "../inputs/interface_schemas/Suite2pSegmentationInterface.json"; +import AlphaOmegaRecordingInterfaceSchema from "../inputs/interface_schemas/AlphaOmegaRecordingInterface.json"; +import DeepLabCutInterfaceSchema from "../inputs/interface_schemas/DeepLabCutInterface.json"; +import SLEAPInterfaceSchema from "../inputs/interface_schemas/SLEAPInterface.json"; +import FicTracDataInterfaceSchema from "../inputs/interface_schemas/FicTracDataInterface.json"; +import AudioInterfaceSchema from "../inputs/interface_schemas/AudioInterface.json"; +import MiniscopeBehaviorInterfaceSchema from "../inputs/interface_schemas/MiniscopeBehaviorInterface.json"; +import EDFRecordingInterfaceSchema from "../inputs/interface_schemas/EDFRecordingInterface.json"; +import SpikeGLXConverterPipeSchema from "../inputs/interface_schemas/SpikeGLXConverterPipe.json"; +import BrukerTiffSinglePlaneConverterSchema from "../inputs/interface_schemas/BrukerTiffSinglePlaneConverter.json"; +import BrukerTiffMultiPlaneConverterSchema from "../inputs/interface_schemas/BrukerTiffMultiPlaneConverter.json"; +import MiniscopeConverterSchema from "../inputs/interface_schemas/MiniscopeConverter.json"; +import CellExplorerRecordingInterfaceSchema from "../inputs/interface_schemas/CellExplorerRecordingInterface.json"; + +export default { + title: "Pages/Guided Mode/Source Data", + parameters: { + chromatic: { disableSnapshot: false }, + }, +}; + +const activePage = "//sourcedata"; + +const globalStateCopy = JSON.parse(JSON.stringify(globalState)); +globalStateCopy.schema.source_data.properties.SpikeGLXRecordingInterface = + SpikeGLXRecordingInterfaceSchema.properties.SpikeGLXRecordingInterface; +globalStateCopy.schema.source_data.properties.SpikeGLXNIDQInterface = + SpikeGLXNIDQInterfaceSchema.properties.SpikeGLXNIDQInterface; +globalStateCopy.schema.source_data.properties.PhySortingInterface = + PhySortingInterfaceSchema.properties.PhySortingInterface; +globalStateCopy.schema.source_data.properties.NeuroScopeRecordingInterface = + NeuroScopeRecordingInterfaceSchema.properties.NeuroScopeRecordingInterface; +globalStateCopy.schema.source_data.properties.NeuroScopeLFPInterface = + NeuroScopeLFPInterfaceSchema.properties.NeuroScopeLFPInterface; +globalStateCopy.schema.source_data.properties.NeuroScopeSortingInterface = + NeuroScopeSortingInterfaceSchema.properties.NeuroScopeSortingInterface; +globalStateCopy.schema.source_data.properties.BiocamRecordingInterface = + BiocamRecordingInterfaceSchema.properties.BiocamRecordingInterface; +globalStateCopy.schema.source_data.properties.IntanRecordingInterface = + IntanRecordingInterfaceSchema.properties.IntanRecordingInterface; +globalStateCopy.schema.source_data.properties.OpenEphysRecordingInterface = + OpenEphysRecordingInterfaceSchema.properties.OpenEphysRecordingInterface; +globalStateCopy.schema.source_data.properties.BlackrockRecordingInterface = + BlackrockRecordingInterfaceSchema.properties.BlackrockRecordingInterface; +globalStateCopy.schema.source_data.properties.BlackrockSortingInterface = + BlackrockSortingInterfaceSchema.properties.BlackrockSortingInterface; +globalStateCopy.schema.source_data.properties.CellExplorerSortingInterface = + CellExplorerSortingInterfaceSchema.properties.CellExplorerSortingInterface; +globalStateCopy.schema.source_data.properties.KiloSortSortingInterface = + KiloSortSortingInterfaceSchema.properties.KiloSortSortingInterface; +globalStateCopy.schema.source_data.properties.TdtRecordingInterface = + TdtRecordingInterfaceSchema.properties.TdtRecordingInterface; +globalStateCopy.schema.source_data.properties.Spike2RecordingInterface = + Spike2RecordingInterfaceSchema.properties.Spike2RecordingInterface; +globalStateCopy.schema.source_data.properties.BrukerTiffSinglePlaneImagingInterface = + BrukerTiffSinglePlaneImagingInterfaceSchema.properties.BrukerTiffSinglePlaneImagingInterface; +globalStateCopy.schema.source_data.properties.ExtractSegmentationInterface = + ExtractSegmentationInterfaceSchema.properties.ExtractSegmentationInterface; +globalStateCopy.schema.source_data.properties.CnmfeSegmentationInterface = + CnmfeSegmentationInterfaceSchema.properties.CnmfeSegmentationInterface; +globalStateCopy.schema.source_data.properties.BrukerTiffMultiPlaneImagingInterface = + BrukerTiffMultiPlaneImagingInterfaceSchema.properties.BrukerTiffMultiPlaneImagingInterface; +globalStateCopy.schema.source_data.properties.MicroManagerTiffImagingInterface = + MicroManagerTiffImagingInterfaceSchema.properties.MicroManagerTiffImagingInterface; +globalStateCopy.schema.source_data.properties.ScanImageImagingInterface = + ScanImageImagingInterfaceSchema.properties.ScanImageImagingInterface; +globalStateCopy.schema.source_data.properties.TiffImagingInterface = + TiffImagingInterfaceSchema.properties.TiffImagingInterface; +globalStateCopy.schema.source_data.properties.MiniscopeImagingInterface = + MiniscopeImagingInterfaceSchema.properties.MiniscopeImagingInterface; +globalStateCopy.schema.source_data.properties.SbxImagingInterface = + SbxImagingInterfaceSchema.properties.SbxImagingInterface; +globalStateCopy.schema.source_data.properties.CaimanSegmentationInterface = + CaimanSegmentationInterfaceSchema.properties.CaimanSegmentationInterface; +globalStateCopy.schema.source_data.properties.MCSRawRecordingInterface = + MCSRawRecordingInterfaceSchema.properties.MCSRawRecordingInterface; +globalStateCopy.schema.source_data.properties.MEArecRecordingInterface = + MEArecRecordingInterfaceSchema.properties.MEArecRecordingInterface; +globalStateCopy.schema.source_data.properties.PlexonRecordingInterface = + PlexonRecordingInterfaceSchema.properties.PlexonRecordingInterface; +globalStateCopy.schema.source_data.properties.PlexonSortingInterface = + PlexonSortingInterfaceSchema.properties.PlexonSortingInterface; +globalStateCopy.schema.source_data.properties.AxonaRecordingInterface = + AxonaRecordingInterfaceSchema.properties.AxonaRecordingInterface; +globalStateCopy.schema.source_data.properties.VideoInterface = VideoInterfaceSchema.properties.VideoInterface; +globalStateCopy.schema.source_data.properties.NeuralynxRecordingInterface = + NeuralynxRecordingInterfaceSchema.properties.NeuralynxRecordingInterface; +globalStateCopy.schema.source_data.properties.Suite2pSegmentationInterface = + Suite2pSegmentationInterfaceSchema.properties.Suite2pSegmentationInterface; +globalStateCopy.schema.source_data.properties.AlphaOmegaRecordingInterface = + AlphaOmegaRecordingInterfaceSchema.properties.AlphaOmegaRecordingInterface; +globalStateCopy.schema.source_data.properties.DeepLabCutInterface = + DeepLabCutInterfaceSchema.properties.DeepLabCutInterface; +globalStateCopy.schema.source_data.properties.SLEAPInterface = SLEAPInterfaceSchema.properties.SLEAPInterface; +globalStateCopy.schema.source_data.properties.FicTracDataInterface = + FicTracDataInterfaceSchema.properties.FicTracDataInterface; +globalStateCopy.schema.source_data.properties.AudioInterface = AudioInterfaceSchema.properties.AudioInterface; +globalStateCopy.schema.source_data.properties.MiniscopeBehaviorInterface = + MiniscopeBehaviorInterfaceSchema.properties.MiniscopeBehaviorInterface; +globalStateCopy.schema.source_data.properties.EDFRecordingInterface = + EDFRecordingInterfaceSchema.properties.EDFRecordingInterface; +globalStateCopy.schema.source_data.properties.SpikeGLXConverterPipe = + SpikeGLXConverterPipeSchema.properties.SpikeGLXConverterPipe; +globalStateCopy.schema.source_data.properties.BrukerTiffSinglePlaneConverter = + BrukerTiffSinglePlaneConverterSchema.properties.BrukerTiffSinglePlaneConverter; +globalStateCopy.schema.source_data.properties.BrukerTiffMultiPlaneConverter = + BrukerTiffMultiPlaneConverterSchema.properties.BrukerTiffMultiPlaneConverter; +globalStateCopy.schema.source_data.properties.MiniscopeConverter = + MiniscopeConverterSchema.properties.MiniscopeConverter; +globalStateCopy.schema.source_data.properties.CellExplorerRecordingInterface = + CellExplorerRecordingInterfaceSchema.properties.CellExplorerRecordingInterface; + +const results = globalStateCopy.results; +for (let sub in results) { + for (let ses in results[sub]) + results[sub][ses].source_data = { SpikeGLXNIDQInterface: { file_path: "/dummy/file/path" } }; +} + +export const All = PageTemplate.bind({}); +All.args = { activePage, globalState: globalStateCopy }; + +export const SpikeGLXRecordingInterface = PageTemplate.bind({}); +const SpikeGLXRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); +SpikeGLXRecordingInterfaceGlobalCopy.interfaces.interface = SpikeGLXRecordingInterface; +SpikeGLXRecordingInterfaceGlobalCopy.schema.source_data = SpikeGLXRecordingInterfaceSchema; +SpikeGLXRecordingInterface.args = { activePage, globalState: SpikeGLXRecordingInterfaceGlobalCopy }; + +export const SpikeGLXNIDQInterface = PageTemplate.bind({}); +const SpikeGLXNIDQInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); +SpikeGLXNIDQInterfaceGlobalCopy.interfaces.interface = SpikeGLXNIDQInterface; +SpikeGLXNIDQInterfaceGlobalCopy.schema.source_data = SpikeGLXNIDQInterfaceSchema; +SpikeGLXNIDQInterface.args = { activePage, globalState: SpikeGLXNIDQInterfaceGlobalCopy }; + +export const PhySortingInterface = PageTemplate.bind({}); +const PhySortingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); +PhySortingInterfaceGlobalCopy.interfaces.interface = PhySortingInterface; +PhySortingInterfaceGlobalCopy.schema.source_data = PhySortingInterfaceSchema; +PhySortingInterface.args = { activePage, globalState: PhySortingInterfaceGlobalCopy }; + +export const NeuroScopeRecordingInterface = PageTemplate.bind({}); +const NeuroScopeRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); +NeuroScopeRecordingInterfaceGlobalCopy.interfaces.interface = NeuroScopeRecordingInterface; +NeuroScopeRecordingInterfaceGlobalCopy.schema.source_data = NeuroScopeRecordingInterfaceSchema; +NeuroScopeRecordingInterface.args = { activePage, globalState: NeuroScopeRecordingInterfaceGlobalCopy }; + +export const NeuroScopeLFPInterface = PageTemplate.bind({}); +const NeuroScopeLFPInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); +NeuroScopeLFPInterfaceGlobalCopy.interfaces.interface = NeuroScopeLFPInterface; +NeuroScopeLFPInterfaceGlobalCopy.schema.source_data = NeuroScopeLFPInterfaceSchema; +NeuroScopeLFPInterface.args = { activePage, globalState: NeuroScopeLFPInterfaceGlobalCopy }; + +export const NeuroScopeSortingInterface = PageTemplate.bind({}); +const NeuroScopeSortingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); +NeuroScopeSortingInterfaceGlobalCopy.interfaces.interface = NeuroScopeSortingInterface; +NeuroScopeSortingInterfaceGlobalCopy.schema.source_data = NeuroScopeSortingInterfaceSchema; +NeuroScopeSortingInterface.args = { activePage, globalState: NeuroScopeSortingInterfaceGlobalCopy }; + +export const BiocamRecordingInterface = PageTemplate.bind({}); +const BiocamRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); +BiocamRecordingInterfaceGlobalCopy.interfaces.interface = BiocamRecordingInterface; +BiocamRecordingInterfaceGlobalCopy.schema.source_data = BiocamRecordingInterfaceSchema; +BiocamRecordingInterface.args = { activePage, globalState: BiocamRecordingInterfaceGlobalCopy }; + +export const IntanRecordingInterface = PageTemplate.bind({}); +const IntanRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); +IntanRecordingInterfaceGlobalCopy.interfaces.interface = IntanRecordingInterface; +IntanRecordingInterfaceGlobalCopy.schema.source_data = IntanRecordingInterfaceSchema; +IntanRecordingInterface.args = { activePage, globalState: IntanRecordingInterfaceGlobalCopy }; + +export const OpenEphysRecordingInterface = PageTemplate.bind({}); +const OpenEphysRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); +OpenEphysRecordingInterfaceGlobalCopy.interfaces.interface = OpenEphysRecordingInterface; +OpenEphysRecordingInterfaceGlobalCopy.schema.source_data = OpenEphysRecordingInterfaceSchema; +OpenEphysRecordingInterface.args = { activePage, globalState: OpenEphysRecordingInterfaceGlobalCopy }; + +export const BlackrockRecordingInterface = PageTemplate.bind({}); +const BlackrockRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); +BlackrockRecordingInterfaceGlobalCopy.interfaces.interface = BlackrockRecordingInterface; +BlackrockRecordingInterfaceGlobalCopy.schema.source_data = BlackrockRecordingInterfaceSchema; +BlackrockRecordingInterface.args = { activePage, globalState: BlackrockRecordingInterfaceGlobalCopy }; + +export const BlackrockSortingInterface = PageTemplate.bind({}); +const BlackrockSortingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); +BlackrockSortingInterfaceGlobalCopy.interfaces.interface = BlackrockSortingInterface; +BlackrockSortingInterfaceGlobalCopy.schema.source_data = BlackrockSortingInterfaceSchema; +BlackrockSortingInterface.args = { activePage, globalState: BlackrockSortingInterfaceGlobalCopy }; + +export const CellExplorerSortingInterface = PageTemplate.bind({}); +const CellExplorerSortingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); +CellExplorerSortingInterfaceGlobalCopy.interfaces.interface = CellExplorerSortingInterface; +CellExplorerSortingInterfaceGlobalCopy.schema.source_data = CellExplorerSortingInterfaceSchema; +CellExplorerSortingInterface.args = { activePage, globalState: CellExplorerSortingInterfaceGlobalCopy }; + +export const KiloSortSortingInterface = PageTemplate.bind({}); +const KiloSortSortingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); +KiloSortSortingInterfaceGlobalCopy.interfaces.interface = KiloSortSortingInterface; +KiloSortSortingInterfaceGlobalCopy.schema.source_data = KiloSortSortingInterfaceSchema; +KiloSortSortingInterface.args = { activePage, globalState: KiloSortSortingInterfaceGlobalCopy }; + +export const TdtRecordingInterface = PageTemplate.bind({}); +const TdtRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); +TdtRecordingInterfaceGlobalCopy.interfaces.interface = TdtRecordingInterface; +TdtRecordingInterfaceGlobalCopy.schema.source_data = TdtRecordingInterfaceSchema; +TdtRecordingInterface.args = { activePage, globalState: TdtRecordingInterfaceGlobalCopy }; + +export const Spike2RecordingInterface = PageTemplate.bind({}); +const Spike2RecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); +Spike2RecordingInterfaceGlobalCopy.interfaces.interface = Spike2RecordingInterface; +Spike2RecordingInterfaceGlobalCopy.schema.source_data = Spike2RecordingInterfaceSchema; +Spike2RecordingInterface.args = { activePage, globalState: Spike2RecordingInterfaceGlobalCopy }; + +export const BrukerTiffSinglePlaneImagingInterface = PageTemplate.bind({}); +const BrukerTiffSinglePlaneImagingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); +BrukerTiffSinglePlaneImagingInterfaceGlobalCopy.interfaces.interface = BrukerTiffSinglePlaneImagingInterface; +BrukerTiffSinglePlaneImagingInterfaceGlobalCopy.schema.source_data = BrukerTiffSinglePlaneImagingInterfaceSchema; +BrukerTiffSinglePlaneImagingInterface.args = { + activePage, + globalState: BrukerTiffSinglePlaneImagingInterfaceGlobalCopy, +}; + +export const ExtractSegmentationInterface = PageTemplate.bind({}); +const ExtractSegmentationInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); +ExtractSegmentationInterfaceGlobalCopy.interfaces.interface = ExtractSegmentationInterface; +ExtractSegmentationInterfaceGlobalCopy.schema.source_data = ExtractSegmentationInterfaceSchema; +ExtractSegmentationInterface.args = { activePage, globalState: ExtractSegmentationInterfaceGlobalCopy }; + +export const CnmfeSegmentationInterface = PageTemplate.bind({}); +const CnmfeSegmentationInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); +CnmfeSegmentationInterfaceGlobalCopy.interfaces.interface = CnmfeSegmentationInterface; +CnmfeSegmentationInterfaceGlobalCopy.schema.source_data = CnmfeSegmentationInterfaceSchema; +CnmfeSegmentationInterface.args = { activePage, globalState: CnmfeSegmentationInterfaceGlobalCopy }; + +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; +MicroManagerTiffImagingInterfaceGlobalCopy.schema.source_data = MicroManagerTiffImagingInterfaceSchema; +MicroManagerTiffImagingInterface.args = { activePage, globalState: MicroManagerTiffImagingInterfaceGlobalCopy }; + +export const ScanImageImagingInterface = PageTemplate.bind({}); +const ScanImageImagingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); +ScanImageImagingInterfaceGlobalCopy.interfaces.interface = ScanImageImagingInterface; +ScanImageImagingInterfaceGlobalCopy.schema.source_data = ScanImageImagingInterfaceSchema; +ScanImageImagingInterface.args = { activePage, globalState: ScanImageImagingInterfaceGlobalCopy }; + +export const TiffImagingInterface = PageTemplate.bind({}); +const TiffImagingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); +TiffImagingInterfaceGlobalCopy.interfaces.interface = TiffImagingInterface; +TiffImagingInterfaceGlobalCopy.schema.source_data = TiffImagingInterfaceSchema; +TiffImagingInterface.args = { activePage, globalState: TiffImagingInterfaceGlobalCopy }; + +export const MiniscopeImagingInterface = PageTemplate.bind({}); +const MiniscopeImagingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); +MiniscopeImagingInterfaceGlobalCopy.interfaces.interface = MiniscopeImagingInterface; +MiniscopeImagingInterfaceGlobalCopy.schema.source_data = MiniscopeImagingInterfaceSchema; +MiniscopeImagingInterface.args = { activePage, globalState: MiniscopeImagingInterfaceGlobalCopy }; + +export const SbxImagingInterface = PageTemplate.bind({}); +const SbxImagingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); +SbxImagingInterfaceGlobalCopy.interfaces.interface = SbxImagingInterface; +SbxImagingInterfaceGlobalCopy.schema.source_data = SbxImagingInterfaceSchema; +SbxImagingInterface.args = { activePage, globalState: SbxImagingInterfaceGlobalCopy }; + +export const CaimanSegmentationInterface = PageTemplate.bind({}); +const CaimanSegmentationInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); +CaimanSegmentationInterfaceGlobalCopy.interfaces.interface = CaimanSegmentationInterface; +CaimanSegmentationInterfaceGlobalCopy.schema.source_data = CaimanSegmentationInterfaceSchema; +CaimanSegmentationInterface.args = { activePage, globalState: CaimanSegmentationInterfaceGlobalCopy }; + +export const MCSRawRecordingInterface = PageTemplate.bind({}); +const MCSRawRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); +MCSRawRecordingInterfaceGlobalCopy.interfaces.interface = MCSRawRecordingInterface; +MCSRawRecordingInterfaceGlobalCopy.schema.source_data = MCSRawRecordingInterfaceSchema; +MCSRawRecordingInterface.args = { activePage, globalState: MCSRawRecordingInterfaceGlobalCopy }; + +export const MEArecRecordingInterface = PageTemplate.bind({}); +const MEArecRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); +MEArecRecordingInterfaceGlobalCopy.interfaces.interface = MEArecRecordingInterface; +MEArecRecordingInterfaceGlobalCopy.schema.source_data = MEArecRecordingInterfaceSchema; +MEArecRecordingInterface.args = { activePage, globalState: MEArecRecordingInterfaceGlobalCopy }; + +export const PlexonRecordingInterface = PageTemplate.bind({}); +const PlexonRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); +PlexonRecordingInterfaceGlobalCopy.interfaces.interface = PlexonRecordingInterface; +PlexonRecordingInterfaceGlobalCopy.schema.source_data = PlexonRecordingInterfaceSchema; +PlexonRecordingInterface.args = { activePage, globalState: PlexonRecordingInterfaceGlobalCopy }; + +export const PlexonSortingInterface = PageTemplate.bind({}); +const PlexonSortingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); +PlexonSortingInterfaceGlobalCopy.interfaces.interface = PlexonSortingInterface; +PlexonSortingInterfaceGlobalCopy.schema.source_data = PlexonSortingInterfaceSchema; +PlexonSortingInterface.args = { activePage, globalState: PlexonSortingInterfaceGlobalCopy }; + +export const AxonaRecordingInterface = PageTemplate.bind({}); +const AxonaRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); +AxonaRecordingInterfaceGlobalCopy.interfaces.interface = AxonaRecordingInterface; +AxonaRecordingInterfaceGlobalCopy.schema.source_data = AxonaRecordingInterfaceSchema; +AxonaRecordingInterface.args = { activePage, globalState: AxonaRecordingInterfaceGlobalCopy }; + +export const VideoInterface = PageTemplate.bind({}); +const VideoInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); +VideoInterfaceGlobalCopy.interfaces.interface = VideoInterface; +VideoInterfaceGlobalCopy.schema.source_data = VideoInterfaceSchema; +VideoInterface.args = { activePage, globalState: VideoInterfaceGlobalCopy }; + +export const NeuralynxRecordingInterface = PageTemplate.bind({}); +const NeuralynxRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); +NeuralynxRecordingInterfaceGlobalCopy.interfaces.interface = NeuralynxRecordingInterface; +NeuralynxRecordingInterfaceGlobalCopy.schema.source_data = NeuralynxRecordingInterfaceSchema; +NeuralynxRecordingInterface.args = { activePage, globalState: NeuralynxRecordingInterfaceGlobalCopy }; + +export const Suite2pSegmentationInterface = PageTemplate.bind({}); +const Suite2pSegmentationInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); +Suite2pSegmentationInterfaceGlobalCopy.interfaces.interface = Suite2pSegmentationInterface; +Suite2pSegmentationInterfaceGlobalCopy.schema.source_data = Suite2pSegmentationInterfaceSchema; +Suite2pSegmentationInterface.args = { activePage, globalState: Suite2pSegmentationInterfaceGlobalCopy }; + +export const AlphaOmegaRecordingInterface = PageTemplate.bind({}); +const AlphaOmegaRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); +AlphaOmegaRecordingInterfaceGlobalCopy.interfaces.interface = AlphaOmegaRecordingInterface; +AlphaOmegaRecordingInterfaceGlobalCopy.schema.source_data = AlphaOmegaRecordingInterfaceSchema; +AlphaOmegaRecordingInterface.args = { activePage, globalState: AlphaOmegaRecordingInterfaceGlobalCopy }; + +export const DeepLabCutInterface = PageTemplate.bind({}); +const DeepLabCutInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); +DeepLabCutInterfaceGlobalCopy.interfaces.interface = DeepLabCutInterface; +DeepLabCutInterfaceGlobalCopy.schema.source_data = DeepLabCutInterfaceSchema; +DeepLabCutInterface.args = { activePage, globalState: DeepLabCutInterfaceGlobalCopy }; + +export const SLEAPInterface = PageTemplate.bind({}); +const SLEAPInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); +SLEAPInterfaceGlobalCopy.interfaces.interface = SLEAPInterface; +SLEAPInterfaceGlobalCopy.schema.source_data = SLEAPInterfaceSchema; +SLEAPInterface.args = { activePage, globalState: SLEAPInterfaceGlobalCopy }; + +export const FicTracDataInterface = PageTemplate.bind({}); +const FicTracDataInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); +FicTracDataInterfaceGlobalCopy.interfaces.interface = FicTracDataInterface; +FicTracDataInterfaceGlobalCopy.schema.source_data = FicTracDataInterfaceSchema; +FicTracDataInterface.args = { activePage, globalState: FicTracDataInterfaceGlobalCopy }; + +export const AudioInterface = PageTemplate.bind({}); +const AudioInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); +AudioInterfaceGlobalCopy.interfaces.interface = AudioInterface; +AudioInterfaceGlobalCopy.schema.source_data = AudioInterfaceSchema; +AudioInterface.args = { activePage, globalState: AudioInterfaceGlobalCopy }; + +export const MiniscopeBehaviorInterface = PageTemplate.bind({}); +const MiniscopeBehaviorInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); +MiniscopeBehaviorInterfaceGlobalCopy.interfaces.interface = MiniscopeBehaviorInterface; +MiniscopeBehaviorInterfaceGlobalCopy.schema.source_data = MiniscopeBehaviorInterfaceSchema; +MiniscopeBehaviorInterface.args = { activePage, globalState: MiniscopeBehaviorInterfaceGlobalCopy }; + +export const EDFRecordingInterface = PageTemplate.bind({}); +const EDFRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); +EDFRecordingInterfaceGlobalCopy.interfaces.interface = EDFRecordingInterface; +EDFRecordingInterfaceGlobalCopy.schema.source_data = EDFRecordingInterfaceSchema; +EDFRecordingInterface.args = { activePage, globalState: EDFRecordingInterfaceGlobalCopy }; + +export const SpikeGLXConverterPipe = PageTemplate.bind({}); +const SpikeGLXConverterPipeGlobalCopy = JSON.parse(JSON.stringify(globalState)); +SpikeGLXConverterPipeGlobalCopy.interfaces.interface = SpikeGLXConverterPipe; +SpikeGLXConverterPipeGlobalCopy.schema.source_data = SpikeGLXConverterPipeSchema; +SpikeGLXConverterPipe.args = { activePage, globalState: SpikeGLXConverterPipeGlobalCopy }; + +export const BrukerTiffSinglePlaneConverter = PageTemplate.bind({}); +const BrukerTiffSinglePlaneConverterGlobalCopy = JSON.parse(JSON.stringify(globalState)); +BrukerTiffSinglePlaneConverterGlobalCopy.interfaces.interface = BrukerTiffSinglePlaneConverter; +BrukerTiffSinglePlaneConverterGlobalCopy.schema.source_data = BrukerTiffSinglePlaneConverterSchema; +BrukerTiffSinglePlaneConverter.args = { activePage, globalState: BrukerTiffSinglePlaneConverterGlobalCopy }; + +export const BrukerTiffMultiPlaneConverter = PageTemplate.bind({}); +const BrukerTiffMultiPlaneConverterGlobalCopy = JSON.parse(JSON.stringify(globalState)); +BrukerTiffMultiPlaneConverterGlobalCopy.interfaces.interface = BrukerTiffMultiPlaneConverter; +BrukerTiffMultiPlaneConverterGlobalCopy.schema.source_data = BrukerTiffMultiPlaneConverterSchema; +BrukerTiffMultiPlaneConverter.args = { activePage, globalState: BrukerTiffMultiPlaneConverterGlobalCopy }; + +export const MiniscopeConverter = PageTemplate.bind({}); +const MiniscopeConverterGlobalCopy = JSON.parse(JSON.stringify(globalState)); +MiniscopeConverterGlobalCopy.interfaces.interface = MiniscopeConverter; +MiniscopeConverterGlobalCopy.schema.source_data = MiniscopeConverterSchema; +MiniscopeConverter.args = { activePage, globalState: MiniscopeConverterGlobalCopy }; + +export const CellExplorerRecordingInterface = PageTemplate.bind({}); +const CellExplorerRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); +CellExplorerRecordingInterfaceGlobalCopy.interfaces.interface = CellExplorerRecordingInterface; +CellExplorerRecordingInterfaceGlobalCopy.schema.source_data = CellExplorerRecordingInterfaceSchema; +CellExplorerRecordingInterface.args = { activePage, globalState: CellExplorerRecordingInterfaceGlobalCopy };