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/schnitzerextractor/cnmfesegmentat…
…ionextractor.py

Co-authored-by: Paul Adkisson <paul.wesley.adkisson@gmail.com>
  • Loading branch information
bendichter and pauladkisson authored May 21, 2024
commit 8645d47c8eeec24b3ef219c7f08171c4b6168805
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def get_rejected_list(self):
return [a for a in range(self.get_num_rois()) if a not in ac_set]

@staticmethod
def write_segmentation(segmentation_object: SegmentationExtractor, save_path: PathType, overwrite=True):
def write_segmentation(segmentation_object: SegmentationExtractor, save_path: PathType, overwrite: bool = True):
"""Write a segmentation object to a .mat file.

Parameters
Expand Down
Loading