Coder Social home page Coder Social logo

Comments (3)

hexylena avatar hexylena commented on July 20, 2024
  • bioblend.galaxy.folders delete_folder() that sort of thing looks like it could raise an exception when the ID doesn't start with 'F'. How do bioblend devs feel about adding exceptions to those sort of things that do validation before hitting the Galaxy server? Is that less desirable than letting Galaxy handle it?

from bioblend.

nsoranzo avatar nsoranzo commented on July 20, 2024

bioblend.galaxy.libraries upload_file_from_server() here it's specified that if folder_id is empty, then the root folder will be used. Is this true everywhere? Should this be an optional param with None as a default? What does roles do?

It is true for all library upload_*/copy_from_dataset methods. It is already an optional param with None as default. I don't know that roles do.

upload_file_from_server/upload_from_galaxy_filesystem are confusingly similar, but that's not bioblend's fault.

Indeed, the main difference is that for upload_file_from_server() files should be in library_import_dir, while for upload_from_galaxy_filesystem() they may be everywhere in the server filesystem.

bioblend.galaxy.folders delete_folder() that sort of thing looks like it could raise an exception when the ID doesn't start with 'F'. How do bioblend devs feel about adding exceptions to those sort of things that do validation before hitting the Galaxy server? Is that less desirable than letting Galaxy handle it?

No, in previous releases Galaxy was returning and accepting folder ids without the initial 'F', so if there is a specific bug we should fix it, otherwise let's leave it as it is.

from bioblend.

hexylena avatar hexylena commented on July 20, 2024

@nsoranzo Thanks for the feedback, I appreciate it.

Good to know about all of those little idiosyncracies of the galaxy API.

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.