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

Migrate "organisms" and "genes" apps to Python 3 #2

Open
dongbohu opened this issue Sep 30, 2019 · 2 comments
Open

Migrate "organisms" and "genes" apps to Python 3 #2

dongbohu opened this issue Sep 30, 2019 · 2 comments

Comments

@dongbohu
Copy link
Contributor

dongbohu commented Sep 30, 2019

genes/models.py is copied from django-genes and converted to Python 3 by 2to3 command. @mhuyck raised some good questions when reviewing the PR #1:
https://github.com/greenelab/py3-adage-backend/pull/1/files#diff-c72e57d6973b30333ee5ea17efb052ac

The other issues for the migration includes:

  • Migrate genes/tests.py to Python 3
  • Migrate management commands in django-genes to Python 3
  • genes/api.py
@dongbohu
Copy link
Contributor Author

dongbohu commented May 18, 2020

All modules in organisms have been ported to Python 3.

Most modules in genes have been ported to Python 3, except the following two management commands that were written for Tribe:

  • genes_load_uniprot.py
  • genes_load_wb.py

To-do list when porting Tribe to Python 3:

@dongbohu dongbohu changed the title Migrate genes package from Python 2 to Python 3 Migrate "organisms" and "genes" apps to Python 3 May 18, 2020
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

No branches or pull requests

1 participant