Skip to content

Commit

Permalink
Merge branch 'main' into staging
Browse files Browse the repository at this point in the history
  • Loading branch information
CodyCBakerPhD authored Aug 31, 2024
2 parents de0ae02 + 423a2c8 commit 9ec9b25
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/pyflask/manageNeuroconv/manage_neuroconv.py
Original file line number Diff line number Diff line change
Expand Up @@ -1336,7 +1336,9 @@ def upload_multiple_filesystem_objects_to_dandi(**kwargs) -> list[Path]:
del innerKwargs["filesystem_paths"]
innerKwargs["nwb_folder_path"] = tmp_folder_path
results = upload_folder_to_dandi(**innerKwargs)
rmtree(tmp_folder_path)

rmtree(tmp_folder_path, ignore_errors=True)

return results


Expand Down Expand Up @@ -1364,8 +1366,8 @@ def upload_folder_to_dandi(
nwb_folder_path=Path(nwb_folder_path),
staging=staging,
cleanup=cleanup,
number_of_jobs=number_of_jobs,
number_of_threads=number_of_threads,
number_of_jobs=number_of_jobs or 1,
number_of_threads=number_of_threads or 1,
)


Expand Down

0 comments on commit 9ec9b25

Please sign in to comment.