You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have run into the following error using CPTAC. In many ways, I suspect this is my own fault - I am running SLURM jobs on HPC that regularly call cptac functionality, and suspect I ran too many such jobs simultaneously. I have run this code before, and it has generally worked in the past.
cptac error: Requesting data failed with the following error: 429 Client Error: TOO MANY REQUESTS for url: https://zenodo.org/api/records/7897498 (/home/cranneyc/dataModuleMethods/RnaToProteinDataModule/scripts/SHAP/0_SHAP_run.py, line 2)
I make this issue mostly because I thought the cptac package effectively downloads the required datasets after the first use and stores them locally. This makes the first use slow, but every subsequent use fast. In my head, there would then be no reason to access zenodo.com after that first download. Is there a GET call to zenodo.com every time, regardless of whether or not the data is already downloaded? If so, is this a required feature?
The text was updated successfully, but these errors were encountered:
Issue #39 also highlighted this error, but it wasn't investigated because no code was produced. I generally call cptac with the following code, if that helps. Again, however, I suspect the code itself works fine, it's just a problem if you run it numerous times within a small time frame.
defget_cptac_mod(cancerType):
ifcancerType=='brca':
returncptac.Brca()
elifcancerType=='ccrcc':
returncptac.Ccrcc()
elifcancerType=='coad':
returncptac.Coad()
elifcancerType=='gbm':
returncptac.Gbm()
elifcancerType=='hnscc':
returncptac.Hnscc()
elifcancerType=='lscc':
returncptac.Lscc()
elifcancerType=='luad':
returncptac.Luad()
elifcancerType=='ov':
returncptac.Ov()
elifcancerType=='pdac':
returncptac.Pdac()
elifcancerType=='ucec':
returncptac.Ucec()
else:
raiseException('cancer type not found in CPTAC datasets')
Hi,
I have run into the following error using CPTAC. In many ways, I suspect this is my own fault - I am running SLURM jobs on HPC that regularly call cptac functionality, and suspect I ran too many such jobs simultaneously. I have run this code before, and it has generally worked in the past.
I make this issue mostly because I thought the
cptac
package effectively downloads the required datasets after the first use and stores them locally. This makes the first use slow, but every subsequent use fast. In my head, there would then be no reason to accesszenodo.com
after that first download. Is there a GET call tozenodo.com
every time, regardless of whether or not the data is already downloaded? If so, is this a required feature?The text was updated successfully, but these errors were encountered: