Repository navigation
SmartSPIM 6.0: map unnumbered channel folders by IMS_Notes.txt or metadata.json - #40
Merged
Merged
Conversation
…adata.json Port of NDR-matlab a77f2d6. A channel's All_Channels _ch<k> comes from: 1. its _MIP_stitched suffix; 2. IMS_Notes.txt (new readImsNotes); 3. the filter-channel rank, with a folder without _Ch<n> taking its number from metadata.json's tiles with its laser and filter. Two-channel SmartSPIM 6.0 acquisitions (Ex_<laser>_Em_<filter> folders) now read. ValueError is raised when one folder still has no number and IMS_Notes.txt does not name it, or when unnumbered folders mapped by rank disagree with the order metadata.json lists them (MATLAB ChannelOrderDisagrees). Bridge: new readImsNotes entry; listChannels and readAllChannelsInfo synced to a77f2d6. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01E59gJ2kMfx16TfRmzo2SnL
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Port of the NDR-matlab change (commit a77f2d6, VH-Lab/NDR-matlab branch of the same name). It lets two-channel SmartSPIM 6.0 acquisitions read. Their channel folders are
Ex_<laser>_Em_<filter>, with no_Ch<n>.Changes
A channel's
_ch<k>now comes from, in order:_MIP_stitchedsuffix;IMS_Notes.txt, read by the newreadImsNotes("The folder<channel>_stitchedis represented asCh<k>"). A missing file gives[];_Ch<n>takes its number frommetadata.json's tiles for its laser and filter (listChannels).ValueErroris raised, rather than guessing, when:IMS_Notes.txtdoesn't name it;metadata.jsonlists them (MATLABChannelOrderDisagrees).Bridge: new
readImsNotesentry;listChannelsandreadAllChannelsInfosynced to a77f2d6.Tests
tests/test_smartspim_all_channels.pymirror the MATLAB ones:IMS_Notes.txt;IMS_Notes.txtoutranks the rank;test_single_channel_without_ch_numbernow expectsfilterChannel2.Merge after the NDR-matlab PR: the bridge hashes name its commit.
Generated by Claude Code