-
Notifications
You must be signed in to change notification settings - Fork 8
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
Add depend_failed keyword argument #51
Comments
Hi Mike, I'm really enjoying your tool! I'm missing a way to detect jobs that will never run because their dependency was never satisfied. As far as I can tell, the I guess one possible solution, besides implementing a keyword, would be to include the (REASON) string in the node list, such that the user can find them, perhaps by adapting your best Guillem |
Hi Guillem, Thanks for the comment. Unfortunately, I left my job and went to medical school, so now my time to work on fyrd is limited. I agree with you that adding a REASON value to the node list is probably a good way to go. The reason that I didn't do that is because reasons are handled differently by Torque. Another solution would be to add a new return value for the job (in the Queue object). Currently, that includes things like 'pending' and 'running' and 'completed', you could add a 'depend_failed' value as well and then add that to the list of failed keywords. If you would be willing, I would suggest trying to make the edits yourself and then I can review the pull request. It should be a relatively quick change, but it is unlikely I will have the time for several weeks at least. Thanks, Mike |
Hi Mike, I bet medical school is very demanding, so thanks for taking the time to reply. I sort of found a way around it, at least for my needs. Just by reading bits of your code and going over the documentation I could not see a way to pass kwargs to I'm pretty busy myself also, but I'll send you a PR if I find the time to work on it. You know what would be cool? Async/await for jobs. I tried to combine your library and the multiprocessing module to get the output of the jobs, but somehow it crashes. Anyway, I didn't spend too much time on it, and that's another topic... best, Guillem |
Hi Guillem, The way to do it using the 'API' in fyrd is to add it to the Thanks! -Mike |
No description provided.
The text was updated successfully, but these errors were encountered: