Factorize BIDS path utils - #1462
Merged
Merged
Conversation
* move the sourcing of the python environment up as this erase the PATH configuration when done at the end of the file * Update comment for the python environment sourcingg
…#1455) * remove update of session scan done field from the delete script now that the Scan_done field has been removed from the DB * update MD file --------- Co-authored-by: lorisadmin <lorisadmin@cbrain.mcgill.ca>
MaximeBICMTL
force-pushed
the
factorize-bids-path-utils
branch
from
July 16, 2026 09:52
3cceed4 to
dbb106c
Compare
* Validate config-provided CenterID against the psc table in getPSC * Validate config CenterID and finish removing MRI_alias from Perl * shorten comment section * address Nics comments: generate associated .md file for documentation changes in MRI.pm file. better validation strategy with PSCOB class rather than database check. Improved order of code for readability in tarchiveLoader.pl
* add a few test plans * fix typo
* add dicom and bids importer documentation * fix whoopsie
Co-authored-by: cmadjar <lorisadmin@cbrain.mcgill.ca>
MaximeBICMTL
force-pushed
the
factorize-bids-path-utils
branch
from
July 18, 2026 09:20
dbb106c to
dceb8d3
Compare
… generate Python config file. (aces#1477) * fix old file name * fix macos
* fix PosixPath error when running push to s3 script * fix startswith s3:/ and return from remove empty directory if path does not exists on the file system * check if directory exists before calling remove_empty_directory instead of inside the function
MaximeBICMTL
force-pushed
the
factorize-bids-path-utils
branch
from
July 21, 2026 05:25
dceb8d3 to
8200f12
Compare
cmadjar
approved these changes
Aug 10, 2026
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.
Preparatory PR to merge the BIDS MEG importer in LORIS 30. This PR is built on top of the 29 branch but actually targets main.
Description
Factorize a few BIDS path-related utilities such as "parse BIDS entities from a file name" and "build a BIDS file name / path" in the
loris_bids_utils.pathmodule. Also add a few general utilities used in the process.