Skip to content

Simplify EEG/MEG signal chunking signature#1395

Merged
MaximeBICMTL merged 1 commit into
aces:bids_staging_branchfrom
MaximeBICMTL:simplify_eeg_chunking_signature
Mar 21, 2026
Merged

Simplify EEG/MEG signal chunking signature#1395
MaximeBICMTL merged 1 commit into
aces:bids_staging_branchfrom
MaximeBICMTL:simplify_eeg_chunking_signature

Conversation

@MaximeBICMTL
Copy link
Copy Markdown
Contributor

@MaximeBICMTL MaximeBICMTL commented Mar 16, 2026

Previously, the lib.physio.chunking.create_physio_channels_chunks took a separate parameter for the path of the file to chunk, this was done for the work-in-progress MEG implementation where in a previous design, the path of the "real" file may not have been the path of the physiological file. That work-in-progress MEG design is obsolete thanks to aces/Loris#10411, so this additional parameter is no longer needed.

This PR also fixes a bug where the created chunk directories had an incorrect name.

@github-actions github-actions Bot added the Language: Python Issue or PR related to the Python codebase label Mar 16, 2026
@MaximeBICMTL MaximeBICMTL added Category: Refactor Issue or PR that aims to improve the existing code Complexity: Simple Issue or PR that should be simple to implement, review, or test labels Mar 16, 2026
@MaximeBICMTL MaximeBICMTL force-pushed the simplify_eeg_chunking_signature branch from 0876ecb to baf8b62 Compare March 16, 2026 12:48
Copy link
Copy Markdown
Contributor

@jeffersoncasimir jeffersoncasimir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works great!

Not introduced in this PR, but notice how there is an issue if -s == -l

@MaximeBICMTL MaximeBICMTL changed the base branch from main to bids_staging_branch March 21, 2026 09:12
@MaximeBICMTL MaximeBICMTL merged commit 32ac635 into aces:bids_staging_branch Mar 21, 2026
10 checks passed
@MaximeBICMTL MaximeBICMTL added this to the 28.0.0 milestone Mar 30, 2026
@MaximeBICMTL MaximeBICMTL added the Category: Bug Issue or PR that aims to report or fix a bug label Apr 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Category: Bug Issue or PR that aims to report or fix a bug Category: Refactor Issue or PR that aims to improve the existing code Complexity: Simple Issue or PR that should be simple to implement, review, or test Language: Python Issue or PR related to the Python codebase

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants