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

[FIX] Properly handle XNAT-shared experiments #368

Merged
merged 9 commits into from
Jan 17, 2025

Conversation

DESm1th
Copy link
Contributor

@DESm1th DESm1th commented Jan 17, 2025

This PR better handles experiments that have been shared within XNAT. It abandons attempts to avoid redundant downloading, since the downloaded data associated with a secondary ID(s) isn't necessarily a subset of the source ID and handling that led to too much code duplication + potential for error.

It also fixes a bug that was preventing shared scans from being properly linked in the dashboard database whenever the IdMap setting was used to modify IDs during download (i.e. when the xnat ID didnt match the filesystem ID).

@DESm1th DESm1th requested a review from a team as a code owner January 17, 2025 20:15
@DESm1th DESm1th merged commit 9a05db0 into TIGRLab:main Jan 17, 2025
3 of 5 checks passed
@github-actions github-actions bot added the fix Tagged PR fixes a bug label Jan 17, 2025
@DESm1th DESm1th deleted the xnat_sharing branch January 17, 2025 20:16
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