Skip to content

Commit

Permalink
Merge pull request #53 from monarch-initiative/neo4j-api-order-fix
Browse files Browse the repository at this point in the history
Neo4j api order fix
  • Loading branch information
oneilsh authored Jan 17, 2025
2 parents a8b6c76 + 0d74cff commit 9571a2f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Type: Package
Title: Monarch Knowledge Graph Queries
Description: R package for easy access, manipulation, and analysis of
Monarch KG data Resources.
Version: 1.5.0
Version: 1.5.1
URL: https://github.com/monarch-initiative/monarchr
BugReports: https://github.com/monarch-initiative/monarchr/issues
Authors@R:
Expand Down
6 changes: 6 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# monarchr 1.5.1

## Bug fixes

* Improved the URL try order for the Monarch Neo4j API.

# monarchr 1.5.0

## New features
Expand Down
6 changes: 3 additions & 3 deletions R/monarch_engine.R
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@
#' res <- monarch |> fetch_nodes(query_ids = c("MONDO:0007522", "MONDO:0007947"))
#' print(res)
#'
monarch_engine <- function(url = c("http://neo4j.monarchinitiative.org:7474",
"https://neo4j.monarchinitiative.org:7473",
monarch_engine <- function(url = c("https://neo4j.monarchinitiative.org",
"http://neo4j.monarchinitiative.org",
"https://neo4j.monarchinitiative.org"),
"https://neo4j.monarchinitiative.org:7473",
"http://neo4j.monarchinitiative.org:7473"),
api_url = "https://api.monarchinitiative.org/v3/api",
preferences = NULL,
timeout = 2,
Expand Down

0 comments on commit 9571a2f

Please sign in to comment.