Skip to content

[FIX] Update xnat extract bids conversion to better handle repeat sessions#350

Merged
DESm1th merged 2 commits intoTIGRLab:mainfrom
DESm1th:bids_fix
Apr 21, 2023
Merged

[FIX] Update xnat extract bids conversion to better handle repeat sessions#350
DESm1th merged 2 commits intoTIGRLab:mainfrom
DESm1th:bids_fix

Conversation

@DESm1th
Copy link
Copy Markdown
Contributor

@DESm1th DESm1th commented Apr 1, 2023

Currently BidsExporter is not properly detecting when a repeat session comes in. This updates BidsExporter.export() to add the repeat numbers to the json side cars and to run dcm2bids with force-dcm2niix when the session is a repeat. It also updates BidsExporter.outputs_exist() to take into account these repeat numbers when deciding if all outputs have been created.

@DESm1th DESm1th requested a review from a team as a code owner April 1, 2023 00:18
@DESm1th DESm1th requested review from kimjetwav and yaraldabagh April 1, 2023 00:18
@github-actions github-actions bot added the fix Tagged PR fixes a bug label Apr 1, 2023
@DESm1th DESm1th requested review from slimnsour and removed request for yaraldabagh April 1, 2023 00:19
@DESm1th DESm1th merged commit e829acc into TIGRLab:main Apr 21, 2023
@DESm1th DESm1th deleted the bids_fix branch April 21, 2023 21:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix Tagged PR fixes a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant