I'm trying to run the MosaicToNewRaster tool as part of a python script. This is my code:
input_rasters = arcpy.GetParameterAsText(5), arcpy.GetParameterAsText(6), arcpy.GetParameterAsText(7), arcpy.GetParameterAsText(8)
output_location = "C:/Birkbeck_Python/Prog_Assign_1.gdb"
arcpy.MosaicToNewRaster_management(input_rasters, output_location, "R_Dataset", "", "", "", "1", "", "")
I get the following error message, anybody got any ideas? It works fine when I hardcode it.
Thanks
ExecuteError: Failed to execute. Parameters are not valid. ERROR 000732: Input Rasters: Dataset '';'';'';'' does not exist or is not supported Failed to execute (MosaicToNewRaster).