Git Product home page Git Product logo

Comments (3)

oneilsh avatar oneilsh commented on September 26, 2024 1

Closing, these are addressed in the new 1.0 release; fetch_nodes() now handles fetching by query ID and by bulk node properties, whereas monarch_search() uses the monarch search API, and properly handles limit > 500 case.

from monarchr.

oneilsh avatar oneilsh commented on September 26, 2024

This appears to be caused by the Monarch API's search endpoint, which returns a 500 when the limit > 500 (tried over at https://api-v3.monarchinitiative.org/v3/docs#/search/search_v3_api_search_get).

I'm not sure if it's feasible to get that bumped but we should at least handle it gracefully in the package :)

Regarding bulk "grab all nodes of category X" kinds of queries, that seems like something we can better handle with the graph engine/neo4j than the keyword search (I've also not tried NULL for the query on that one, hadn't thought of that use case!)

from monarchr.

bschilder avatar bschilder commented on September 26, 2024

This appears to be caused by the Monarch API's search endpoint, which returns a 500 when the limit > 500 (tried over at https://api-v3.monarchinitiative.org/v3/docs#/search/search_v3_api_search_get).

I'm not sure if it's feasible to get that bumped but we should at least handle it gracefully in the package :)

Makes sense, I figured it was something like that.

Regarding bulk "grab all nodes of category X" kinds of queries, that seems like something we can better handle with the graph engine/neo4j than the keyword search (I've also not tried NULL for the query on that one, hadn't thought of that use case!)

Totally agree, using the KG for bulk queries would be super helpful here.

from monarchr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.