Coder Social home page Coder Social logo

Comments (3)

mdehollander avatar mdehollander commented on July 20, 2024

I looked at the url and parameters, and that seems to be fine, or not?
http://<my_galaxy_installation>/api/workflows
{"workflow_id": "ba751ee0539fff04", "ds_map": {"787": {"src": "ld", "id": "113b5e0ab7b052dd"}, "783": {"src": "ld", "id": "999d792a6e3b4811"}}, "history": "Test API run"}

Or do you need a really up to date Galaxy installation, I think ours is a few months old...

from bioblend.

nuwang avatar nuwang commented on July 20, 2024

hmm.. That's strange.. I tried running it and the output should be something like:
dict: {u'outputs': [u'cbd2f8609a07ba0f', u'1acfeac2a76d20aa', u'525257355474ea21', u'8c8f126dfd80abc7', u'86d72beb9ee5224a', u'23b0fdbdd9ba1baa', u'37414f5384a56c44', u'4e5f62759d24c949'], u'history': u'aafa12596726730d'}

The output you are getting looks more like the output from show_workflow.

Can you provide more context? e.g. The code constructing the GalaxyInstance etc.
The url doesn't look right, but then, it should have flatly refused to connect with a url like that.
In your case, you actually do get a json response back - although for a different method by the looks of it.

from bioblend.

mdehollander avatar mdehollander commented on July 20, 2024

I tried it with a new checkout of galaxy and now the API works fine! It just seems I have to update my current galaxy instance.

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.