Skip to content

Commit

Permalink
r.fusion: small fix for DCELL output
Browse files Browse the repository at this point in the history
  • Loading branch information
metzm authored Dec 14, 2024
1 parent c71f135 commit dc2e100
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/raster/r.fusion/r.fusion.py
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ def main():
exp = f"{output_map} = float({last_result})"
gscript.mapcalc(exp)
else:
gscript.run_command("g.copy", raster=f"{output_map},{last_result}")
gscript.run_command("g.copy", raster=f"{last_result},{output_map}")

# copy color rules from input to output
gscript.run_command("r.colors", map=output_map, raster=lowres_map)
Expand Down

0 comments on commit dc2e100

Please sign in to comment.