diff --git a/src/electron/frontend/core/components/pages/Page.js b/src/electron/frontend/core/components/pages/Page.js index dc4351d3c..9a758d242 100644 --- a/src/electron/frontend/core/components/pages/Page.js +++ b/src/electron/frontend/core/components/pages/Page.js @@ -213,7 +213,6 @@ export class Page extends LitElement { timezone: this.workflow.timezone.value, }; - if (hasCustomFunction) { const result = await backendFunctionToRun(payload, swalOpts); // Already handling Swal popup const subRef = conversionOutput[subject] ?? (conversionOutput[subject] = {}); @@ -254,9 +253,7 @@ export class Page extends LitElement { const subRef = conversionOutput[subject] ?? (conversionOutput[subject] = {}); subRef[session] = info; }); - } - } finally { closeProgressPopup && await closeProgressPopup(); } 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 708cfdbb7..b6dd5b98d 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 @@ -10,7 +10,6 @@ import timezoneSchema from "../../../../../../../schemas/timezone.schema"; // ------------------------------------------------------------------------------ const questions = { - timezone: { ...timezoneSchema, title: "What timezone is your data in?", @@ -83,7 +82,7 @@ const questions = { title: "Will you customize low-level data storage options?", description: "Dataset chunking, compression, etc.
This also allows you to change file formats per-session", - default: false + default: false, }, upload_to_dandi: { @@ -130,12 +129,11 @@ const getSchema = (questions) => { if (info.required) acc.push(name); return acc; }, []); - + const ignore = Object.entries(questions).reduce((acc, [name, info]) => { if (info.ignore) acc[name] = true; return acc; }, {}); - const projectWorkflowSchema = { type: "object", @@ -152,7 +150,7 @@ const getSchema = (questions) => { schema: structuredClone(projectWorkflowSchema), defaults, dependents, - ignore + ignore, }; }; diff --git a/src/pyflask/manageNeuroconv/manage_neuroconv.py b/src/pyflask/manageNeuroconv/manage_neuroconv.py index 390474eba..9196ada66 100644 --- a/src/pyflask/manageNeuroconv/manage_neuroconv.py +++ b/src/pyflask/manageNeuroconv/manage_neuroconv.py @@ -1160,8 +1160,7 @@ def get_conversion_info(info: dict) -> dict: if "date_of_birth" in resolved_metadata["Subject"]: resolved_metadata["Subject"]["date_of_birth"] = datetime.fromisoformat( resolved_metadata["Subject"]["date_of_birth"] - ).replace(tzinfo=zoneinfo.ZoneInfo(info["timezone"])) - + ).replace(tzinfo=zoneinfo.ZoneInfo(info["timezone"])) return ( converter,