Coder Social home page Coder Social logo

Comments (5)

dannon avatar dannon commented on July 2, 2024

Are you sure that control is held until all datasets are completed? Or is it just until scheduling is done? (see response to your message on galaxy-dev)

While it must wait until scheduling is complete (for now), bioblend should not be waiting until all workflow jobs are complete with wait=False.

from bioblend.

bollig avatar bollig commented on July 2, 2024

I think in this case Galaxy is holding the connection open until it feels scheduling is complete. For 100+ steps, the scheduling took about 2 minutes and I let the connection remain open for another 30 minutes before raising an interrupt.

from bioblend.

simleo avatar simleo commented on July 2, 2024

Yes. Without wait the method returns after scheduling, while with wait it returns after the workflow is complete (i.e., no output dataset is in a "pending" state). The operation is actually blocking in both cases, the only difference being the amount of time it takes to return control to the caller. We should update the docs to clarify this. Thanks for reporting!

from bioblend.

simleo avatar simleo commented on July 2, 2024

Docs updated as of 3ec511c

from bioblend.

jmchilton avatar jmchilton commented on July 2, 2024

Also @bollig for what it is worth - workflow scheduling taking to long is a known problem and @dannon and I are working on different aspects of fixing that (e.g. https://bitbucket.org/galaxy/galaxy-central/pull-request/453/rfc-workflow-requests-api-only-and-a/diff). There will hopefully be relief with the next version of Galaxy (or if not the following one).

from bioblend.

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.