-
-
Notifications
You must be signed in to change notification settings - Fork 22
Attachments connecting to toil/cwl_runner. Add util to compose post. Test cleanup. #51
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
Conversation
|
I don't understand the motivation for making symlinks. The runner invocation should specify an empty outdir. Instead of making symlinks, the command line should reference the tmpdir by full path. |
|
I think I misunderstood the intention of |
|
@tetron I've removed the symlinking. I do This should allow the cwltool and toil backends to use any number of attachments. There is still a buffering issue where the size of files sent is limited by the sending computer's RAM. Also got rid of the portion where it tried to upload all files from whichever cwd it was run from and made a user option to specify attachments instead. |
…run_id leftovers in client.
tetron
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-
Suggest that --attachments takes a glob pattern, also support directories (so that attaching a directory means attaching all the files it contains)
-
I'm fine with getting rid of Bravado on the client, it doesn't add a huge amount of value
-
I'm going to test this a little bit but for the most part it looks good
So it won't fail on URI schemes that schema salad doesn't know about like keep:, s3:, etc
|
@tetron Thank you! Really appreciate the review. I'll implement support for glob patterns and replace the bravado client with the direct calls (and some unittests for them). One side note is that Toil status has some edge cases. So we're working on a better implementation on the toil-side that should store status in the jobstore when it changes so that the jobstore can be queried directly. Once that's done, I'll likely make some modifications to that function. |
|
If you can fix the failing Travis test, I'm fine with merging this branch and continuing work in another pull request. I'd like to make another release (release early, release often). |
|
@tetron Sounds good to me. I'll take a look at the failing test. |
|
@tetron So... not only do all 7 tests pass on my computer locally, but making an attempt to debug on my personal fork also has them all passing on a different travis: DailyDreaming#1 I think this might be something odd with this travis's server? Or dockstore was down? I'll push another change to this branch and see if it doesn't pass this time. |
|
@tetron I used a magic docstring that has fixed everything. |
|
Awesome thanks! |
workflow_attachmentsfrom the commandline with the client.returnif notCWLin the client.workflow_idin the client torun_id.wes_client.utilbased on: http://ga4gh.github.io/workflow-execution-service-schemas/ . These all work, and I've mainly added them as functions for James Eddy's orchestrator to be able to import and use, though I wouldn't mind replacing the ones in the client (which aren't working for me) with the ones inwes_client.util. Though I'm not sure if the current ones work for Arvados or not.