The silver test reads booleans from the catalog

This commit is contained in:
Roberto Treviño
2026-11-30 23:31:53 -06:00
parent 77350b8fec
commit 1a1ea5c7a9
+1 -1
View File
@@ -32,7 +32,7 @@ FIELDS = {
"ados2": ("evaluation_date", "module", *ADOS2_SCORES), "ados2": ("evaluation_date", "module", *ADOS2_SCORES),
"eeg": ("study_date", "lab_record_id", "edf"), "eeg": ("study_date", "lab_record_id", "edf"),
} # fmt: skip } # fmt: skip
BOOLS = {"hpv", "hpv_16", "hpv_18"} BOOLS = {f for s in catalog.studies().values() for f, d in s.fields.items() if d.type == "boolean"}
NUMBERS = {"ki67_pct", "size_mm", "positive_nodes", "score", *ADOS2_SCORES} NUMBERS = {"ki67_pct", "size_mm", "positive_nodes", "score", *ADOS2_SCORES}