incf-nidash / PyNIDM

Other
21 stars 31 forks source link

Fixed up Utils.py/map_variables_to_terms #382

Closed dbkeator closed 12 months ago

dbkeator commented 1 year ago

Addressed issues in map_variables_to_terms to support dictionary of isAbout. Fixed up test: test_map_vars_to_terms.py to test for the two supported JSON sidecar formats: NIDM + ReproSchema and BIDS native.

codecov-commenter commented 12 months ago

Codecov Report

Merging #382 (1a21f69) into master (61844b2) will decrease coverage by 0.04%. The diff coverage is 30.88%.

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

@@            Coverage Diff             @@
##           master     #382      +/-   ##
==========================================
- Coverage   34.37%   34.34%   -0.04%     
==========================================
  Files          52       52              
  Lines        6827     6851      +24     
  Branches     1670     1676       +6     
==========================================
+ Hits         2347     2353       +6     
- Misses       4313     4328      +15     
- Partials      167      170       +3     
Files Changed Coverage Δ
src/nidm/experiment/Utils.py 27.29% <29.85%> (-0.06%) :arrow_down:
src/nidm/experiment/tools/nidm_linreg.py 63.52% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

dbkeator commented 12 months ago

fixing up lint issues