Comments (3)
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.
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.
@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)
- Method to cancel a job
- Add type annotations to BioBlend API HOT 2
- Rebuild docs with sphinx-apidoc
- Add an `invoke()` method to the BioBlend.objects `Workflow` class
- Fix unreliable tests
- Add tests for bioblend.toolshed
- 'GalaxyInstance' raises AttributeError when instantiated with email & password combination HOT 2
- Incorrect PyYAML version for bioblend 0.9.0 - 0.16.0 HOT 1
- Getting abosl HOT 1
- Error when trying to get ids of workflow outputs HOT 13
- partial workflow invocation HOT 9
- Drop cloudlaunch support ? HOT 4
- Add support for parameter "all" in get_histories HOT 2
- Tool search in Toolshed: number total results HOT 6
- File name displayed as Pasted Entry for file uploaded using upload_file_contents HOT 2
- Downloading a file from a shared data library HOT 3
- Extend bioblend to support the new notification API HOT 3
- Bioblend reporting workflow as failed while workflow is running or completed successfully. HOT 6
- workflows.refactor_workflows fails on subworkflows HOT 14
- Allow Session Cookies in Requests HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bioblend.