Skip to content

Commit

Permalink
Fix typing issue
Browse files Browse the repository at this point in the history
  • Loading branch information
nsoranzo committed Nov 11, 2021
1 parent b58ffae commit 9063176
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lib/galaxy_test/base/populators.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@
from galaxy.tool_util.client.staging import InteractorStaging
from galaxy.tool_util.cwl.util import (
download_output,
GalaxyOutput,
guess_artifact_type,
invocation_to_output,
output_to_cwl_json,
Expand Down Expand Up @@ -238,6 +239,12 @@ def __init__(self, dataset_populator, history_id):
self.dataset_populator = dataset_populator
self.history_id = history_id

@abstractmethod
def _output_name_to_object(self, output_name) -> GalaxyOutput:
"""
Convert the name of a run output to a GalaxyOutput object.
"""

def get_output_as_object(self, output_name, download_folder=None):
galaxy_output = self._output_name_to_object(output_name)

Expand Down

0 comments on commit 9063176

Please sign in to comment.