Skip to content

fixed bug with BIDS sidecar files when supplied by user and updated tests #394

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

Merged
merged 5 commits into from
Dec 19, 2023

Conversation

dbkeator
Copy link
Contributor

The map_vars_to_terms utility in pynidm was modifying json sidecar (mapping) files when they were supplied with a BIDS dataset and the user selected to do no annotations. This is fixed along with a new test / modified tests to accommodate this change.

…cking for source_variable key which may not be in a BIDS json sidecar file. Also updated code so BIDS sidecar file is left untouched if user supplies one and selects -no_concepts flag on command line.
…IDS and sidecar file was provided and no annotations were made...also updated some of the function descriptive text for map_vars_to_terms
@codecov-commenter
Copy link

codecov-commenter commented Dec 19, 2023

Codecov Report

Attention: 11 lines in your changes are missing coverage. Please review.

Comparison is base (0237ab3) 34.37% compared to head (fe42841) 34.44%.

Files Patch % Lines
src/nidm/experiment/Utils.py 25.00% 5 Missing and 1 partial ⚠️
...nidm/experiment/tools/nidm_affinity_propagation.py 0.00% 1 Missing ⚠️
.../experiment/tools/nidm_agglomerative_clustering.py 0.00% 1 Missing ⚠️
src/nidm/experiment/tools/nidm_gmm.py 0.00% 1 Missing ⚠️
src/nidm/experiment/tools/nidm_kmeans.py 0.00% 1 Missing ⚠️
src/nidm/experiment/tools/nidm_linreg.py 0.00% 1 Missing ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #394      +/-   ##
==========================================
+ Coverage   34.37%   34.44%   +0.07%     
==========================================
  Files          52       52              
  Lines        6843     6849       +6     
  Branches     1674     1675       +1     
==========================================
+ Hits         2352     2359       +7     
+ Misses       4322     4318       -4     
- Partials      169      172       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@dbkeator dbkeator merged commit 40b6199 into incf-nidash:master Dec 19, 2023
@yarikoptic yarikoptic added the patch Increment the patch version when merged label Dec 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch Increment the patch version when merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants