GenomicMedLab / dgipy

Python client for fast access to the Drug-Gene Interaction Database (DGIDb)
MIT License
0 stars 0 forks source link

Use pagination #57

Closed jsstevenson closed 3 weeks ago

jsstevenson commented 2 months ago

Right now, large queries (eg get_gene_list) are capped in the # of responses because of (reasonable) server configs. We need to make sure we're employing pagination to get all search results until they're exhausted.

mcannon068nw commented 2 months ago

Related, get_clinical_trials has a similar pagination issue through the clinicaltrials.gov API that we need to resolve going forward

jsstevenson commented 1 month ago

I thought get_gene_list was paginated because it's a round number, but actually the true number is round.

jsstevenson commented 1 month ago

Note also that we might be moving fda annotation out entirely in favor of the regbot package, which would obviate this

jsstevenson commented 3 weeks ago

Okay I think this is resolved globally