Recent Releases of bioblend
bioblend - v1.5.0
What's Changed
- Dropped support for Python 3.8. Added support for Galaxy release 24.2.
- Added
limit,offsetandinclude_deletedparameters toFoldersClient.show_folder()(thanks to Matthias Bernt). - Added
offsetparameter toInvocationClient.get_invocations()and BioBlend.objectsObjInvocationClient.list()methods. - Added
quota_source_labelparameter toQuotaClient.create_quota()(thanks to Matthias Bernt). - Added
styleparameter toWorkflowClient.export_workflow_dict()method to allow exporting in gxformat2 format (thanks to Marius van den Beek). - Improvements to type annotations and documentation.
New Contributors
- @jdavcs made their first contribution in https://github.com/galaxyproject/bioblend/pull/495
Full Changelog: https://github.com/galaxyproject/bioblend/compare/v1.4.0...v1.5.0
- Python
Published by bernt-matthias 12 months ago
bioblend - v1.4.0
What's Changed
Added support for Python 3.13. Added support for Galaxy release 24.1.
Added
user_agentparameter to the__init__()method of theGalaxyClient,GalaxyInstanceandToolShedInstanceclasses (thanks to Daniel Blankenberg).Added
versionanduse_cached_jobparameters toWorkflowClient.invoke_workflow()method (reported by Bérénice Batut).Changed the default values for the
operationanddefaultparameters of theQuotaClient.update_quota()method (thanks to Matthias Bernt).Improvements to tests and documentation (thanks to Matthias Bernt).
New Contributors
- @blankenberg made their first contribution in https://github.com/galaxyproject/bioblend/pull/318
Full Changelog: https://github.com/galaxyproject/bioblend/compare/v1.3.0...v1.4.0
- Python
Published by nsoranzo over 1 year ago
bioblend - v1.3.0
What's Changed
Dropped support for Python 3.7. Added support for Python 3.12. Added support for Galaxy releases 23.2 and 24.0.
Added
copy_elementsparameter toHistoryClient.create_dataset_collection()and BioBlend.objectsHistory.create_dataset_collection()methods.Added
waitparameter toHistoryClient.delete_dataset()and BioBlend.objectsHistoryDatasetAssociation.delete()methods.Added
create_time_min,create_time_max,update_time_min,update_time_max,view,keys,limitandoffsetparameters toHistoryClient.get_histories()(thanks to cat-bro).Added
create_time_min,create_time_max,update_time_minandupdate_time_maxparameters toHistoryClient.get_published_histories()(thanks to cat-bro).Added
keysparameter toHistoryClient.show_history()(thanks to cat-bro).Dropped broken
deletedparameter ofDatasetClient.show_dataset().Parameters after
passwordin the__init__()method of theGalaxyClient,GalaxyInstanceandToolShedInstanceclasses are now keyword-only.Classes defined in
bioblend.galaxy.objects.wrappersare no more re-exported bybioblend.galaxy.objects.DatasetTimeoutExceptionandDatasetCollectionTimeoutExceptionare now aliases forTimeoutExceptioninstead of subclasses.Added support for the new "cancelling" invocation state.
Fixed
InvocationClient.get_invocation_biocompute_object()method on upcoming Galaxy 24.1 .Improvements to linting and tests (thanks to Matthias Bernt).
Full Changelog: https://github.com/galaxyproject/bioblend/compare/v1.2.0...v1.3.0
- Python
Published by nsoranzo almost 2 years ago
bioblend - v1.2.0
Dropped support for Galaxy releases 17.09-19.01. Added support for Galaxy release 23.1.
Added a new
container_resolutionattribute toGalaxyInstanceobjects, which is an instance of the newContainerResolutionClient. This new module can be used to list container resolvers, and to resolve (and install) tool requirements against specified container resolvers (thanks to cat-bro and Matthias Bernt).Added
reload_toolbox()method toConfigClient(thanks to Anthony Bretaudeau).Added
delete_unused_dependency_paths()andunused_dependency_paths()methods toToolDependenciesClient(thanks to Matthias Bernt).Added
data_manager_modeparameter toToolClient.run_tool()method (thanks to Marius van den Beek).Added
user_dataparameter toUserClient.update_user()method (thanks to Uwe Winter).Fixed bug in
DatasetClient.download_dataset()and BioBlend.objectsHistoryDatasetAssociation.get_stream()where the wrong download URL was generated if the Galaxy instance is served at a subdirectory (reported by Anil Thanki).Improvements to tests and documentation (thanks to kxk302 and Simon Bray).
- Python
Published by nsoranzo over 2 years ago
bioblend - v1.1.1
- Same as BioBlend v1.1.0, briefly released with wrong version number 1.0.1 on GitHub, PyPI and Bioconda.
- Added support for Python 3.11. Added support for Galaxy release 23.0.
- Using the deprecated
folder_idparameter of theLibraryClient.get_folders()method now raises aValueErrorexception. - Using the deprecated
library_idparameter of theLibraryClient.get_libraries()method now raises aValueErrorexception. - Using the deprecated
tool_idparameter of theToolClient.get_tools()method now raises aValueErrorexception. - Using the deprecated
workflow_idparameter of theWorkflowClient.get_workflows()method now raises aValueErrorexception. - Modified
delete_workflow()method ofWorkflowClientto returnNoneinstead of a string. - Add
py.typedmarker file to distributed packages (as per PEP 561) to declare type checking support. - Improvements to tests and documentation.
- Python
Published by nsoranzo about 3 years ago
bioblend - v1.0.0
Dropped support for deprecated CloudMan, see https://galaxyproject.org/blog/2021-10-sunsetting-cloudlaunch/
Added dependency on
typing-extensionspackage, removed dependencies onbotoandpyyaml.Deprecated
max_get_retries(),set_max_get_retries(),get_retry_delay()andset_get_retry_delay()methods ofClient.Moved
max_get_attemptsandget_retry_delayproperties fromGalaxyInstancetoGalaxyClient, so they are also available inToolshedInstance.Added
get_or_create_user_apikey()method toUserClient.Added
allparameter toHistoryClient.get_histories()method (thanks to Paprikant).Added
require_exact_tool_versionsparameter toWorkflowClient.invoke_workflow()method (thanks to cat-bro).Added
nameandownerparameters toToolShedRepositoryClient.get_repositories().Removed unused methods from
bioblend.config.Config. If needed, use the methods inherited fromconfigparser.ConfigParserinstead.Allowed any 2XX HTTP response status code in
Client._delete()to correctly support history purging via Celery (thanks to Nolan Woods).Fixed bug in
FormsClient.create_form()where theform_xml_textargument was not passed correctly to the Galaxy API.Fixed bug in
HistoryClient.show_dataset_provenance()where thefollowargument was not passed to the Galaxy API.BioBlend.objects: Added
delete()abstract method toDatasetContainerclass.Added Code of Conduct for the project.
Finished the full type annotation of the library (thanks to cat-bro, Fabio Cumbo, Jayadev Joshi, thepineapplepirate).
Improvements to tests and documentation.
- Python
Published by nsoranzo over 3 years ago
bioblend - v0.18.0
Added support for Galaxy release 22.05.
Added tus support to
ToolClient.upload_file()(thanks to Nate Coraor).Format Python code with black and isort.
Improvements to type annotations, tests and documentation.
- Python
Published by nsoranzo over 3 years ago
bioblend - v0.17.0
Dropped support for Python 3.6. Added support for Python 3.10. Added support for Galaxy releases 21.09 and 22.01.
Removed deprecated
run_workflow()method ofWorkflowClient.Using the deprecated
history_idparameter of theHistoryClient.get_histories()method now raises aValueErrorexception.Made
tool_inputs_updateparameter ofJobsClient.rerun_job()more flexible.Added
whoami()method toConfigClient(thanks to cat-bro).Added
get_extra_files()method toHistoryClient.Added
build()andreload()methods toToolClient(thanks to Jayadev Joshi and cat-bro respectively).Added
get_repositories()method toToolShedCategoryClient(thanks to cat-bro).Added
update_repository_metadata()method toToolShedRepositoryClient.Added
order_byparameter toJobsClient.get_jobs()method.BioBlend.objects: Removed deprecated
run()method ofWorkflow.BioBlend.objects: Fail if multiple libraries/histories/workflows match when deleting by name, instead of deleting them all.
BioBlend.objects: in
HistoryDatasetAssociation.get_stream(), wait for the dataset to be ready.BioBlend.objects: in
Workflow.invoke(), check that the workflow is mapped and runnable before invoking, allow theinputsparameter to be an instance of aDatasetsubclass, and allow thehistoryparameter to be the name of a new history.BioBlend.objects: Added new
datasetsanddataset_collectionsattributes toGalaxyInstanceobjects, which are instances of the newObjDatasetClientandObjDatasetCollectionClientrespectively.BioBlend.objects: Added
refresh(),get_outputs()andget_output_collections()methods toInvocationStep.Fixed error when instantiating
GalaxyInstancewithemailandpassword(reported by Peter Briggs).Fixed parameter validation errors for POST requests with attached files on upcoming Galaxy 22.05.
Code cleanups (thanks to Martmists).
Improvements to type annotations, tests and documentation.
- Python
Published by nsoranzo almost 4 years ago
bioblend - v0.16.0
Added support for Galaxy release 21.05.
Replaced the
job_infoparameter with separatetool_id,inputsandstateparameters inJobsClient.search_jobs()(thanks to rikeshi).Pass the API key for all requests as the
x-api-keyheader instead of as a parameter (thanks to rikeshi).Try prepending https:// and http:// if the scheme is missing in the
urlparameter ofGalaxyClient, i.e. when initialising a Galaxy or ToolShed instance.Added a new
dataset_collectionsattribute toGalaxyInstanceobjects, which is an instance of the newDatasetCollectionClient. This new module can be used to get details of a dataset collection, wait until elements of a dataset collection are in a terminal state, and download a history dataset collection as an archive (thanks to rikeshi).Added a new
tool_dependenciesattribute toGalaxyInstanceobjects, which is an instance of the newToolDependenciesClient. This new module can be used to summarize requirements across toolbox (thanks to cat-bro).Added
publish_dataset()update_permissions()andwait_for_dataset()methods toDatasetClient.Added
get_invocation_biocompute_object(),get_invocation_report_pdf(),get_invocation_step_jobs_summary(),rerun_invocation()andwait_for_invocation()methods toInvocationClient(thanks to rikeshi).Added
cancel_job(),get_common_problems(),get_destination_params(),get_inputs(),get_outputs(),resume_job(),show_job_lock(),update_job_lock()andwait_for_job()methods toJobsClient(thanks to Andrew Mcgregor and rikeshi).Added
get_citations()anduninstall_dependencies()methods toToolClient(thanks to rikeshi).Added
extract_workflow_from_history(),refactor_workflow()andshow_versions()methods toWorkflowClient(thanks to rikeshi).Added several parameters to
DatasetClient.get_datasets()method (thanks to rikeshi).Added several parameters to
InvocationClient.get_invocations()method (thanks to Nolan Woods and rikeshi).Added several parameters to
JobsClient.get_jobs()method (thanks to rikeshi).Added
parameters_normalizedparameter toWorkflowClient.invoke_workflow()method (thanks to rikeshi).Deprecated
folder_idparameter ofLibraryClient.get_folders()method.Deprecated
library_idparameter ofLibraryClient.get_libraries()method.Deprecated
tool_idparameter ofToolClient.get_tools()method.Deprecated
workflow_idparameter ofWorkflowClient.get_workflows()method.BioBlend.objects: Removed deprecated
container_idproperty ofDatasetandFolderobjects.BioBlend.objects: Removed
Previewabstract class.BioBlend.objects: Added
invoke()method toWorkflow. AddedObjInvocationClient, andInvocationandInvocationPreviewwrappers (thanks to rikeshi).BioBlend.objects: Added
latest_workflow_uuidproperty toWorkflowobjects. Addeddeleted,latest_workflow_uuid,number_of_steps,ownerandshow_in_tool_panelproperties toWorkflowPreview(thanks to Nolan Woods).BioBlend.objects: Deprecated
run()method ofWorkflow.Added
use_ssl,verifyandauthuserparameters toCloudManInstance.__init__()(thanks to Nathan Edwards).Improvements to type annotations, tests and documentation (thanks to rikeshi).
- Python
Published by nsoranzo over 4 years ago
bioblend - v0.15.0
Dropped support for Python 3.5. Added support for Python 3.9. Added support for Galaxy releases 20.09 and 21.01.
Changed the return value of
RolesClient.create_role()method from a 1-element list containing a dict to a dict.Removed deprecated
download_dataset()andget_current_historymethods ofHistoryClient.Removed deprecated
export_workflow_json()andimport_workflow_jsonmethods ofWorkflowClient.Added
copy_content(),get_published_histories()andopen_history()methods toHistoryClient.Added
rerun_job()method toJobsClient.Added
requirements()method toToolClient(thanks to cat-bro).Added
publishedandslugparameters toHistoryClient.get_histories().Added
require_state_okparameter toDatasetClient.download_dataset().Added
input_formatparameter toToolClient.run_tool().Deprecated
history_idparameter ofHistoryClient.get_histories()method.BioBlend.objects: Added
ownerproperty to all objects. Addedannotation,publishedandpurgedproperties toHistoryPreviewobjects.Fixed issue where specifying the Galaxy URL with "http://" instead of "https://" when creating a
GalaxyInstancemade the subsequent non-GET requests to silently fail.Moved the Continuous Integration (CI) from TravisCI to GitHub workflows (thanks to Oleg Zharkov).
Improvements to tests and documentation (thanks to Gianmauro Cuccuru).
- Python
Published by nsoranzo about 5 years ago
bioblend - v0.14.0
Dropped support for Python 2.7. Dropped support for Galaxy releases 14.10-17.05. Added support for Python 3.8. Added support for Galaxy releases 19.09, 20.01 and 20.05.
Added a new
invocationsattribute toGalaxyInstanceobjects, which is an instance of the newInvocationClientclass. This new module can be used to get all workflow invocations, show or cancel an invocation, show or pause an invocation step, get a summary or a report for an invocation (thanks to Simon Bray).Added
get_datasets()method toDatasetClient(thanks to Simon Bray).Added
import_history()method toHistoryClient(thanks to David Christiany and Marius van den Beek).Added
copy_dataset()method toHistoryClient(thanks to Simon Bray).Added
get_metrics()method toJobsClient(thanks to Andreas Skorczyk).Added
report_error()method toJobsClient(thanks to Peter Selten).Added
get_dataset_permissions()andset_dataset_permissions()methods toLibraryClient(thanks to Frederic Sapet).Added
update_user()method toUserClient(thanks to Anthony Bretaudeau).Added
update_workflow()method toWorkflowClient.Added
tagsparameter toupload_file_from_url(),upload_file_contents(),upload_file_from_local_path(),upload_file_from_server()andupload_from_galaxy_filesystem()methods ofLibraryClient(thanks to Anthony Bretaudeau).Changed the default for the
tag_using_filenamesparameter ofupload_file_from_server()andupload_from_galaxy_filesystem()methods ofLibraryClientfromTruetoFalse(thanks to Anthony Bretaudeau).Added
versionparameter toshow_workflow()andexport_workflow_dict()methods ofWorkflowClient.Added
inputs_byoption toinvoke_workflow()method ofWorkflowClient(thanks to Marius van den Beek).Removed deprecated
show_stderr()andshow_stdoutmethods ofDatasetClient.BioBlend.objects: Allowed workflow steps of type
parameter_inputandsubworkflow. Addedparameter_input_idsproperty toWorkflowobjects (reported by Nolan Woods).Fixed
HistoryClient.export_history(..., wait=False, maxwait=None)(reported by David Christiany).Moved internal
_make_url()method fromGalaxyClienttoClientclass.
- Python
Published by nsoranzo over 5 years ago
bioblend -
Dropped support for Python 3.4. Added support for Galaxy releases 19.01 and 19.05.
Updated
requests-toolbeltrequirement to>=0.5.1to prevent failing of uploads to Galaxy (reported by m93).Added
toolshedattribute toGalaxyInstanceand madetoolShedan alias to it (reported by Miriam Payá).Added
uninstall_repository_revision()method toToolShedClient(thanks to Helena Rasche, reported by Alexander Lenail).Added
maxwaitparameter toHistoryClient.export_history()andHistory.export()methods.Fixed handling of
typeparameter inHistoryClient.show_history()(thanks to Marius van den Beek).Fixed handling of
deletedparameter inLibraryClient.get_libraries()(thanks to Luke Sargent, reported by Katie).Fixed
LibraryClient.wait_for_dataset()whenmaxwaitorintervalparameters are of typefloat.Unify JSON-encoding of non-file parameters of POST requests inside
GalaxyClient.make_post_request().Improvements to tests and documentation (thanks to Helena Rasche, selten and Pablo Moreno).
- Python
Published by nsoranzo over 6 years ago
bioblend - v0.12.0
Added supported for Python 3.7. Added support for Galaxy releases 18.05 and 18.09.
Added
update_library_dataset()method toLibraryClient(thanks to Anthony Bretaudeau).Added
preserve_dirsandtag_using_filenamesparameters toupload_file_from_server()andupload_from_galaxy_filesystem()methods ofLibraryClient(thanks to Anthony Bretaudeau).Removed deprecated
wait_for_completionparameter ofDatasetClient.download_dataset()method.BioBlend.objects: added
genome_buildandmisc_infoattributes toDatasetobjects. Moveddeletedattribute fromDatasettoHistoryDatasetAssociationandLibraryDatasetDatasetAssociationobjects. Movedpurgedattribute fromDatasettoHistoryDatasetAssociationobjects.BioBlend.objects: added
update()method toLibraryDataset(thanks to Anthony Bretaudeau).Run tests with pytest instead of nose.
- Python
Published by nsoranzo about 7 years ago
bioblend - v0.11.0
Dropped supported for Python 3.3. Added support for Galaxy release 18.01.
Always wait for terminal state when downloading a dataset.
Deprecated
wait_for_completionparameter ofDatasetClient.download_dataset()method.Fixed downloading of datasets receiving a HTTP 500 status code (thanks to Eric Rasche).
Added
wait_for_dataset()method toLibraryClient.Added
verifyparameter toGalaxyInstance.__init__()method (thanks to Devon Ryan).Improvements to tests and documentation.
- Python
Published by nsoranzo almost 8 years ago
bioblend - v0.10.0
Dropped support for Python 2.6. Added support for Galaxy release 17.09.
Added
contentsparameter toFoldersClient.show_folder()method (thanks to Eric Rasche).Exposed the
verifyattribute ofGalaxyInstanceandToolShedInstanceobjects as__init__()parameter.Added
create_role()method toRolesClient(thanks to Ashok Varadharajan).Added
timeoutparameter toGalaxyClient.__init__()method.Added
publishparameter toimport_workflow_dict()andimport_workflow_from_local_path()methods ofWorkflowClient(thanks to Marco Enrico Piras).BioBlend.objects: added
publishparameter toObjWorkflowClient.import_new()method (thanks to Marco Enrico Piras).Do not check for mismatching content size when streaming a dataset to file (reported by Jorrit Boekel).
Fixed delete requests when Galaxy uses external authentication (thanks to Eric Rasche).
Fixed retrieval of the API key when a
GalaxyClientobject is initialised with email and password on Python 3 (thanks to Marius van den Beek).Documentation improvements.
- Python
Published by nsoranzo over 8 years ago
bioblend - v0.9.0
Dropped support for Galaxy releases 14.02, 14.04, 14.06 and 14.08. Added support for Python 3.5 and 3.6, and Galaxy releases 16.07, 16.10, 17.01 and 17.05.
Deprecated
import_workflow_json()andexport_workflow_json()methods ofWorkflowClientin favor ofimport_workflow_dict()andexport_workflow_dict()(reported by @manabuishii)Deprecated
show_stderr()andshow_stdout()methods ofDatasetClientin favour ofJobsClient.show_job()withfull_details=True.Added
install_dependencies()method toToolClient(thanks to Marius van den Beek).Added
reload_data_table()method toToolDataClient(thanks to Marius van den Beek).Added
create_folder(),update_folder(),get_permissions(),set_permissions()methods toFoldersClient(thanks to Eric Rasche).Added
get_version()method toConfigClient(thanks to Eric Rasche).Added
get_user_apikey()method toUserClient(thanks to Eric Rasche).Added
create_quota(),update_quota(),delete_quota()andundelete_quota()methods toQuotaClient(thanks to Eric Rasche).Added
purgeparameter toHistoryClient.delete_dataset()method.Added
f_email,f_name, andf_anyparameters toUserClient.get_users()method (thanks to Eric Rasche).Updated
WorkflowClient.import_shared_workflow()method to use the newer Galaxy API request (thanks to @DamCorreia).Fixed
HistoryClient.update_history()andHistory.update()methods whennameparameter is not specifiedAdded warning if content size differs from content-length header in
DatasetClient.download_dataset()BioBlend.objects: added
purgeparameter toHistoryDatasetAssociation.delete()method.BioBlend.objects: added
purgedattribute toDatasetobjects.BioBlend.objects: added
publishedattribute toHistoryobjects.Code refactoring, added tests and documentation improvements.
- Python
Published by nsoranzo over 8 years ago
bioblend - release-0.8.0
- Removed deprecated method
create_user()ofUserClient. - Deprecated
HistoryClient.download_dataset()in favor ofDatasetClient.download_dataset(). - Modified
update_dataset(),update_dataset_collection()andupdate_history()methods ofHistoryClientto return the details instead of the status code. - Modified
update_dataset(),update_dataset_collection()andupdate_history()methods ofHistoryClientto return the details instead of the status code. - Modified
GalaxyClient.make_put_request()to return the decoded response content. - Added
install_resolver_dependenciesparameter toToolShedClient.install_repository_revision(), applicable for Galaxy release_16.07 and later (thanks to Marius van den Beek). - Improve
DatasetClient.download_dataset()by downloading the dataset in chunks when saving to file (thanks to Jorrit Boekel). - Added
bioblend.toolshed.categories.ToolShedCategoryClient; renamedbioblend.toolshed.repositories.ToolShedClientclass tobioblend.toolshed.repositories.ToolShedRepositoryClient; renamedbioblend.toolshed.tools.ToolShedClientclass tobioblend.toolshed.tools.ToolShedToolClient. - Added
delete_user()method toUserClient. - BioBlend.objects: added
update()method toHistoryDatasetAssociation. - BioBlend.objects: added
annotationandgenome_buildattributes toHistoryDatasetAssociationobjects. - BioBlend.objects: added
update()method toHistoryDatasetAssociation. - BioBlend.objects: added ability to create and delete dataset collections (thanks to Alex MacLean).
- BioBlend.objects: added dataset collections to the outputs of
Workflow.run(). - Added ability to launch Galaxy CloudMan instances into AWS VPC.
- A number of testing tweaks, documentation improvements and minor fixes.
- Python
Published by afgane over 9 years ago