[GRASS-dev] [GRASS GIS] #3736: i.fusion.hpf addon: tiny patch to fix suffix setting

GRASS GIS trac at osgeo.org
Mon Jan 21 09:31:10 PST 2019


#3736: i.fusion.hpf addon: tiny patch to fix suffix setting
--------------------------+-------------------------
 Reporter:  veroandreo    |      Owner:  grass-dev@…
     Type:  defect        |     Status:  new
 Priority:  normal        |  Milestone:
Component:  Addons        |    Version:  unspecified
 Keywords:  i.fusion.hpf  |        CPU:  Unspecified
 Platform:  Unspecified   |
--------------------------+-------------------------
 When setting the suffix parameter in G7A:i.fusion.hpf one still gets a dot
 (.) just before the desired suffix.

 IMHO, a suffix option should prevail and no symbols should be inserted in
 between mapname and suffix. Otherwise one only realizes the command
 behaviour when the next command in the script does not find the output map
 of i.fusion.hpf.

 So, I removed the dot and set the default suffix to .hpf (see super tiny
 patch attached). In this way the suffix that the user sets is fully
 respected. Can I commit this small modification? I do not want to break
 others' scripts.

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/3736>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list