Skip to content

[FIX] Stop dm_xnat_extract from crashing on malformed series 'numbers'#340

Merged
DESm1th merged 2 commits intoTIGRLab:mainfrom
DESm1th:fix_bad_series
Oct 18, 2022
Merged

[FIX] Stop dm_xnat_extract from crashing on malformed series 'numbers'#340
DESm1th merged 2 commits intoTIGRLab:mainfrom
DESm1th:fix_bad_series

Conversation

@DESm1th
Copy link
Copy Markdown
Contributor

@DESm1th DESm1th commented Sep 28, 2022

Some sessions (e.g. SEN01_CMH_SEN053_01_01) have series with malformed series numbers like '11-MR1'. This PR adds error handling to stop the whole script from crashing when these are encountered.

Some scans have a series 'number' like 8-MR1, and were
causing fatal ParseExceptions. They'll now be caught and logged so
execution can continue
@DESm1th DESm1th merged commit 0ebf209 into TIGRLab:main Oct 18, 2022
@DESm1th DESm1th deleted the fix_bad_series branch October 18, 2022 18:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant