-
I've just tried
Here's my project.yaml:
It's not clear what I'm doing wrong. Any ideas? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
The issue here is that you need:
because There's an open question about exactly what we want to do here (I thought there was an issue somewhere but I can't now find it). We could give every docker image an entrypoint script which does the "obvious right thing" as we do for e.g. Stata. In this case that would be to run the script as Python. However the trouble is that we sometimes want to do something other than that e.g. invoke Python with special arguments, run Python under a profiler, use I don't think we've quite got to the bottom of how we do this yet. |
Beta Was this translation helpful? Give feedback.
-
When I've run python scripts with the job runner before, the run command I've used would be |
Beta Was this translation helpful? Give feedback.
The issue here is that you need:
because
analysis/breakdown.py
isn't executable and there's no entrypoint script in the associated docker image.There's an open question about exactly what we want to do here (I thought there was an issue somewhere but I can't now find it). We could give every docker image an entrypoint script which does the "obvious right thing" as we do for e.g. Stata. In this case that would be to run the script as Python. However the trouble is that we sometimes want to do something other than that e.g. invoke Python with special arguments, run Python under a profiler, use
jupyter
as the executable.I don't think we've q…