about summary refs log tree commit diff
path: root/scripts/compute_phenotype_means.py
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2025-12-19 12:53:20 -0600
committerFrederick Muriuki Muriithi2025-12-19 12:53:20 -0600
commit56ed0f57b816b1023a97b7205268deed0a45c77e (patch)
tree29bad7b0b2ff78230d80b5c5ec76eb2822b8d84b /scripts/compute_phenotype_means.py
parentd04b7cb89b3fbaa1689f8f6525a2740eda7c3be3 (diff)
downloadgn-uploader-56ed0f57b816b1023a97b7205268deed0a45c77e.tar.gz
Fix issues caught by type-checker.
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(","))