Skip to content

Commit 3ab9dfb

Browse files
fix types
1 parent dd02f49 commit 3ab9dfb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/galaxy/tools/execute.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ def record_error(self, error):
325325
def on_text(self) -> Optional[str]:
326326
collection_info = self.collection_info
327327
if self._on_text is None and collection_info is not None:
328-
collection_hids = [str(c.hid) for c in collection_info.collections.values()]
328+
collection_hids = [c.hid for c in collection_info.collections.values()]
329329
self._on_text = on_text_for_dataset_and_collections(collection_hids=collection_hids)
330330
return self._on_text
331331

lib/galaxy/tools/execution_helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def on_text_for_names(hids: Optional[Collection[int]], prefix: str) -> str:
8484

8585

8686
def on_text_for_dataset_and_collections(
87-
dataset_hids: Optional[Collection[str]] = None, collection_hids: Optional[Collection[str]] = None
87+
dataset_hids: Optional[Collection[int]] = None, collection_hids: Optional[Collection[int]] = None
8888
) -> str:
8989
on_text_datasets = on_text_for_names(dataset_hids, "data")
9090
on_text_collection = on_text_for_names(collection_hids, "list")

0 commit comments

Comments
 (0)