netneurolab / netneurotools

Useful tools from the Network Neuroscience Lab
https://netneurolab.github.io/netneurotools
BSD 3-Clause "New" or "Revised" License
60 stars 32 forks source link

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

Closed rmarkello closed 3 years ago

rmarkello commented 3 years ago

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).

codecov-io commented 3 years ago

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.