Skip to content

Commit

Permalink
fix more typing errors
Browse files Browse the repository at this point in the history
  • Loading branch information
h-mayorquin committed Dec 13, 2024
1 parent beae882 commit 9a1c01c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/ibl_to_nwb/datainterfaces/_pupil_tracking.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""Data Interface for the pupil tracking."""

from pathlib import Path
from typing import Optional

import numpy as np
from neuroconv.basedatainterface import BaseDataInterface
Expand All @@ -12,7 +13,7 @@


class PupilTrackingInterface(BaseDataInterface):
def __init__(self, one: ONE, session: str, camera_name: str, revision: str | None = None):
def __init__(self, one: ONE, session: str, camera_name: str, revision: Optional[str | None] = None):
self.one = one
self.session = session
self.camera_name = camera_name
Expand Down
3 changes: 2 additions & 1 deletion src/ibl_to_nwb/datainterfaces/_roi_motion_energy.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Data Interface for the special data type of ROI Motion Energy."""
from typing import Optional

from neuroconv.basedatainterface import BaseDataInterface
from neuroconv.tools.nwb_helpers import get_module
Expand All @@ -7,7 +8,7 @@


class RoiMotionEnergyInterface(BaseDataInterface):
def __init__(self, one: ONE, session: str, camera_name: str, revision: str | None = None):
def __init__(self, one: ONE, session: str, camera_name: str, revision: Optional[str] = None):
self.one = one
self.session = session
self.camera_name = camera_name
Expand Down

0 comments on commit 9a1c01c

Please sign in to comment.