From 336e040e9c0b1a1b3095d6394c812091648bdd40 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 15:40:46 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- .../pages/guided-mode/data/GuidedBackendConfiguration.js | 1 - .../core/components/pages/guided-mode/setup/Preform.js | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/electron/frontend/core/components/pages/guided-mode/data/GuidedBackendConfiguration.js b/src/electron/frontend/core/components/pages/guided-mode/data/GuidedBackendConfiguration.js index 4a86e3d07..0abb616f8 100644 --- a/src/electron/frontend/core/components/pages/guided-mode/data/GuidedBackendConfiguration.js +++ b/src/electron/frontend/core/components/pages/guided-mode/data/GuidedBackendConfiguration.js @@ -279,7 +279,6 @@ export class GuidedBackendConfigurationPage extends ManagedPage { instances, controls: [ - // // NOTE: Removes session-specific control over the backend type since Zarr is not completely supported yet // (id) => { // const instanceInfo = id diff --git a/src/electron/frontend/core/components/pages/guided-mode/setup/Preform.js b/src/electron/frontend/core/components/pages/guided-mode/setup/Preform.js index 1bb6c9a4e..dfd122667 100644 --- a/src/electron/frontend/core/components/pages/guided-mode/setup/Preform.js +++ b/src/electron/frontend/core/components/pages/guided-mode/setup/Preform.js @@ -66,7 +66,7 @@ const questions = { title: "What file format would you like to use?", description: "Choose a default file format for your data.", default: "hdf5", - ignore: true // NOTE: This ensures that users can only use the default (HDF5) format + ignore: true, // NOTE: This ensures that users can only use the default (HDF5) format }, backend_configuration: { @@ -94,7 +94,7 @@ const defaults = Object.entries(questions).reduce((acc, [name, info]) => { }, {}); const ignore = Object.entries(questions).reduce((acc, [name, info]) => { - if (info.ignore) acc[name] = true + if (info.ignore) acc[name] = true; return acc; }, {});