[GRASS-git] [OSGeo/grass] 40afb9: r.sim: Rename the option random_seed to seed (#8032)

Vaclav Petras noreply at github.com
Wed Oct 7 13:51:36 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: 40afb9f47208ffa5b7f90dbce890049c09c65841
      https://github.com/OSGeo/grass/commit/40afb9f47208ffa5b7f90dbce890049c09c65841
  Author: Vaclav Petras <wenzeslaus at gmail.com>
  Date:   2026-10-07 (Wed, 07 Oct 2026)

  Changed paths:
    M lib/gis/renamed_options
    M raster/r.sim/r.sim.sediment/main.c
    M raster/r.sim/r.sim.sediment/r.sim.sediment.html
    M raster/r.sim/r.sim.sediment/r.sim.sediment.md
    M raster/r.sim/r.sim.sediment/tests/r_sim_sediment_random_test.py
    M raster/r.sim/r.sim.sediment/tests/r_sim_sediment_summary_test.py
    M raster/r.sim/r.sim.sediment/testsuite/test_r_sim_sediment.py
    M raster/r.sim/r.sim.water/main.c
    M raster/r.sim/r.sim.water/r.sim.water.html
    M raster/r.sim/r.sim.water/r.sim.water.ipynb
    M raster/r.sim/r.sim.water/r.sim.water.md
    M raster/r.sim/r.sim.water/tests/r_sim_water_landforms_test.py
    M raster/r.sim/r.sim.water/tests/r_sim_water_mannings_null_test.py
    M raster/r.sim/r.sim.water/tests/r_sim_water_nprocs_test.py
    M raster/r.sim/r.sim.water/tests/r_sim_water_random_test.py
    M raster/r.sim/r.sim.water/tests/r_sim_water_summary_test.py
    M raster/r.sim/r.sim.water/tests/r_sim_water_test.py
    M raster/r.sim/r.sim.water/tests/r_sim_water_time_series_test.py
    M raster/r.sim/r.sim.water/testsuite/test_r_sim_water.py

  Log Message:
  -----------
  r.sim: Rename the option random_seed to seed (#8032)

The random seed is the option seed in the eleven other tools which take
one, all through G_OPT_M_SEED, and only r.sim.water and r.sim.sediment
call it random_seed. The key in the history and the run summary is seed
already. The old name keeps working through the renamed options list,
with the parser's warning.

Written with the help of Claude Code.



To unsubscribe from these emails, change your notification settings at https://github.com/OSGeo/grass/settings/notifications


More information about the grass-commit mailing list