AllenInstitute / em_stitch

EM microscopy lens correction
BSD 2-Clause "Simplified" License
4 stars 3 forks source link

bugfix: bincount counting errors in some use cases #49

Closed RussTorres closed 2 years ago

RussTorres commented 2 years ago

bincount has optional minlength argument to extend bins past the extent of the input array. In some use cases (like asap test_coarse_mesh_failure) this was causing an indexerror as the last value was not included in the bincount.

github-actions[bot] commented 2 years ago

Unit Test Results

  3 files  ±0    3 suites  ±0   6m 0s :stopwatch: +54s 20 tests ±0  20 :heavy_check_mark: ±0  0 :zzz: ±0  0 :x: ±0  60 runs  ±0  60 :heavy_check_mark: ±0  0 :zzz: ±0  0 :x: ±0 

Results for commit f607b6e7. ± Comparison against base commit ae71eee4.