Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor CuBIDS to support file collections #308

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

tsalo
Copy link
Member

@tsalo tsalo commented Feb 19, 2024

Closes .

Changes proposed in this pull request

  • Add file collection entities (echo, mt, flip, part, and inv) to NON_KEY_ENTITIES.
  • Replace "modality" with "datatype" when applicable.
  • Draft function to resolve BIDS URIs in IntendedFor definitions (resolve_bids_uri).
  • Use BIDSLayout when possible, instead of string manipulation and globbing.

Documentation that should be reviewed

@tsalo tsalo added the enhancement New feature or request label Feb 19, 2024
@codecov-commenter
Copy link

Codecov Report

Attention: 48 lines in your changes are missing coverage. Please review.

Comparison is base (39770dc) 62.13% compared to head (c81bd2e) 59.65%.
Report is 2 commits behind head on main.

Files Patch % Lines
cubids/cubids.py 79.11% 33 Missing ⚠️
cubids/utils.py 6.66% 14 Missing ⚠️
cubids/workflows.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #308      +/-   ##
==========================================
- Coverage   62.13%   59.65%   -2.48%     
==========================================
  Files           9        9              
  Lines        1582     1527      -55     
==========================================
- Hits          983      911      -72     
- Misses        599      616      +17     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@tsalo
Copy link
Member Author

tsalo commented Feb 19, 2024

The BOLD filenames seem to be working correctly, but the associated files, including fmaps, aren't being updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants