Skip to content

Commit

Permalink
fixed issues with class checks
Browse files Browse the repository at this point in the history
  • Loading branch information
explodecomputer committed Mar 14, 2024
1 parent 8762a25 commit f1d6d23
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: ieugwasr
Title: R Interface to the 'OpenGWAS' Database API
Version: 0.1.7
Version: 0.1.8
Authors@R: c(
person("Gibran", "Hemani", , "g.hemani@bristol.ac.uk", role = c("aut", "cre", "cph"),
comment = c(ORCID = "0000-0003-0920-1055")),
Expand Down
2 changes: 0 additions & 2 deletions R/query.R
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,6 @@ associations_query <- function(variants=variants, id=id, proxies=proxies, r2=r2,
maf_threshold=maf_threshold
), access_token=access_token) %>% get_query_content()

if(inherits(out, "response"))
if(inherits(out, "response"))
{
return(out)
Expand Down Expand Up @@ -456,7 +455,6 @@ tophits_query <- function(id, pval=5e-8, clump = 1, r2 = 0.001, kb = 10000, pop=
pop=pop
), access_token=access_token) %>% get_query_content()
if(inherits(out, "response"))
if(inherits(out, "response"))
{
return(out)
} else if(is.data.frame(out)) {
Expand Down

0 comments on commit f1d6d23

Please sign in to comment.