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

[Enhacement II] Testing #16

Merged
merged 5 commits into from
Jun 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions spec/ndx-microscopy.extensions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -312,9 +312,10 @@ groups:
- name: microscope
doc: Link to a Microscope object containing metadata about the device used to acquire this imaging data.
target_type: Microscope
- name: light_source
doc: Link to a LightSource object containing metadata about the device used to illuminate the imaging space.
target_type: LightSource
# TODO: figure out best way to link to list of light sources
- name: light_sources
doc: Link to an ordered list of MicroscopyLightSource objects containing metadata about the excitation method.
target_type: MicroscopyLightSource
# TODO: figure out best way to link to list of optical channels
- name: optical_channels
doc: Link to an ordered list of MicroscopyOpticalChannel objects containing metadata about the indicator and
Expand Down
4 changes: 2 additions & 2 deletions src/pynwb/ndx_microscopy/testing/_mock.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ def mock_VolumetricMicroscopySeries(
def mock_MultiChannelMicroscopyVolume(
*,
microscope: ndx_microscopy.Microscope,
light_source: ndx_microscopy.LightSource,
light_sources: List[ndx_microscopy.MicroscopyLightSource],
imaging_space: ndx_microscopy.VolumetricImagingSpace,
optical_channels: List[ndx_microscopy.MicroscopyOpticalChannel],
name: Optional[str] = None,
Expand All @@ -308,7 +308,7 @@ def mock_MultiChannelMicroscopyVolume(
name=series_name,
description=description,
microscope=microscope,
light_source=light_source,
light_sources=light_sources[0], # TODO: figure out how to specify list
imaging_space=imaging_space,
optical_channels=optical_channels[0], # TODO: figure out how to specify list
data=imaging_data,
Expand Down
Loading