-
Notifications
You must be signed in to change notification settings - Fork 240
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
Access the config from within a job #3619
Comments
This is for non- |
Yes more likely it would be |
The name(s) can overlap, but we need to make sure it doesn't show up as a |
This would also be relevant to #4142 if we want to make the way Toil passes around its config information a little more extensible. The Toil architecture is to take the Since the So if you want a custom job class to get ahold of the config, you could override A real solution to this would probably involve:
|
If you want to get at the object on the leader, it would be in the |
We should come up with a good way to make the config system as updated in #4569 officially user-extensible, and document it with an example in the docs. The workaround is to just cram more fields into it on the leader, and reach into the internals of Toil to get it from the current job on the worker. |
I'm trying to fix
toil-container
, with reference to #1768. One key aspect to this is being able to set--singularity
or--docker
on the command line, storing that in the Toil options, and then checking this value later on when we go to run a container. How can a running job access the toil options?┆Issue is synchronized with this Jira Story
┆Issue Number: TOIL-903
The text was updated successfully, but these errors were encountered: