Skip to content

Commit

Permalink
added type hints for touched functions
Browse files Browse the repository at this point in the history
  • Loading branch information
sellth committed Jan 16, 2024
1 parent c78e043 commit 0652e22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions altamisa/isatab/parse_investigation.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def _parse_comment_header(val):

# Helper function to extract protocol parameters
def _split_study_protocols_parameters(
protocol_name, names, name_term_accs, name_term_srcs
protocol_name: str, names: str, name_term_accs: str, name_term_srcs: str
) -> Iterator[models.FreeTextOrTermRef]:
names = names.split(";")
name_term_accs = name_term_accs.split(";")
Expand All @@ -66,7 +66,7 @@ def _split_study_protocols_parameters(

# Helper function to extract protocol components
def _split_study_protocols_components(
protocol_name, names, types, type_term_accs, type_term_srcs
protocol_name: str, names: str, types: str, type_term_accs: str, type_term_srcs: str
) -> Iterator[models.ProtocolComponentInfo]:
names = names.split(";")
types = types.split(";")
Expand Down

0 comments on commit 0652e22

Please sign in to comment.