I am writing a code to input a color ramp into a raster. I have made it work for a single file. When I try to insert two or more rasters, my for loop doesnt iterate. Even when i try to put a counter it does the counters number and then stops. Tried checking if it was a problem with a return statement but the same issue applies.