-
-
Notifications
You must be signed in to change notification settings - Fork 231
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
fix the pickling error for IO objects #1929
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1929 +/- ##
==========================================
- Coverage 83.95% 83.95% -0.01%
==========================================
Files 46 46
Lines 8190 8189 -1
Branches 2174 2174
==========================================
- Hits 6876 6875 -1
Misses 843 843
Partials 471 471
|
d2ebdf0
to
6f28470
Compare
This is probably fine, but I don't know offhand what |
In other words, was anything relying on the old behavior of that field being |
I don't think so. The |
Line 250 in ec9c898
|
Is the executor always called by |
External users of |
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.
Thanks!
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.
We should add a pickling test , to prevent regression
There are examples of pickling tests at https://github.com/common-workflow-language/cwltool/blob/main/tests/test_subclass_mypyc.py |
Thank you for your response! I've checked the |
6f28470
to
cbef1da
Compare
Added a pickling test for |
If you check the So no, it is quite needed :-) |
Can you run |
cbef1da
to
bc81dae
Compare
Hello, I'm trying to run a CWL workflow using Toil which involves the serialization/pickling of jobs. However the recent updates to CWL throws this stack trace below
I figured out this line breaks the serialization/pickling and this PR fixes this error.