-
Notifications
You must be signed in to change notification settings - Fork 8
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
Code cleanup: Improve CLI #23
Conversation
Also set-up initial parser
Current argparser setup: |
Can you remind me about the overall structure/design of the CLI? |
@yunhailuo, it is discussed here: https://github.com/yunhailuo/xena-GDC-ETL/issues/16#issue-421366023. Our target is to have a single CLI for the whole package instead of for individual modules. |
Trying to test this PR but find a potential problem with 4c11c57. Somehow having
I know travis tests all pass. I'm wondering:
|
During development, I use
No, I will add a commit addressing this.
Yes, it turns out that the problem lies in the name of directory |
I think this is defined in setup.py. They are scripts, not modules. So it shouldn't have However, I do know we are going to have command line and get rid of scripts for good eventually. Let me know when the PR is ready. |
Ok, I will get rid of |
Since scripts will not be used as a module
@yunhailuo This PR is ready except for |
Also add tests for make_metadata
Use read_csv instead of read_table
8620412
to
b4de160
Compare
Also setup the parser
@yunhailuo, please review. |
Looks good. Thank you! |
If possible, it will be better to have commits group together. Or separate features into different PRs. @ayan-b |
equal_matrices
(tests added)make_metadata
(tests added)merge_xena
(tests added)gdc_check_new
gdc2xena
Also set-up initial parser
Related to #16.
See also https://github.com/yunhailuo/xena-GDC-ETL/pull/17#issuecomment-475110147