gridmap icon indicating copy to clipboard operation
gridmap copied to clipboard

Documentation suggestion

Open conorsleith opened this issue 10 years ago • 0 comments

import gridmap

def dummyfunc(whatever):
    return whatever + 1

results = gridmap.grid_map(dummyfunc, range(10))
print results

While it's obviously best practice to have code inside main() or some other function, it might be worth noting in the documentation that since job.py imports the parent module of dummyfunc, failure to do so will result in runaway job submission. I submitted 10k of these bad boys today!

conorsleith avatar Apr 30 '15 17:04 conorsleith