-
-
Notifications
You must be signed in to change notification settings - Fork 232
Use existing location if a secondary file has one. #1380
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
Codecov Report
@@ Coverage Diff @@
## main #1380 +/- ##
==========================================
- Coverage 54.25% 54.17% -0.08%
==========================================
Files 42 42
Lines 7767 7780 +13
Branches 1976 1984 +8
==========================================
+ Hits 4214 4215 +1
- Misses 2970 2981 +11
- Partials 583 584 +1
Continue to review full report at Codecov.
|
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.
Can you run make mypy
and address the issues?
https://travis-ci.com/github/common-workflow-language/cwltool/jobs/453580948#L628
@mr-c The linting should be addressed (although the checking is perhaps a bit verbose; please advise if I you'd prefer I handle it differently). One test is failing because |
008e6e6
to
bf2aa5d
Compare
Cruft. Cruft.
f1959ff
to
0434297
Compare
We are out of Travis CI coins, sorry @DailyDreaming ; If you have Travis CI coins in your personal account, you could fork the repo and run them there |
@mr-c Sorry I used your coins. Will be much more conservative about running tests in the future. All tests passed when run earlier except for the cwl-v1.2 tests, which passed locally for me after the execution bit fix. I'll just wait on Travis here then. |
@DailyDreaming Don't worry about it! There are a lot of projects that pull from the same bucket of coins. |
Seems like this may have been fixed already. Updating cwltool in Toil seems to have resolved this issue. Closing! |
This allows Toil to pass v1.2 conformance test 307.
In Toil, we pass the following (example) inputs to the executor:
When cwltool makes its builder, it swaps:
toilfs:0:files/no-job/file-ccead684521d44f98ff81b118f37159b/secondary_file_test.txt.accessory
for
toilfs:0:files/no-job/file-1120f3b05d62444083a9ff5c60c7f772/secondary_file_test.txt.accessory
The bolded portion is the same basedir as the primary file, which creates a path to a file that does not exist.
It does this here:
cwltool/cwltool/builder.py
Line 428 in 78fe9d4
This seems to be because cwltool:
toilfs:
schema.Two possible proposed solutions: