From 39a2f33cb0c2f20cb6d015761ba37657cfdf5c32 Mon Sep 17 00:00:00 2001 From: Garrett Date: Wed, 12 Jul 2023 15:45:01 -0700 Subject: [PATCH 1/2] Update guideGlobalMetadata.json --- guideGlobalMetadata.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/guideGlobalMetadata.json b/guideGlobalMetadata.json index 9d9960eef..c4eafd949 100644 --- a/guideGlobalMetadata.json +++ b/guideGlobalMetadata.json @@ -3,6 +3,7 @@ "SpikeGLXRecordingInterface", "PhySortingInterface", "NeuroScopeSortingInterface", - "BiocamRecordingInterface" + "BiocamRecordingInterface", + "EDFRecordingInterface" ] } From 754d38cc26ef9c2c4cb803fb8c0c5261093b1c1f Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 12 Jul 2023 22:45:55 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/renderer/src/stories/JSONSchemaForm.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/renderer/src/stories/JSONSchemaForm.js b/src/renderer/src/stories/JSONSchemaForm.js index b3cb58e26..a6ab5dc5f 100644 --- a/src/renderer/src/stories/JSONSchemaForm.js +++ b/src/renderer/src/stories/JSONSchemaForm.js @@ -447,10 +447,9 @@ export class JSONSchemaForm extends LitElement { @change=${(ev) => this.#validateOnChange(name, parent, ev.target, path)} />`; } else if (info.type === "string" || (isStringArray && !hasItemsRef) || info.type === "number") { - - let format = info.format - const matched = name.match(/(.+_)?(.+)_path/) - if (!format && matched) format = (matched[2] === 'folder') ? 'directory' : matched[2] + let format = info.format; + const matched = name.match(/(.+_)?(.+)_path/); + if (!format && matched) format = matched[2] === "folder" ? "directory" : matched[2]; // Handle file and directory formats if (this.#filesystemQueries.includes(format)) {