-
Notifications
You must be signed in to change notification settings - Fork 34
-
Notifications
You must be signed in to change notification settings - Fork 34
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
Use env in drmaa.wrapper.run_job_locally #44
Comments
Thanks for the bug report
The unittest is I have also taken the opportunity to tweak When running commands on a remote computational cluster (usually in parallel), one obviously should not expect to see the console results as they happen. This is annoying when running the job locally (e.g. for debugging) when it would be nice to see the results scrolling on the screen as they come out. There is now a "local_echo" parameter that causes both # stdout and sterr are two lists of lines (python strings)
stdout, stderr = ruffus.drmaa_wrapper.run_job(cmd_str = "ls -la",
# set environment
job_environment = environ,
# set working directory
working_directory = home_dir,
run_locally = True,
# run with echo
local_echo = False) The echoed output, however, only guarantees that the output line order are preserved among Leo |
Thanks for the quick response. Peter |
Hi Leo, |
Hi Peter, |
The job environment can be specified when jobs are run via
but not when the job is executed locally:
If a tool requires specific PATHs to be present that are in conflict with current environment variables, this complicates switching between grid and local mode.
The text was updated successfully, but these errors were encountered: