0x00b1 / napari-features

A feature extraction plugin for Napari
MIT License
7 stars 4 forks source link

bugfix: enable handling of GPU-backed arrays #13

Open haesleinhuepf opened 3 years ago

haesleinhuepf commented 3 years ago

Hi @0x00b1 ,

this closes #12 by calling np.asarray() on image and label image before passing them to the generator.

Let me know if this makes sense!

Best, Robert

codecov-commenter commented 3 years ago

Codecov Report

Merging #13 (1ec0c02) into master (67df1e4) will increase coverage by 0.01%. The diff coverage is 50.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #13      +/-   ##
==========================================
+ Coverage   81.75%   81.76%   +0.01%     
==========================================
  Files           8        8              
  Lines        1233     1234       +1     
==========================================
+ Hits         1008     1009       +1     
  Misses        225      225              
Impacted Files Coverage Δ
napari_features/_features.py 47.82% <50.00%> (+2.37%) :arrow_up:

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 67df1e4...1ec0c02. Read the comment docs.