rcsb / py-rcsb_utils_targets

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

Make CARDTargetOntologyProvider cacheable and restorable #12

Open piehld opened 1 year ago

piehld commented 1 year ago

Currently, CARDTargetOntologyProvider assumes it's rebuilt from scratch every time. It needs to be made actually cacheable on BL and restorable. Probably recommend following the strategy used by CARDTargetAnnotationProvider.

Also, see this [closed] PR for an idea of how to store the tree node list data: https://github.com/rcsb/py-rcsb_utils_targets/pull/11/files#diff-aec634f55648f3f00d36fc4b551dfcc582b0dc2fd879c2fdd4da617a74124299

Afterwards (and ensuring that data is available on BL as well as wherever py-rcsb_exdb fetches files), adjust this line to useCache=useCache. (Discussed in this PR: https://github.com/rcsb/py-rcsb_exdb/pull/11)

piehld commented 1 year ago

FYI @aliciaaevans