rcsb / py-rcsb_utils_targets

RCSB module containing methods for target data management
Apache License 2.0
0 stars 0 forks source link

Pharos-targets: Download sql file to separate dir #9

Closed aliciaaevans closed 1 year ago

aliciaaevans commented 1 year ago

The changes to https://github.com/rcsb/py-rcsb_workflow/pull/7 did the trick for stashing Pharos-targets data, however, it unnecessarily included the downloaded latest.sql.gz and pharos-update.sql in the file. It caused a 500 error from GitHub when trying to push 7 gb worth of 50 mb part files.

This change puts the downloaded SQL dump into a separate directory and keeps Pharos-targets for what will be stashed and used by PharosTargetActivityProvider.

aliciaaevans commented 1 year ago

This doesn't have any affect the rest of the code because they are specifically using the tdd files in Pharos-targets. That isn't changing, just the location of the SQL file that is downloaded to generate those files (via mySQL).