[GRASS-SVN] r64126 - grass/trunk/imagery/i.segment

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Jan 13 04:22:53 PST 2015


Author: martinl
Date: 2015-01-13 04:22:53 -0800 (Tue, 13 Jan 2015)
New Revision: 64126

Modified:
   grass/trunk/imagery/i.segment/open_files.c
   grass/trunk/imagery/i.segment/write_output.c
Log:
i.segment: clarify error message - group must be located in the current mapset

Modified: grass/trunk/imagery/i.segment/open_files.c
===================================================================
--- grass/trunk/imagery/i.segment/open_files.c	2015-01-13 11:53:51 UTC (rev 64125)
+++ grass/trunk/imagery/i.segment/open_files.c	2015-01-13 12:22:53 UTC (rev 64126)
@@ -37,7 +37,7 @@
     /* ****** open the input rasters ******* */
 
     if (!I_get_group_ref(globals->image_group, &Ref))
-	G_fatal_error(_("Unable to read REF file for group <%s>"),
+	G_fatal_error(_("Group <%s> not found in the current mapset"),
 		      globals->image_group);
 
     if (Ref.nfiles <= 0)

Modified: grass/trunk/imagery/i.segment/write_output.c
===================================================================
--- grass/trunk/imagery/i.segment/write_output.c	2015-01-13 11:53:51 UTC (rev 64125)
+++ grass/trunk/imagery/i.segment/write_output.c	2015-01-13 12:22:53 UTC (rev 64126)
@@ -94,7 +94,7 @@
 
 	/* open input bands */
 	if (!I_get_group_ref(globals->image_group, &Ref))
-	    G_fatal_error(_("Unable to read REF file for group <%s>"),
+	    G_fatal_error(_("Group <%s> not found in the current mapset"),
 			  globals->image_group);
 	if (Ref.nfiles <= 0)
 	    G_fatal_error(_("Group <%s> contains no raster maps"),



More information about the grass-commit mailing list