[GRASS-git] [OSGeo/grass-addons] be2238: r.centroids: Fix module and test (#815)

Anna Petrasova noreply at github.com
Fri Oct 7 19:48:29 PDT 2022


  Branch: refs/heads/grass8
  Home:   https://github.com/OSGeo/grass-addons
  Commit: be223882a7285918b15bbf237e63b12c245d9814
      https://github.com/OSGeo/grass-addons/commit/be223882a7285918b15bbf237e63b12c245d9814
  Author: Anna Petrasova <kratochanna at gmail.com>
  Date:   2022-10-07 (Fri, 07 Oct 2022)

  Changed paths:
    M src/raster/r.centroids/r.centroids.py
    M src/raster/r.centroids/testsuite/test_r_centroids.py
    M src/raster/r.sample.category/testsuite/test_numbers.sh

  Log Message:
  -----------
  r.centroids: Fix module and test (#815)

* Fixes wrong variable names in the r.centroids code.
* Fixes test for r.centroids.
* Fixes also r.sample.category test by defining an appropriate computational region. (Unrelated)




More information about the grass-commit mailing list