-
Notifications
You must be signed in to change notification settings - Fork 6
Update codebase to python 3 #15
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
tncowart
left a comment
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.
In addition to my comments I don't think you should check in the symlinks.
ggr_cwl_ipynb_gen/__init__.py
Outdated
| @@ -0,0 +1,2 @@ | |||
| if __name__ == '__main__': | |||
| ggr-main() | |||
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.
ggr-main() isn't a valid identifier. I think you can just delete this.
setup.cfg
Outdated
| @@ -0,0 +1,18 @@ | |||
| [metadata] | |||
| name = ggr-cwl-ipynb-gen-alexbarrera | |||
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.
should you remove -alexbarrera?
setup.cfg
Outdated
| description = IPython notebook generator for GGR CWL processing pipelines of genomic data | ||
| long_description = file: README.md | ||
| long_description_content_type = text/markdown | ||
| url = https://github.com/alexbarrera/ggr-cwl-ipynb-gen |
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.
the urls should be updated.
setup.py
Outdated
| url='https://github.com/alexbarrera/ggr-cwl-ipynb-gen', | ||
| author='Alejandro Barrera', | ||
| author_email='alejandro.barrera@duke.edu', | ||
| classifiers=[ |
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.
This list doesn't match the list in setup.cfg
setup.py
Outdated
| ('templates', ['ggr_cwl_ipynb_gen/templates/ungzip_fastq_files.j2']), | ||
| ], # Optional | ||
| project_urls={ | ||
| 'Bug Reports': 'https://github.com/alexbarrera/ggr-cwl-ipynb-gen/issues', |
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.
these urls should be updated to the new location in reddylab.
requirements.txt
Outdated
| ruamel.yaml >=0.11.11 | ||
|
|
||
| setuptools | ||
| pymongo No newline at end of file |
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.
Shouldn't pymongo be versioned too?
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.
I didn't versioned pymongo because I'm not sure where to draw the line of the oldest version that should be accepted
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.
Your initial commit was 4/26/2017 and it looks like the newest version of pymongo at the time was 3.4.0, so probably that version (it's only at 3.11 now, 4 years later).
requirements.txt
Outdated
| xlrd >=1.0.0 | ||
| ruamel.yaml >=0.11.11 | ||
|
|
||
| setuptools |
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.
I don't think you need setup tools here because it's mentioned in pyproject.toml
MANIFEST.in
Outdated
| @@ -0,0 +1 @@ | |||
| include templates/* No newline at end of file | |||
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.
I don't think you need a manifest file because you use data_files in setup.py
|
What's the argument to remove the |
|
Just to declutter the repo. I don't feel super strongly about it though. |
|
Got it, yeah, I imagined that was it. I also feel like symlinks are prob something that can stay away from the repo, not common to find them committed. I just removed them. Thanks for all the comments!! |
|
Closes #11 |
This
devbranch addresses a couple things needed moving forward:setup.pyand some other necessary file for packaging the tool and make it installable withpip install /path/to/ggr-cwl-ipynb-genSince we don't have unittests or CI yet, it might be one for one of the reviewers to download and test before merging (if you haven't yet)