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

[REF] Allow integer inputs in freesurfer.parcels_to_vertices() #94

Merged
merged 2 commits into from
Jan 14, 2021

Conversation

rmarkello
Copy link
Member

Closes #84.

Allows integer inputs to netneurotools.freesurfer.parcels_to_vertices(). Previously this would error due to the insertion of np.nan for "ignored" parcels (e.g., corpus callosum, medial wall).

Integer array inputs will be coerced to float so that they don't fail
when we try and insert np.nan
@codecov-io
Copy link

codecov-io commented Jan 14, 2021

Codecov Report

Merging #94 (3ffb803) into master (a2ea2cf) will increase coverage by 0.08%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #94      +/-   ##
==========================================
+ Coverage   64.57%   64.65%   +0.08%     
==========================================
  Files          23       23              
  Lines        1606     1610       +4     
==========================================
+ Hits         1037     1041       +4     
  Misses        569      569              
Impacted Files Coverage Δ
netneurotools/freesurfer.py 55.60% <100.00%> (ø)
netneurotools/tests/test_freesurfer.py 100.00% <100.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 a2ea2cf...3ffb803. Read the comment docs.

@rmarkello rmarkello merged commit afa3af3 into netneurolab:master Jan 14, 2021
@rmarkello rmarkello deleted the ptov_float branch January 14, 2021 18:31
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.

Conversion to float in freesurfer.parcels_to_vertices
2 participants