Skip to content

Commit

Permalink
debug argument defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
CodyCBakerPhD committed Aug 31, 2024
1 parent 446aed6 commit 68b52cf
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 @@ -1277,7 +1277,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 @@ -1305,8 +1307,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 68b52cf

Please sign in to comment.