rmarkello / abagen

A toolbox for working with Allen Human Brain Atlas microarray expression data
https://abagen.readthedocs.io
BSD 3-Clause "New" or "Revised" License
92 stars 41 forks source link

[REF] Handle atlases w/decimal vox sizes #197

Closed rmarkello closed 3 years ago

rmarkello commented 3 years ago

Hopefully addresses #196

Adds better handling of volumetric atlas grids with non-integer steps (i.e., voxel sizes) and non-integer affine offsets. Need to add a few tests to confirm functionality but I think this should work...

codecov[bot] commented 3 years ago

Codecov Report

Merging #197 (815257e) into main (faa44de) will increase coverage by 0.02%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #197      +/-   ##
==========================================
+ Coverage   95.12%   95.14%   +0.02%     
==========================================
  Files          41       41              
  Lines        3279     3293      +14     
==========================================
+ Hits         3119     3133      +14     
  Misses        160      160              
Impacted Files Coverage Δ
abagen/matching.py 98.77% <100.00%> (+0.01%) :arrow_up:
abagen/tests/test_matching.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 faa44de...815257e. Read the comment docs.