#3830 closed defect (fixed)
pygrass.gis.Region.write(): Typo in Exception message
Reported by: | pmav99 | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | PyGRASS | Version: | svn-trunk |
Keywords: | Cc: | ||
CPU: | Unspecified | Platform: | Unspecified |
Description
https://grass.osgeo.org/grass77/manuals/libpython/_modules/pygrass/gis/region.html#Region.write
pygrass.gis.Region.write()
is calling G_put_window
which writes to WIND
. The pygrass method though raises an Exception mentioning DEFAULT_WIND
. The following patch needs to be applied:
- raise GrassError("Cannot change region (DEFAUL_WIND file).") + raise GrassError("Cannot change region (WIND file).")
Note:
See TracTickets
for help on using tickets.
In 74463: