Skip to content

Commit

Permalink
Fix type annotation for get_shifts
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanbb committed Sep 8, 2024
1 parent 9b6f5dd commit 7ccfee0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mesmerize_core/caiman_extensions/mcorr.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def get_output(self, mode: str = "r") -> np.ndarray:
return mc_movie

@validate("mcorr")
def get_shifts(self, pw_rigid) -> tuple[list[np.ndarray], list[np.ndarray]]:
def get_shifts(self, pw_rigid) -> list[np.ndarray]:
"""
Gets file path to shifts array (.npy file) for item, processes shifts array
into a list of x and y shifts based on whether rigid or nonrigid
Expand Down

0 comments on commit 7ccfee0

Please sign in to comment.