about summary refs log tree commit diff
path: root/scripts/compute_phenotype_means.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/compute_phenotype_means.py')
-rw-r--r--scripts/compute_phenotype_means.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/compute_phenotype_means.py b/scripts/compute_phenotype_means.py
index ef2fabc..6d39ace 100644
--- a/scripts/compute_phenotype_means.py
+++ b/scripts/compute_phenotype_means.py
@@ -51,7 +51,7 @@ def run(args) -> int:
 
 
 T = TypeVar("T")
-def comma_separated_list(val: str, itemstype: T = str) -> tuple[T, ...]:
+def comma_separated_list(val: str, itemstype: type = str) -> tuple[T, ...]:
     """Convert val into a list of items of type 'itemstype'."""
     return tuple(itemstype(item.strip()) for item in val.split(","))