From 05336f5b7652e4b96581f9a611ab6cc723fa58fc Mon Sep 17 00:00:00 2001 From: eberrigan Date: Mon, 22 Apr 2024 18:32:40 -0700 Subject: [PATCH] fix typing annotation for qc_fail property --- sleap_roots/series.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sleap_roots/series.py b/sleap_roots/series.py index 86d153a..5b9e4d6 100644 --- a/sleap_roots/series.py +++ b/sleap_roots/series.py @@ -163,7 +163,7 @@ def group(self) -> str: return np.nan @property - def qc_fail(self) -> bool: + def qc_fail(self) -> Union[int, float]: """Flag to indicate if the series failed QC from the CSV.""" if not self.csv_path or not Path(self.csv_path).exists(): print("CSV path is not set or the file does not exist.")