Skip to content

Commit

Permalink
fix typing annotation for qc_fail property
Browse files Browse the repository at this point in the history
  • Loading branch information
eberrigan committed Apr 23, 2024
1 parent 0dc1019 commit 05336f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sleap_roots/series.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.")
Expand Down

0 comments on commit 05336f5

Please sign in to comment.