Skip to content

Commit

Permalink
Merge branch 'make_default_uploads_parallel_params_one' of https://gi…
Browse files Browse the repository at this point in the history
…thub.com/NeurodataWithoutBorders/nwb-guide into make_default_uploads_parallel_params_one
  • Loading branch information
garrettmflynn committed Dec 13, 2023
2 parents b29bc0a + c560909 commit fec2fc8
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions pyflask/apis/neuroconv.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,7 @@ def post(self):
if "number_of_jobs" not in upload_options:
upload_options.update(number_of_jobs=1)
if "number_of_threads" not in upload_options:
upload_options.update(
number_of_threads=1
)
upload_options.update(number_of_threads=1)

return upload_project_to_dandi(**upload_options)

Expand All @@ -155,9 +153,7 @@ def post(self):
if "number_of_jobs" not in upload_options:
upload_options.update(number_of_jobs=1)
if "number_of_threads" not in upload_options:
upload_options.update(
number_of_threads=1
)
upload_options.update(number_of_threads=1)

return upload_folder_to_dandi(**upload_options)

Expand Down

0 comments on commit fec2fc8

Please sign in to comment.