Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add output typehints #332

Merged
merged 10 commits into from
May 21, 2024
Prev Previous commit
Next Next commit
Update src/roiextractors/extractors/tiffimagingextractors/scanimageti…
…ffimagingextractor.py

Co-authored-by: Paul Adkisson <paul.wesley.adkisson@gmail.com>
  • Loading branch information
bendichter and pauladkisson authored May 21, 2024
commit 8c6d92f36a87bf3c4ef283f3b1429986e897b742
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ def check_frame_inputs(self, frame) -> None:
if frame < 0:
raise ValueError(f"Frame index ({frame}) must be greater than or equal to 0.")

def frame_to_raw_index(self, frame) -> int:
def frame_to_raw_index(self, frame: int) -> int:
"""Convert a frame index to the raw index in the TIFF file.

Parameters
Expand Down
Loading