def getBatchOutputFileName(self, fn): # get GeoTiff fn = QString( fn ).replace( QRegExp( "\.[a-zA-Z]{2,4}$" ), ".tif" ) return BaseBatchWidget.getBatchOutputFileName( self, fn )
def getBatchOutputFileName(self, fn): # get GeoTiff fn = re.sub( r'\.[a-zA-Z]{2,4}$', r'.tif', fn ) return BaseBatchWidget.getBatchOutputFileName( self, fn )
def getBatchOutputFileName(self, fn): # get GeoTiff fn = QString( fn ).replace( QRegExp( "\.[a-zA-Z]{2,4}$" ), ".tif" ) return BaseBatchWidget.getBatchOutputFileName( self, fn )