esda icon indicating copy to clipboard operation
esda copied to clipboard

adding alternative option in local_moran and moral_local_rate

Open tushar-corbic opened this issue 2 years ago • 4 comments

tushar-corbic avatar Mar 31 '22 09:03 tushar-corbic

These look like useful changes. Thanks.

It would be helpful to add test coverage for new/changed functionality and update the documentation to surface these changes/enhancements.

sjsrey avatar Apr 06 '22 14:04 sjsrey

@martinfleis @sjsrey , could you please tell me how to add test coverage for local_moran and moran_local_rate, Thank you

tushar-corbic avatar Apr 12 '22 09:04 tushar-corbic

Hey! this is looking very good, well done @tushar-corbic!

how to add test coverage

Sure! Normally, we add a method to the test class for that module. For Moran_Local, that's in esda/tests/test_moran.py. If you follow that pattern to ensure that the test works, and reproduces the same result every time, then that should be fine!

ljwolf avatar Apr 12 '22 09:04 ljwolf

Hey! this is looking very good, well done @tushar-corbic!

how to add test coverage

Sure! Normally, we add a method to the test class for that module. For Moran_Local, that's in esda/tests/test_moran.py. If you follow that pattern to ensure that the test works, and reproduces the same result every time, then that should be fine!

Thank you @ljwolf , I have added test coverage for local_moran. Thank you

tushar-corbic avatar Apr 12 '22 10:04 tushar-corbic