Skip to content

Commit 9cdc212

Browse files
committed
Release 1.0.0
1 parent e3774a8 commit 9cdc212

File tree

4 files changed

+22
-15
lines changed

4 files changed

+22
-15
lines changed

CHANGELOG.md

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
1-
### BioBlend v
1+
### BioBlend v1.0.0 - 2022-10-13
22

33
* Drop support for deprecated CloudMan, see
44
https://galaxyproject.org/blog/2021-10-sunsetting-cloudlaunch/
55

6+
* Added dependency on ``typing-extensions`` package, removed dependencies on
7+
``boto`` and ``pyyaml``.
8+
69
* Deprecated ``max_get_retries()``, ``set_max_get_retries()``,
710
``get_retry_delay()`` and ``set_get_retry_delay()`` methods of ``Client``.
811

@@ -12,6 +15,9 @@
1215

1316
* Added ``get_or_create_user_apikey()`` method to ``UserClient``.
1417

18+
* Added ``all`` parameter to ``HistoryClient.get_histories()`` method (thanks to
19+
[Paprikant](https://github.com/Paprikant)).
20+
1521
* Added ``require_exact_tool_versions`` parameter to
1622
``WorkflowClient.invoke_workflow()`` method (thanks to
1723
[cat-bro](https://github.com/cat-bro)).
@@ -26,8 +32,11 @@
2632
support history purging via Celery (thanks to
2733
[Nolan Woods](https://github.com/innovate-invent)).
2834

35+
* Fixed bug in ``FormsClient.create_form()`` where the ``form_xml_text``
36+
argument was not passed correctly to the Galaxy API.
37+
2938
* Fixed bug in ``HistoryClient.show_dataset_provenance()`` where the ``follow``
30-
parameter was not passed to the Galaxy API.
39+
argument was not passed to the Galaxy API.
3140

3241
* BioBlend.objects: Added ``delete()`` abstract method to ``DatasetContainer``
3342
class.
@@ -125,9 +134,9 @@
125134
* Pass the API key for all requests as the ``x-api-key`` header instead of as a
126135
parameter (thanks to [rikeshi](https://github.com/rikeshi)).
127136

128-
* Try prepending https:// and http:// if the scheme is missing in the ``url``
129-
parameter of ``GalaxyClient``, i.e. when initialising a Galaxy or ToolShed
130-
instance.
137+
* Try prepending "https://" and "http://" if the scheme is missing in the
138+
``url`` argument passed to ``GalaxyClient``, i.e. when initialising a Galaxy
139+
or ToolShed instance.
131140

132141
* Added a new ``dataset_collections`` attribute to ``GalaxyInstance`` objects,
133142
which is an instance of the new ``DatasetCollectionClient``. This new module
@@ -341,15 +350,15 @@
341350
* Added ``maxwait`` parameter to ``HistoryClient.export_history()`` and
342351
``History.export()`` methods.
343352

344-
* Fixed handling of ``type`` parameter in ``HistoryClient.show_history()``
353+
* Fixed handling of ``type`` argument in ``HistoryClient.show_history()``
345354
(thanks to [Marius van den Beek](https://github.com/mvdbeek)).
346355

347-
* Fixed handling of ``deleted`` parameter in ``LibraryClient.get_libraries()``
356+
* Fixed handling of ``deleted`` argument in ``LibraryClient.get_libraries()``
348357
(thanks to [Luke Sargent](https://github.com/luke-c-sargent), reported by
349358
[Katie](https://github.com/emartchenko)).
350359

351360
* Fixed ``LibraryClient.wait_for_dataset()`` when ``maxwait`` or ``interval``
352-
parameters are of type ``float``.
361+
arguments are of type ``float``.
353362

354363
* Unify JSON-encoding of non-file parameters of POST requests inside
355364
``GalaxyClient.make_post_request()``.
@@ -483,7 +492,7 @@
483492
Galaxy API request (thanks to @DamCorreia).
484493

485494
* Fixed ``HistoryClient.update_history()`` and ``History.update()`` methods
486-
when ``name`` parameter is not specified.
495+
when ``name`` argument is not specified.
487496

488497
* Added warning if content size differs from content-length header in
489498
``DatasetClient.download_dataset()``.
@@ -571,7 +580,7 @@
571580
* Updated CloudmanLauncher's ``launch`` method to accept ``subnet_id``
572581
parameter, for VPC support (thanks to Matthew Ralston).
573582

574-
* Properly pass extra parameters to cloud instance userdata.
583+
* Properly pass extra arguments to cloud instance userdata.
575584

576585
* Updated placement finding methods and `get_clusters_pd` method to return a
577586
dict vs. lists so error messages can be included.

bioblend/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
)
1414

1515
# Current version of the library
16-
__version__ = "0.18.0"
16+
__version__ = "1.0.0"
1717

1818
# default chunk size (in bytes) for reading remote data
1919
try:

bioblend/galaxy/histories/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -383,10 +383,9 @@ def show_matching_datasets(
383383
"""
384384
if isinstance(name_filter, str):
385385
name_filter = re.compile(name_filter + "$")
386-
history_content = self.show_history(history_id, contents=True)
387386
return [
388387
self.show_dataset(history_id, h["id"])
389-
for h in history_content
388+
for h in self.show_history(history_id, contents=True)
390389
if name_filter is None or name_filter.match(h["name"])
391390
]
392391

bioblend/galaxy/objects/wrappers.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -386,8 +386,7 @@ def sorted_step_ids(self) -> List[str]:
386386
while source_ids:
387387
head = source_ids.pop()
388388
ids.append(head)
389-
tails: Set[str] = self.dag[head] if head in self.dag else set()
390-
for tail in tails:
389+
for tail in self.dag.get(head, set()):
391390
incoming = inv_dag[tail]
392391
incoming.remove(head)
393392
if not incoming:

0 commit comments

Comments
 (0)