Skip to content

deal with NaN and write tests for crop_suitability #365

@remicousin

Description

@remicousin
          I don't see any reason you couldn't write tests for functions in maproom.py. Do you have a specific impediment in mind? Writing tests for the UI requires infrastructure we don't have in place yet, but a function that's pure computation like this one should be testable using the same paradigm you've been using elsewhere.

I'm ok deferring proper handling of NaNs if you want.

Originally posted by @aaron-kaplan in #280 (comment)

Metadata

Metadata

Assignees

Labels

CSCClimate Suitability for Crops

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions