Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation suggestion #44

Open
conorsleith opened this issue Apr 30, 2015 · 0 comments
Open

Documentation suggestion #44

conorsleith opened this issue Apr 30, 2015 · 0 comments
Milestone

Comments

@conorsleith
Copy link

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!

@dan-blanchard dan-blanchard added this to the 1.0 milestone May 28, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants