-
-
Couldn't load subscription status.
- Fork 22
Add function to determine a workflow's version. #54
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 function to determine a workflow's version. #54
Conversation
…wfInfoAdd update dependencies
Wf info add
Unite test files.
Unite Test classes.
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.
Mostly looks good to me, just a few comments.
test/test_client_util.py
Outdated
| This test is run only on local files to avoid downloading and removing a new file. | ||
| """ | ||
|
|
||
| for format, location in self.local.items(): |
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.
Don't use the word format. format is a python builtin.
| import sys | ||
|
|
||
| from wes_client.util import expand_globs | ||
| pkg_root = os.path.abspath(os.path.join(os.path.dirname(__file__), '..')) # noqa |
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.
Please put this (lines 9 & 10) into the other test file as well.
test/test_client_util.py
Outdated
| self.assertEquals(wf_info(location[7:]), self.expected[format]) | ||
|
|
||
| else: | ||
| # Tests behavior after recieveing a non supported file type. |
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.
recieveing
Fix typo, bad var name. Add helpful testing lines.
|
LGTM. |
This PR would add a function, and corresponding unit tests, for determining the version of a CWL, WDL or python-based workflow.