Skip to content

Commit

Permalink
Fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
bjhardcastle committed Apr 26, 2024
1 parent f22bbd0 commit d7c1fbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/npc_sessions/utils/cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ def write_and_upload_session_nwb(
if zarr:
path = session.write_nwb_zarr(path=path, metadata_only=metadata_only)
else:
with tempfile.TemporaryDirectory(ignore_cleanup_errors=True) as tmpdir:
with tempfile.TemporaryDirectory(ignore_cleanup_errors=True) as tmpdir: # type: ignore[call-overload]
tmpfile = npc_io.from_pathlike(tmpdir) / "temp.nwb"
tmpfile = session.write_nwb_hdf5(path=tmpfile, metadata_only=metadata_only)
bucket = path.fs._parent(path).split('/')[0]
Expand Down

0 comments on commit d7c1fbc

Please sign in to comment.