Skip to content

Commit

Permalink
fix typing
Browse files Browse the repository at this point in the history
  • Loading branch information
mirpedrol committed Jan 29, 2025
1 parent 38e7784 commit 3edcecc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nf_core/components/components_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ def get_biotools_id(data: dict, tool_name: str) -> str:

def get_channel_info_from_biotools(
data: dict, tool_name: str
) -> Optional[tuple[dict[str, Tuple[List[str], str]], dict[str, Tuple[List[str], str]]]]:
) -> Optional[tuple[dict[str, tuple[list[str], str]], dict[str, tuple[list[str], str]]]]:
"""
Try to find input and output channels and the respective EDAM ontology terms
Expand All @@ -211,8 +211,8 @@ def get_channel_info_from_biotools(
inputs = {}
outputs = {}

def _iterate_input_output(type) -> dict[str, Tuple[List[str], str]]:
type_info: dict[str, Tuple[List[str], str]] = {}
def _iterate_input_output(type) -> dict[str, tuple[list[str], str]]:
type_info: dict[str, tuple[list[str], str]] = {}
if type in funct:
for element in funct[type]:
if "data" in element:
Expand Down

0 comments on commit 3edcecc

Please sign in to comment.