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 logic for file associations #115

Merged
merged 6 commits into from
May 14, 2021
Merged

Fix logic for file associations #115

merged 6 commits into from
May 14, 2021

Conversation

HippocampusGirl
Copy link
Member

No description provided.

- Move all logic to collect_fieldmaps function
- Add metadata checks to make sure that the field map is suitable
- Print warnings for mismatches
- Merge ui and workflow logic into collect_events
- Do not fail if a single subject is missing event files, only print
  warning
- May not actually be a problem
@codecov-commenter
Copy link

Codecov Report

Merging #115 (aed8285) into master (a342fb0) will increase coverage by 0.09%.
The diff coverage is 65.69%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #115      +/-   ##
==========================================
+ Coverage   51.86%   51.95%   +0.09%     
==========================================
  Files         204      206       +2     
  Lines       10788    10892     +104     
  Branches     1843     1856      +13     
==========================================
+ Hits         5595     5659      +64     
- Misses       4822     4854      +32     
- Partials      371      379       +8     
Impacted Files Coverage Δ
halfpipe/model/file/fmap.py 90.00% <ø> (ø)
halfpipe/model/metadata.py 85.96% <ø> (+4.29%) ⬆️
halfpipe/ui/feature/task.py 0.00% <0.00%> (ø)
halfpipe/workflow/collect.py 52.11% <52.11%> (ø)
halfpipe/workflow/feature/factory.py 83.08% <53.33%> (-1.29%) ⬇️
halfpipe/io/index/bids.py 78.78% <78.57%> (+4.13%) ⬆️
halfpipe/workflow/base.py 83.13% <94.11%> (+10.95%) ⬆️
halfpipe/io/metadata/sidecar.py 93.47% <94.73%> (-0.28%) ⬇️
halfpipe/workflow/convert.py 95.45% <95.45%> (ø)
... and 3 more

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 a342fb0...aed8285. Read the comment docs.

@HippocampusGirl HippocampusGirl merged commit dbdaddd into master May 14, 2021
@HippocampusGirl HippocampusGirl deleted the dev/fix/collect branch May 14, 2021 18:05
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.

None yet

2 participants