From 3c30770bbba05e3654ade5a99aa858f5f6773c3d Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 16 Oct 2023 20:45:39 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- .../generated/AxonaRecordingInterface.json | 2 +- .../generated/BiocamRecordingInterface.json | 2 +- .../BlackrockRecordingInterface.json | 2 +- .../generated/BlackrockSortingInterface.json | 2 +- .../BrukerTiffMultiPlaneImagingInterface.json | 2 +- ...BrukerTiffSinglePlaneImagingInterface.json | 2 +- .../CaimanSegmentationInterface.json | 2 +- .../CellExplorerSortingInterface.json | 2 +- .../json/generated/FicTracDataInterface.json | 2 +- .../generated/IntanRecordingInterface.json | 2 +- .../generated/KiloSortSortingInterface.json | 2 +- .../generated/MCSRawRecordingInterface.json | 2 +- .../generated/MEArecRecordingInterface.json | 2 +- .../MicroManagerTiffImagingInterface.json | 2 +- .../generated/MiniscopeImagingInterface.json | 2 +- .../generated/NeuroScopeLFPInterface.json | 2 +- .../NeuroScopeRecordingInterface.json | 2 +- .../generated/NeuroScopeSortingInterface.json | 2 +- .../OpenEphysRecordingInterface.json | 2 +- .../json/generated/PhySortingInterface.json | 2 +- .../generated/PlexonRecordingInterface.json | 2 +- .../generated/PlexonSortingInterface.json | 2 +- .../json/generated/SbxImagingInterface.json | 2 +- .../generated/ScanImageImagingInterface.json | 2 +- .../generated/Spike2RecordingInterface.json | 2 +- .../json/generated/SpikeGLXNIDQInterface.json | 2 +- .../generated/SpikeGLXRecordingInterface.json | 2 +- .../json/generated/TiffImagingInterface.json | 2 +- .../pages/guided-mode/SourceData.stories.js | 333 ++++++++++-------- 29 files changed, 209 insertions(+), 180 deletions(-) diff --git a/schemas/json/generated/AxonaRecordingInterface.json b/schemas/json/generated/AxonaRecordingInterface.json index 8fa5071bd..3459b77b2 100644 --- a/schemas/json/generated/AxonaRecordingInterface.json +++ b/schemas/json/generated/AxonaRecordingInterface.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/schemas/json/generated/BiocamRecordingInterface.json b/schemas/json/generated/BiocamRecordingInterface.json index 3265fe263..8d51c7b06 100644 --- a/schemas/json/generated/BiocamRecordingInterface.json +++ b/schemas/json/generated/BiocamRecordingInterface.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/schemas/json/generated/BlackrockRecordingInterface.json b/schemas/json/generated/BlackrockRecordingInterface.json index 32de2a224..25190ebf2 100644 --- a/schemas/json/generated/BlackrockRecordingInterface.json +++ b/schemas/json/generated/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/schemas/json/generated/BlackrockSortingInterface.json b/schemas/json/generated/BlackrockSortingInterface.json index 1b0b34068..02661e794 100644 --- a/schemas/json/generated/BlackrockSortingInterface.json +++ b/schemas/json/generated/BlackrockSortingInterface.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/schemas/json/generated/BrukerTiffMultiPlaneImagingInterface.json b/schemas/json/generated/BrukerTiffMultiPlaneImagingInterface.json index 7ebe1b31e..a4383d177 100644 --- a/schemas/json/generated/BrukerTiffMultiPlaneImagingInterface.json +++ b/schemas/json/generated/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/schemas/json/generated/BrukerTiffSinglePlaneImagingInterface.json b/schemas/json/generated/BrukerTiffSinglePlaneImagingInterface.json index 50cea61c2..844834ff9 100644 --- a/schemas/json/generated/BrukerTiffSinglePlaneImagingInterface.json +++ b/schemas/json/generated/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/schemas/json/generated/CaimanSegmentationInterface.json b/schemas/json/generated/CaimanSegmentationInterface.json index 84d9efb5e..db580d9a5 100644 --- a/schemas/json/generated/CaimanSegmentationInterface.json +++ b/schemas/json/generated/CaimanSegmentationInterface.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/schemas/json/generated/CellExplorerSortingInterface.json b/schemas/json/generated/CellExplorerSortingInterface.json index e2cc689b1..c51a65d4e 100644 --- a/schemas/json/generated/CellExplorerSortingInterface.json +++ b/schemas/json/generated/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/schemas/json/generated/FicTracDataInterface.json b/schemas/json/generated/FicTracDataInterface.json index 21a08b9fd..47804a267 100644 --- a/schemas/json/generated/FicTracDataInterface.json +++ b/schemas/json/generated/FicTracDataInterface.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/schemas/json/generated/IntanRecordingInterface.json b/schemas/json/generated/IntanRecordingInterface.json index b75b39eda..07904ada2 100644 --- a/schemas/json/generated/IntanRecordingInterface.json +++ b/schemas/json/generated/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/schemas/json/generated/KiloSortSortingInterface.json b/schemas/json/generated/KiloSortSortingInterface.json index 5ef66d490..a31d22b75 100644 --- a/schemas/json/generated/KiloSortSortingInterface.json +++ b/schemas/json/generated/KiloSortSortingInterface.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/schemas/json/generated/MCSRawRecordingInterface.json b/schemas/json/generated/MCSRawRecordingInterface.json index beed45512..872b4e85c 100644 --- a/schemas/json/generated/MCSRawRecordingInterface.json +++ b/schemas/json/generated/MCSRawRecordingInterface.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/schemas/json/generated/MEArecRecordingInterface.json b/schemas/json/generated/MEArecRecordingInterface.json index 25710cb90..b2a4df011 100644 --- a/schemas/json/generated/MEArecRecordingInterface.json +++ b/schemas/json/generated/MEArecRecordingInterface.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/schemas/json/generated/MicroManagerTiffImagingInterface.json b/schemas/json/generated/MicroManagerTiffImagingInterface.json index 218c8c281..fb0cd8876 100644 --- a/schemas/json/generated/MicroManagerTiffImagingInterface.json +++ b/schemas/json/generated/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/schemas/json/generated/MiniscopeImagingInterface.json b/schemas/json/generated/MiniscopeImagingInterface.json index d73ea0721..33171beb5 100644 --- a/schemas/json/generated/MiniscopeImagingInterface.json +++ b/schemas/json/generated/MiniscopeImagingInterface.json @@ -22,4 +22,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/schemas/json/generated/NeuroScopeLFPInterface.json b/schemas/json/generated/NeuroScopeLFPInterface.json index 3c6224cf0..d42a885ab 100644 --- a/schemas/json/generated/NeuroScopeLFPInterface.json +++ b/schemas/json/generated/NeuroScopeLFPInterface.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/schemas/json/generated/NeuroScopeRecordingInterface.json b/schemas/json/generated/NeuroScopeRecordingInterface.json index 2077b287a..3e95a33d0 100644 --- a/schemas/json/generated/NeuroScopeRecordingInterface.json +++ b/schemas/json/generated/NeuroScopeRecordingInterface.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/schemas/json/generated/NeuroScopeSortingInterface.json b/schemas/json/generated/NeuroScopeSortingInterface.json index fe3d76fe6..680fcbce9 100644 --- a/schemas/json/generated/NeuroScopeSortingInterface.json +++ b/schemas/json/generated/NeuroScopeSortingInterface.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/schemas/json/generated/OpenEphysRecordingInterface.json b/schemas/json/generated/OpenEphysRecordingInterface.json index f3affa4d3..f6193ea0c 100644 --- a/schemas/json/generated/OpenEphysRecordingInterface.json +++ b/schemas/json/generated/OpenEphysRecordingInterface.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/schemas/json/generated/PhySortingInterface.json b/schemas/json/generated/PhySortingInterface.json index 182494ca2..edcc2183d 100644 --- a/schemas/json/generated/PhySortingInterface.json +++ b/schemas/json/generated/PhySortingInterface.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/schemas/json/generated/PlexonRecordingInterface.json b/schemas/json/generated/PlexonRecordingInterface.json index d4d354185..98fbba824 100644 --- a/schemas/json/generated/PlexonRecordingInterface.json +++ b/schemas/json/generated/PlexonRecordingInterface.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/schemas/json/generated/PlexonSortingInterface.json b/schemas/json/generated/PlexonSortingInterface.json index 2828fde2d..7d7963c40 100644 --- a/schemas/json/generated/PlexonSortingInterface.json +++ b/schemas/json/generated/PlexonSortingInterface.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/schemas/json/generated/SbxImagingInterface.json b/schemas/json/generated/SbxImagingInterface.json index 8b97044b0..d02d2c0e7 100644 --- a/schemas/json/generated/SbxImagingInterface.json +++ b/schemas/json/generated/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/schemas/json/generated/ScanImageImagingInterface.json b/schemas/json/generated/ScanImageImagingInterface.json index 26925e9f5..71b3cb59a 100644 --- a/schemas/json/generated/ScanImageImagingInterface.json +++ b/schemas/json/generated/ScanImageImagingInterface.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/schemas/json/generated/Spike2RecordingInterface.json b/schemas/json/generated/Spike2RecordingInterface.json index 3b143bf75..81c785ad8 100644 --- a/schemas/json/generated/Spike2RecordingInterface.json +++ b/schemas/json/generated/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/schemas/json/generated/SpikeGLXNIDQInterface.json b/schemas/json/generated/SpikeGLXNIDQInterface.json index 8a38f1387..14ad82eb8 100644 --- a/schemas/json/generated/SpikeGLXNIDQInterface.json +++ b/schemas/json/generated/SpikeGLXNIDQInterface.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/schemas/json/generated/SpikeGLXRecordingInterface.json b/schemas/json/generated/SpikeGLXRecordingInterface.json index 603158605..4b2034df8 100644 --- a/schemas/json/generated/SpikeGLXRecordingInterface.json +++ b/schemas/json/generated/SpikeGLXRecordingInterface.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/schemas/json/generated/TiffImagingInterface.json b/schemas/json/generated/TiffImagingInterface.json index 0cce7efa6..036de528a 100644 --- a/schemas/json/generated/TiffImagingInterface.json +++ b/schemas/json/generated/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/src/renderer/src/stories/pages/guided-mode/SourceData.stories.js b/src/renderer/src/stories/pages/guided-mode/SourceData.stories.js index bac8be4ab..344dd8682 100644 --- a/src/renderer/src/stories/pages/guided-mode/SourceData.stories.js +++ b/src/renderer/src/stories/pages/guided-mode/SourceData.stories.js @@ -1,247 +1,276 @@ import { globalState, PageTemplate } from "./storyStates"; -import SpikeGLXRecordingInterfaceSchema from '../../../../../../schemas/json/generated/SpikeGLXRecordingInterface.json' -import SpikeGLXNIDQInterfaceSchema from '../../../../../../schemas/json/generated/SpikeGLXNIDQInterface.json' -import PhySortingInterfaceSchema from '../../../../../../schemas/json/generated/PhySortingInterface.json' -import NeuroScopeRecordingInterfaceSchema from '../../../../../../schemas/json/generated/NeuroScopeRecordingInterface.json' -import NeuroScopeLFPInterfaceSchema from '../../../../../../schemas/json/generated/NeuroScopeLFPInterface.json' -import NeuroScopeSortingInterfaceSchema from '../../../../../../schemas/json/generated/NeuroScopeSortingInterface.json' -import BiocamRecordingInterfaceSchema from '../../../../../../schemas/json/generated/BiocamRecordingInterface.json' -import IntanRecordingInterfaceSchema from '../../../../../../schemas/json/generated/IntanRecordingInterface.json' -import OpenEphysRecordingInterfaceSchema from '../../../../../../schemas/json/generated/OpenEphysRecordingInterface.json' -import BlackrockRecordingInterfaceSchema from '../../../../../../schemas/json/generated/BlackrockRecordingInterface.json' -import BlackrockSortingInterfaceSchema from '../../../../../../schemas/json/generated/BlackrockSortingInterface.json' -import CellExplorerSortingInterfaceSchema from '../../../../../../schemas/json/generated/CellExplorerSortingInterface.json' -import KiloSortSortingInterfaceSchema from '../../../../../../schemas/json/generated/KiloSortSortingInterface.json' -import Spike2RecordingInterfaceSchema from '../../../../../../schemas/json/generated/Spike2RecordingInterface.json' -import BrukerTiffSinglePlaneImagingInterfaceSchema from '../../../../../../schemas/json/generated/BrukerTiffSinglePlaneImagingInterface.json' -import BrukerTiffMultiPlaneImagingInterfaceSchema from '../../../../../../schemas/json/generated/BrukerTiffMultiPlaneImagingInterface.json' -import MicroManagerTiffImagingInterfaceSchema from '../../../../../../schemas/json/generated/MicroManagerTiffImagingInterface.json' -import ScanImageImagingInterfaceSchema from '../../../../../../schemas/json/generated/ScanImageImagingInterface.json' -import TiffImagingInterfaceSchema from '../../../../../../schemas/json/generated/TiffImagingInterface.json' -import MiniscopeImagingInterfaceSchema from '../../../../../../schemas/json/generated/MiniscopeImagingInterface.json' -import SbxImagingInterfaceSchema from '../../../../../../schemas/json/generated/SbxImagingInterface.json' -import CaimanSegmentationInterfaceSchema from '../../../../../../schemas/json/generated/CaimanSegmentationInterface.json' -import MCSRawRecordingInterfaceSchema from '../../../../../../schemas/json/generated/MCSRawRecordingInterface.json' -import MEArecRecordingInterfaceSchema from '../../../../../../schemas/json/generated/MEArecRecordingInterface.json' -import PlexonRecordingInterfaceSchema from '../../../../../../schemas/json/generated/PlexonRecordingInterface.json' -import PlexonSortingInterfaceSchema from '../../../../../../schemas/json/generated/PlexonSortingInterface.json' -import AxonaRecordingInterfaceSchema from '../../../../../../schemas/json/generated/AxonaRecordingInterface.json' -import FicTracDataInterfaceSchema from '../../../../../../schemas/json/generated/FicTracDataInterface.json' +import SpikeGLXRecordingInterfaceSchema from "../../../../../../schemas/json/generated/SpikeGLXRecordingInterface.json"; +import SpikeGLXNIDQInterfaceSchema from "../../../../../../schemas/json/generated/SpikeGLXNIDQInterface.json"; +import PhySortingInterfaceSchema from "../../../../../../schemas/json/generated/PhySortingInterface.json"; +import NeuroScopeRecordingInterfaceSchema from "../../../../../../schemas/json/generated/NeuroScopeRecordingInterface.json"; +import NeuroScopeLFPInterfaceSchema from "../../../../../../schemas/json/generated/NeuroScopeLFPInterface.json"; +import NeuroScopeSortingInterfaceSchema from "../../../../../../schemas/json/generated/NeuroScopeSortingInterface.json"; +import BiocamRecordingInterfaceSchema from "../../../../../../schemas/json/generated/BiocamRecordingInterface.json"; +import IntanRecordingInterfaceSchema from "../../../../../../schemas/json/generated/IntanRecordingInterface.json"; +import OpenEphysRecordingInterfaceSchema from "../../../../../../schemas/json/generated/OpenEphysRecordingInterface.json"; +import BlackrockRecordingInterfaceSchema from "../../../../../../schemas/json/generated/BlackrockRecordingInterface.json"; +import BlackrockSortingInterfaceSchema from "../../../../../../schemas/json/generated/BlackrockSortingInterface.json"; +import CellExplorerSortingInterfaceSchema from "../../../../../../schemas/json/generated/CellExplorerSortingInterface.json"; +import KiloSortSortingInterfaceSchema from "../../../../../../schemas/json/generated/KiloSortSortingInterface.json"; +import Spike2RecordingInterfaceSchema from "../../../../../../schemas/json/generated/Spike2RecordingInterface.json"; +import BrukerTiffSinglePlaneImagingInterfaceSchema from "../../../../../../schemas/json/generated/BrukerTiffSinglePlaneImagingInterface.json"; +import BrukerTiffMultiPlaneImagingInterfaceSchema from "../../../../../../schemas/json/generated/BrukerTiffMultiPlaneImagingInterface.json"; +import MicroManagerTiffImagingInterfaceSchema from "../../../../../../schemas/json/generated/MicroManagerTiffImagingInterface.json"; +import ScanImageImagingInterfaceSchema from "../../../../../../schemas/json/generated/ScanImageImagingInterface.json"; +import TiffImagingInterfaceSchema from "../../../../../../schemas/json/generated/TiffImagingInterface.json"; +import MiniscopeImagingInterfaceSchema from "../../../../../../schemas/json/generated/MiniscopeImagingInterface.json"; +import SbxImagingInterfaceSchema from "../../../../../../schemas/json/generated/SbxImagingInterface.json"; +import CaimanSegmentationInterfaceSchema from "../../../../../../schemas/json/generated/CaimanSegmentationInterface.json"; +import MCSRawRecordingInterfaceSchema from "../../../../../../schemas/json/generated/MCSRawRecordingInterface.json"; +import MEArecRecordingInterfaceSchema from "../../../../../../schemas/json/generated/MEArecRecordingInterface.json"; +import PlexonRecordingInterfaceSchema from "../../../../../../schemas/json/generated/PlexonRecordingInterface.json"; +import PlexonSortingInterfaceSchema from "../../../../../../schemas/json/generated/PlexonSortingInterface.json"; +import AxonaRecordingInterfaceSchema from "../../../../../../schemas/json/generated/AxonaRecordingInterface.json"; +import FicTracDataInterfaceSchema from "../../../../../../schemas/json/generated/FicTracDataInterface.json"; export default { title: "Pages/Guided Mode/Source Data", parameters: { chromatic: { disableSnapshot: false }, - } + }, }; -const activePage = "conversion/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.Spike2RecordingInterface = Spike2RecordingInterfaceSchema.properties.Spike2RecordingInterface -globalStateCopy.schema.source_data.properties.BrukerTiffSinglePlaneImagingInterface = BrukerTiffSinglePlaneImagingInterfaceSchema.properties.BrukerTiffSinglePlaneImagingInterface -globalStateCopy.schema.source_data.properties.BrukerTiffMultiPlaneImagingInterface = BrukerTiffMultiPlaneImagingInterfaceSchema.properties.BrukerTiffMultiPlaneImagingInterface -globalStateCopy.schema.source_data.properties.MicroManagerTiffImagingInterface = MicroManagerTiffImagingInterfaceSchema.properties.MicroManagerTiffImagingInterface -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.FicTracDataInterface = FicTracDataInterfaceSchema.properties.FicTracDataInterface - -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'}} +const activePage = "conversion/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.Spike2RecordingInterface = + Spike2RecordingInterfaceSchema.properties.Spike2RecordingInterface; +globalStateCopy.schema.source_data.properties.BrukerTiffSinglePlaneImagingInterface = + BrukerTiffSinglePlaneImagingInterfaceSchema.properties.BrukerTiffSinglePlaneImagingInterface; +globalStateCopy.schema.source_data.properties.BrukerTiffMultiPlaneImagingInterface = + BrukerTiffMultiPlaneImagingInterfaceSchema.properties.BrukerTiffMultiPlaneImagingInterface; +globalStateCopy.schema.source_data.properties.MicroManagerTiffImagingInterface = + MicroManagerTiffImagingInterfaceSchema.properties.MicroManagerTiffImagingInterface; +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.FicTracDataInterface = + FicTracDataInterfaceSchema.properties.FicTracDataInterface; + +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 +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 +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 +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 +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 +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 +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 +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 +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 +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 +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 +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 +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 +const KiloSortSortingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); +KiloSortSortingInterfaceGlobalCopy.interfaces.interface = KiloSortSortingInterface; +KiloSortSortingInterfaceGlobalCopy.schema.source_data = KiloSortSortingInterfaceSchema; KiloSortSortingInterface.args = { activePage, globalState: KiloSortSortingInterfaceGlobalCopy }; export const Spike2RecordingInterface = PageTemplate.bind({}); -const Spike2RecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) -Spike2RecordingInterfaceGlobalCopy.interfaces.interface = Spike2RecordingInterface -Spike2RecordingInterfaceGlobalCopy.schema.source_data = Spike2RecordingInterfaceSchema +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 }; +const BrukerTiffSinglePlaneImagingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); +BrukerTiffSinglePlaneImagingInterfaceGlobalCopy.interfaces.interface = BrukerTiffSinglePlaneImagingInterface; +BrukerTiffSinglePlaneImagingInterfaceGlobalCopy.schema.source_data = BrukerTiffSinglePlaneImagingInterfaceSchema; +BrukerTiffSinglePlaneImagingInterface.args = { + activePage, + globalState: BrukerTiffSinglePlaneImagingInterfaceGlobalCopy, +}; export const BrukerTiffMultiPlaneImagingInterface = PageTemplate.bind({}); -const BrukerTiffMultiPlaneImagingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) -BrukerTiffMultiPlaneImagingInterfaceGlobalCopy.interfaces.interface = BrukerTiffMultiPlaneImagingInterface -BrukerTiffMultiPlaneImagingInterfaceGlobalCopy.schema.source_data = BrukerTiffMultiPlaneImagingInterfaceSchema +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 +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 +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 +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 +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 +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 +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 +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 +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 +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 +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 +const AxonaRecordingInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); +AxonaRecordingInterfaceGlobalCopy.interfaces.interface = AxonaRecordingInterface; +AxonaRecordingInterfaceGlobalCopy.schema.source_data = AxonaRecordingInterfaceSchema; AxonaRecordingInterface.args = { activePage, globalState: AxonaRecordingInterfaceGlobalCopy }; export const FicTracDataInterface = PageTemplate.bind({}); -const FicTracDataInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)) -FicTracDataInterfaceGlobalCopy.interfaces.interface = FicTracDataInterface -FicTracDataInterfaceGlobalCopy.schema.source_data = FicTracDataInterfaceSchema +const FicTracDataInterfaceGlobalCopy = JSON.parse(JSON.stringify(globalState)); +FicTracDataInterfaceGlobalCopy.interfaces.interface = FicTracDataInterface; +FicTracDataInterfaceGlobalCopy.schema.source_data = FicTracDataInterfaceSchema; FicTracDataInterface.args = { activePage, globalState: FicTracDataInterfaceGlobalCopy }; -