Skip to content
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

Cleaned up commandline arguments #57

Merged
merged 5 commits into from
Jun 10, 2016
Merged

Conversation

iskandr
Copy link
Contributor

@iskandr iskandr commented Jun 9, 2016

Every group of arguments now has its own package, which contains a function that adds arguments to a parser and helpers for using the argument values. This lets us repurpose subsets of Topiary's CLI for other libraries (like vaxrank).

Also added some column filtering and rename options for output files (since at least one user wants a custom output format: #56)


This change is Reviewable

@coveralls
Copy link

coveralls commented Jun 9, 2016

Coverage Status

Coverage decreased (-2.8%) to 85.396% when pulling 6462533 on reorganize-commandline-args into 1d3d8d0 on master.

@coveralls
Copy link

coveralls commented Jun 9, 2016

Coverage Status

Coverage decreased (-3.6%) to 84.6% when pulling 36a3890 on reorganize-commandline-args into 1d3d8d0 on master.

@coveralls
Copy link

coveralls commented Jun 9, 2016

Coverage Status

Coverage decreased (-0.2%) to 88.0% when pulling 032c292 on reorganize-commandline-args into 1d3d8d0 on master.

@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bold move

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe too bold?

I did it impulsively but now feeling like it defeats the point of writing all this 2+3 compatible code.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yea, works for me since I mainly use 3, but I think most still don't. Many academic cluster users won't have much of a choice on this and the netmhc tools require py2 so you'd need both installed.

@arahuja
Copy link

arahuja commented Jun 10, 2016

Looks good! minor comments

@iskandr iskandr merged commit b642510 into master Jun 10, 2016
@iskandr iskandr deleted the reorganize-commandline-args branch June 10, 2016 20:34
@coveralls
Copy link

coveralls commented Jun 10, 2016

Coverage Status

Coverage decreased (-0.1%) to 88.072% when pulling 5c12bab on reorganize-commandline-args into 1d3d8d0 on master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants