Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions python/grass/pygrass/raster/abstract.py
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,6 @@ def set_region_from_rast(self, rastname="", mapset=""):
"""
if self.is_open():
fatal("You cannot change the region if map is open")
raise
region = Region()
if rastname == "":
rastname = self.name
Expand All @@ -523,7 +522,6 @@ def set_region(self, region):
"""
if self.is_open():
fatal("You cannot change the region if map is open")
raise
self._set_raster_window(region)

def _set_raster_window(self, region):
Expand Down
Loading