Skip to content

[FIX] Update how derived scans are handled#306

Merged
DESm1th merged 1 commit intoTIGRLab:masterfrom
DESm1th:asl_fix
Jun 17, 2021
Merged

[FIX] Update how derived scans are handled#306
DESm1th merged 1 commit intoTIGRLab:masterfrom
DESm1th:asl_fix

Conversation

@DESm1th
Copy link
Copy Markdown
Contributor

@DESm1th DESm1th commented Jun 14, 2021

TAY01 ASL scans weren't being pulled down because they didnt have an 'image_type' and were being assumed to be derived scans. This swaps the order of the checks so that we only check if something is derived if it matches a tag, and changes the default behavior to assume that those without image_types are not derived.

… tag)

TAY01 ASL scans weren't being pulled down because they had no image_type
listed and were being assumed to be derived. This swaps the order
of the checks so that by the time we check if a scan is derived we
already know it has a matching tag and therefore it's very likely
a scan we want to download.
@auto-assign auto-assign bot requested review from benselby, jerdra and jskocic June 14, 2021 17:05
@DESm1th DESm1th requested review from josephmje and kyjimmy and removed request for benselby June 14, 2021 17:05
@codecov
Copy link
Copy Markdown

codecov bot commented Jun 14, 2021

Codecov Report

Merging #306 (75039d4) into master (02ba3e9) will not change coverage.
The diff coverage is 0.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #306   +/-   ##
=======================================
  Coverage   31.94%   31.94%           
=======================================
  Files          61       61           
  Lines        9037     9037           
=======================================
  Hits         2887     2887           
  Misses       6150     6150           
Impacted Files Coverage Δ
bin/dm_xnat_extract.py 0.00% <0.00%> (ø)
datman/xnat.py 27.67% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 02ba3e9...75039d4. Read the comment docs.

@DESm1th DESm1th merged commit 8968622 into TIGRLab:master Jun 17, 2021
@DESm1th DESm1th deleted the asl_fix branch June 17, 2021 15:29
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.

4 participants