Skip to content

Commit

Permalink
Update ehrapy/preprocessing/_sampling.py
Browse files Browse the repository at this point in the history
Co-authored-by: Lukas Heumos <lukas.heumos@posteo.net>
  • Loading branch information
eroell and Zethson authored Apr 10, 2024
1 parent 1a3b6c2 commit 8cf1690
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion ehrapy/preprocessing/_sampling.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ def sample(
>>> '30-60 years' 2509
>>> 'Over 60 years' 2509
"""

if not isinstance(adata, AnnData):
raise ValueError(f"Input data is not an AnnData object: type of {adata}, is {type(adata)}")

Expand Down

0 comments on commit 8cf1690

Please sign in to comment.