diff --git a/src/pynwb/ndx_microscopy/testing/_mock.py b/src/pynwb/ndx_microscopy/testing/_mock.py index 1a0101c..5a8af90 100644 --- a/src/pynwb/ndx_microscopy/testing/_mock.py +++ b/src/pynwb/ndx_microscopy/testing/_mock.py @@ -118,8 +118,8 @@ def mock_VolumetricImagingSpace( def mock_MicroscopySegmentations( name: Optional[str] = None, - microscopy_plane_segmentations: Optional[Iterable[ndx_microscopy.PlaneSegmentation]] = None, -) -> ndx_microscopy.MicroscopyImageSegmentation: + microscopy_plane_segmentations: Optional[Iterable[ndx_microscopy.MicroscopyPlaneSegmentation]] = None, +) -> ndx_microscopy.MicroscopySegmentations: name = name or name_generator("MicroscopySegmentations") microscopy_plane_segmentations = microscopy_plane_segmentations or [mock_MicroscopyPlaneSegmentation()]