NikosAlexandris wrote > Is there a pygrass function to isolate the a raster map's basename from > the Mapset part? Looking for it... > > Nikos > _______________________________________________ > grass-dev mailing list
> [email protected] > http://lists.osgeo.org/mailman/listinfo/grass-dev this should work: def main(): vectorforcalculations = options['vector'].split('@')[0] ----- best regards Helmut -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Adding-a-suffix-for-output-raster-map-names-tp5173056p5173067.html Sent from the Grass - Dev mailing list archive at Nabble.com. _______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
