From 6363a38a27d3e5def2aead442784463fffa8e9b7 Mon Sep 17 00:00:00 2001 From: Garrett Date: Thu, 28 Sep 2023 15:08:48 -0700 Subject: [PATCH] Fix merge and update function name --- pyflask/manageNeuroconv/manage_neuroconv.py | 2 +- src/renderer/src/stories/pages/uploads/UploadsPage.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyflask/manageNeuroconv/manage_neuroconv.py b/pyflask/manageNeuroconv/manage_neuroconv.py index cf56206e8..c562f5543 100644 --- a/pyflask/manageNeuroconv/manage_neuroconv.py +++ b/pyflask/manageNeuroconv/manage_neuroconv.py @@ -410,7 +410,7 @@ def update_conversion_progress(**kwargs): def upload_multiple_filesystem_objects_to_dandi(**kwargs): - tmp_folder_path = aggregate_in_temp_directory(kwargs["filesystem_paths"], "upload") + tmp_folder_path = aggregate_symlinks_in_new_directory(kwargs["filesystem_paths"], "upload") innerKwargs = {**kwargs} del innerKwargs["filesystem_paths"] innerKwargs["nwb_folder_path"] = tmp_folder_path diff --git a/src/renderer/src/stories/pages/uploads/UploadsPage.js b/src/renderer/src/stories/pages/uploads/UploadsPage.js index fc759aa58..d50259348 100644 --- a/src/renderer/src/stories/pages/uploads/UploadsPage.js +++ b/src/renderer/src/stories/pages/uploads/UploadsPage.js @@ -20,7 +20,7 @@ import { DandiResults } from "../../DandiResults.js"; export const isStaging = (id) => parseInt(id) >= 100000; -export async function uploadToDandi(info, type = "project" in info ? "" : "folder") { +export async function uploadToDandi(info, type = "project" in info ? "project" : "") { const { dandiset_id } = info; const staging = isStaging(dandiset_id); // Automatically detect staging IDs