From 660bc9d2271802a4b440e2a31b04417bd514a059 Mon Sep 17 00:00:00 2001 From: Dan Lu <90745557+danlu1@users.noreply.github.com> Date: Mon, 22 Apr 2024 19:17:16 -0700 Subject: [PATCH] Update clinical.py --- genie_registry/clinical.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/genie_registry/clinical.py b/genie_registry/clinical.py index e6fee309..80b68c90 100644 --- a/genie_registry/clinical.py +++ b/genie_registry/clinical.py @@ -186,7 +186,7 @@ def _check_year_death_validity(clinicaldf: pd.DataFrame) -> str: Error message if YEAR_DEATH if invalid """ error = "" - # generate temp dataframe to handle datatype mismatch in a column + # Generate temp dataframe to handle datatype mismatch in a column temp = clinicaldf.copy() # Convert YEAR_DEATH and YEAR_CONTACT to numeric, coercing errors to NaN temp["YEAR_DEATH"] = pd.to_numeric(temp["YEAR_DEATH"], errors="coerce")