apecs-org / Polar-EO-Database

Polar Earth Observation Database of satellite sensors
GNU General Public License v3.0
21 stars 5 forks source link

testing for not-a-number with LGTM standards #6

Closed AdrienWehrle closed 2 years ago

AdrienWehrle commented 2 years ago

We currently test if a dictionary key is finite with key == key, now test with cmath.isnan() as suggested by LGTM.

lgtm-com[bot] commented 2 years ago

This pull request fixes 1 alert when merging 9995673139b154f83fd9de9cc6833569252ec1dc into d1bb655cdd66460234ccf6cf38afead374942521 - view on LGTM.com

fixed alerts: