Closed alexb-84 closed 3 years ago
Hi @alexb-84,
Thank you for reporting this issue!
I will look into it soon.
Hi @alexb-84,
Could you please reinstall gwasrapidd and test whether this issue has been indeed resolved?
Hi @ramiromagno,
Thanks for the fast fix. I just reinstalled gwasrapidd
and tested it. I can confirm now it is working fine on my side.
Best,
Ale
Thank you for the feedback!
Hi @alexb-84: I would like to reach out by email. Could you contact at rmagno at pattern.institute?
Hi there,
I found an issue happening during the parsing of the JSON object returned by the GWAS Catalog API. When a study has
"diseaseTrait": null
, thegwasrapidd::get_studies
function raises the following error:This function call reproduces the error:
I am running
gwasrapidd 0.99.9
onR 4.0.3
.I guess a simple check on the JSON names (e.g.
!is.null(obj$content$studies$diseaseTrait)
) before accessing the data could work as a fix.