Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed May 30, 2024
1 parent e6fbe93 commit 1dc1bd1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/pyflask/manageNeuroconv/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
inspect_nwb_folder,
listen_to_neuroconv_progress_events,
locate_data,
progress_handler,
upload_folder_to_dandi,
upload_multiple_filesystem_objects_to_dandi,
upload_project_to_dandi,
validate_metadata,
progress_handler
)
3 changes: 2 additions & 1 deletion src/pyflask/manageNeuroconv/info/sse.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import json


def format_sse(data: str, event=None) -> str:
msg = f"data: {json.dumps(data)}\n\n"
if event is not None:
msg = f"event: {event}\n{msg}"
return msg
return msg
2 changes: 1 addition & 1 deletion src/pyflask/namespaces/neuroconv.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
inspect_nwb_folder,
listen_to_neuroconv_progress_events,
locate_data,
progress_handler,
upload_folder_to_dandi,
upload_multiple_filesystem_objects_to_dandi,
upload_project_to_dandi,
validate_metadata,
progress_handler
)

neuroconv_namespace = Namespace("neuroconv", description="Neuroconv neuroconv_namespace for the NWB GUIDE.")
Expand Down

0 comments on commit 1dc1bd1

Please sign in to comment.