Skip to content

Commit

Permalink
Merge pull request #16 from catalystneuro/both_prs_together
Browse files Browse the repository at this point in the history
[Enhacement II] Testing
  • Loading branch information
CodyCBakerPhD authored Jun 27, 2024
2 parents 13be731 + da5a1b2 commit f9c93a2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
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

0 comments on commit f9c93a2

Please sign in to comment.