Skip to content

Factorize check LORIS directory (PR 4)#1401

Open
MaximeBICMTL wants to merge 7 commits intoaces:bids_staging_branchfrom
MaximeBICMTL:factorize-check-dir-config
Open

Factorize check LORIS directory (PR 4)#1401
MaximeBICMTL wants to merge 7 commits intoaces:bids_staging_branchfrom
MaximeBICMTL:factorize-check-dir-config

Conversation

@MaximeBICMTL
Copy link
Contributor

@MaximeBICMTL MaximeBICMTL commented Mar 22, 2026

Builds on top of #1393 (diff)

Description

In the lib.config module, many functions get LORIS-specific directories and check their existence/permissions. There is a lot of repeated code here, that this PR factorizes. This PR also renames some electrophysiology-related configuration directory functions for better clarity (notably eeg -> ephys since those are also used by MEG).

@github-actions github-actions bot added Language: Python Issue or PR related to the Python codebase Package: Utilities PR or issue related to the LORIS-agnostic utilities Package: BIDS reader PR or issue related to the BIDS reader labels Mar 22, 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 and removed Package: Utilities PR or issue related to the LORIS-agnostic utilities Package: BIDS reader PR or issue related to the BIDS reader labels Mar 22, 2026
@MaximeBICMTL MaximeBICMTL changed the title Factorize check LORIS directory Factorize check LORIS directory (PR 4) Mar 22, 2026
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: 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.

1 participant