[GRASS-git] [OSGeo/grass-addons] 3b1565: r.niche.similarity: address #897 (#898)

Veronica Andreo noreply at github.com
Sun Jun 4 10:27:19 PDT 2023


  Branch: refs/heads/grass8
  Home:   https://github.com/OSGeo/grass-addons
  Commit: 3b15657f641a609a6ed8f67e02e68cd82617df24
      https://github.com/OSGeo/grass-addons/commit/3b15657f641a609a6ed8f67e02e68cd82617df24
  Author: Veronica Andreo <veroandreo at gmail.com>
  Date:   2023-06-04 (Sun, 04 Jun 2023)

  Changed paths:
    M src/raster/r.niche.similarity/r.niche.similarity.py

  Log Message:
  -----------
  r.niche.similarity: address #897 (#898)

* Partially address #897

This small PR solves the Attribute error part reported in #897

* address the type error in printing

This solves the second error. The text file does not look great though...

* Update src/raster/r.niche.similarity/r.niche.similarity.py

Co-authored-by: Anna Petrasova <kratochanna at gmail.com>

* update r.niche.similarity bugfix

Changes to solve the errors reported in #897. The printing in the csv file is fixed as well (was caused by earlier solution, reverted to old code used to print to csv).

---------

Co-authored-by: Anna Petrasova <kratochanna at gmail.com>
Co-authored-by: Paulo van Breugel <paulo at ecodiv.earth>




More information about the grass-commit mailing list