Skip to content

Conversation

@MaximeBICMTL
Copy link
Contributor

@MaximeBICMTL MaximeBICMTL commented Jan 16, 2026

Builds on #1365 (diff)

Description

This PR adds two abstract BidsTsvFile, BidsTsvRow classes in the LORIS BIDS reader, as well as two specialized subclasses for BidsEventTsvRow and BidsEventsTsvFile, and adopts them in the BIDS EEG import pipeline. Having a specialized row class allows to move the validation logic out of Physiological into the LORIS BIDS reader, which makes the code more isolated and re-usable.

@github-actions github-actions bot added the Language: Python Issue or PR related to the Python codebase label Jan 16, 2026
@MaximeBICMTL MaximeBICMTL added Complexity: Medium Issue or PR that requires a moderate effort or expertise to implement, review, or test Pipeline: BIDS importer PR or issue related to the BIDS importer Category: Refactor Issue or PR that aims to improve the existing code labels Jan 16, 2026
@MaximeBICMTL MaximeBICMTL force-pushed the loris_bids_reader_4_events_reader branch 2 times, most recently from 08f3dc2 to d4a2605 Compare January 16, 2026 11:45
@MaximeBICMTL MaximeBICMTL marked this pull request as ready for review January 16, 2026 11:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Category: Refactor Issue or PR that aims to improve the existing code Complexity: Medium Issue or PR that requires a moderate effort or expertise to implement, review, or test Language: Python Issue or PR related to the Python codebase Pipeline: BIDS importer PR or issue related to the BIDS importer

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant