Switch build_dbs.py to boto3, add Pfam-A.clans.tsv auto-download, replace MySQLdb with mysql-connector-python#66
Merged
Conversation
…S3, switch to mysql-connector-python Agent-Logs-Url: https://github.com/murphycj/AGFusion/sessions/3caeb2ae-0ca5-4d89-ba75-409b13fdd2b1 Co-authored-by: murphycj <3837196+murphycj@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Update build_dbs.py to use boto3 and database.py for mysql-connector-python
Switch build_dbs.py to boto3, add Pfam-A.clans.tsv auto-download, replace MySQLdb with mysql-connector-python
Apr 8, 2026
Owner
|
@copilot get rid of the wrapper functions around the boto download and upload functions. Just use boto directly. Also, use the logging library instead of print statements for logging |
…_dbs.py Agent-Logs-Url: https://github.com/murphycj/AGFusion/sessions/619bd4e5-89b2-420c-a0f7-8529d0d61992 Co-authored-by: murphycj <3837196+murphycj@users.noreply.github.com>
Contributor
Author
Done in ebbee3e. Removed the |
…b.com/murphycj/AGFusion into copilot/update-build-dbs-and-database
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
boto3andmysql-connector-pythontorequirements-dev.txtbin/build_dbs.pyto use boto3 for S3 operations directly (no wrapper functions), credentials from environmentbin/build_dbs.pyto downloadPfam-A.clans.tsvfrom S3 if it doesn't exist locallybin/build_dbs.pyto uselogginginstead ofprintstatementsagfusion/database.pyto usemysql-connector-pythoninstead ofMySQLdb, with error handlingOriginal prompt
Created from VS Code.