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

Set output directory for derivative datasinks #914

Merged
merged 6 commits into from
Jan 14, 2025
Merged

Set output directory for derivative datasinks #914

merged 6 commits into from
Jan 14, 2025

Conversation

tsalo
Copy link
Member

@tsalo tsalo commented Jan 13, 2025

Closes none.

Changes proposed in this pull request

  • Assign the base_directory for any datasinks to the output directory.
  • Change desc-image_qc.csv to desc-image_qc.tsv. This is a breaking change.
  • Write out topupcsv.csv (now called desc-pepolar_qc.tsv) to output directory.

@tsalo tsalo added the bug Something isn't working label Jan 13, 2025
@tsalo tsalo changed the title Fix datasinks Set output directory for derivative datasinks Jan 13, 2025
@tsalo tsalo marked this pull request as ready for review January 13, 2025 20:08
@tsalo tsalo requested a review from mattcieslak January 13, 2025 20:08
@tsalo
Copy link
Member Author

tsalo commented Jan 14, 2025

I just need to fix the datasink for the topup qc file.

@tsalo tsalo added the breaking-change Issues/PRs that change results or interfaces. label Jan 14, 2025
@codecov-commenter
Copy link

codecov-commenter commented Jan 14, 2025

Codecov Report

Attention: Patch coverage is 38.88889% with 11 lines in your changes missing coverage. Please review.

Project coverage is 45.86%. Comparing base (0e047bb) to head (bd5d5b0).

Files with missing lines Patch % Lines
qsiprep/interfaces/epi_fmap.py 0.00% 5 Missing ⚠️
qsiprep/interfaces/eddy.py 33.33% 2 Missing ⚠️
qsiprep/interfaces/reports.py 0.00% 2 Missing ⚠️
qsiprep/interfaces/tortoise.py 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #914      +/-   ##
==========================================
+ Coverage   45.84%   45.86%   +0.02%     
==========================================
  Files          65       65              
  Lines        9725     9729       +4     
  Branches     1063     1064       +1     
==========================================
+ Hits         4458     4462       +4     
  Misses       5040     5040              
  Partials      227      227              

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

Copy link
Collaborator

Choose a reason for hiding this comment

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

is the pepolar_qc supposed to appear in this one?

Copy link
Member Author

Choose a reason for hiding this comment

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

It looks like dsdti_topup is defined in the pytest markers but there's no corresponding test in the tests/ folder.

Copy link
Member Author

Choose a reason for hiding this comment

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

Also, is it weird that dsdti_nofmap is creating this file?

Copy link
Collaborator

Choose a reason for hiding this comment

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

I think in the previous setup, DSDTI_nofmap downloaded data that had fieldmaps, then deleted those fieldmaps in a script. So this new nofmap is actually running with a pepolar fieldmap

Copy link
Member Author

Choose a reason for hiding this comment

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

We should probably run both versions of the test and add a BIDS filter file to ignore the field maps in the nofmap test.

Copy link
Member Author

Choose a reason for hiding this comment

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

I'd rather push that for a separate PR though.

Copy link
Member Author

Choose a reason for hiding this comment

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

Just opened #916 for this.

@mattcieslak mattcieslak merged commit ee9aa2e into master Jan 14, 2025
24 checks passed
@mattcieslak mattcieslak deleted the fix-ds branch January 14, 2025 23:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking-change Issues/PRs that change results or interfaces. bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants