Skip to content

Commit

Permalink
Fix merge and update function name
Browse files Browse the repository at this point in the history
  • Loading branch information
garrettmflynn committed Sep 28, 2023
1 parent fc0f677 commit 6363a38
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyflask/manageNeuroconv/manage_neuroconv.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/src/stories/pages/uploads/UploadsPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6363a38

Please sign in to comment.