GuckLab / impose

Align microscopy images using custom-defined structural patterns and superimpose those on data from other imaging modalities.
GNU General Public License v3.0
1 stars 0 forks source link

Correctly handle NaN values #27

Closed raimund-schluessler closed 2 years ago

raimund-schluessler commented 2 years ago

This fixes the handling of NaN values in Impose. Impose does not complain anymore when a map contains (only) NaN values. I also adjusted the calculation or RGV and HSV values so that NaN values do not affect the resulting colors anymore (they are treated as if they don't exist now).

Closes #25.

codecov-commenter commented 2 years ago

Codecov Report

Attention: Patch coverage is 90.00000% with 2 lines in your changes missing coverage. Please review.

Project coverage is 77.64%. Comparing base (17102d8) to head (051612a). Report is 86 commits behind head on main.

Files with missing lines Patch % Lines
impose/gui/visualize.py 33.33% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #27 +/- ## ======================================= Coverage 77.64% 77.64% ======================================= Files 35 35 Lines 2425 2434 +9 ======================================= + Hits 1883 1890 +7 - Misses 542 544 +2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.