Open eroell opened 3 weeks ago
This is not an ideal way of checking whether the adata has been encoded:
https://github.com/theislab/ehrapy/blob/3260f8f72bd8ab8ba39540e11b938250a846efd1/ehrapy/anndata/anndata_ext.py#L325
as we do not guarantee that ep.pp.encode will enforce this typing of the array.
ep.pp.encode
Think about whether to
The latter option might be more clean, and could be considered a subissue of consistent use with infer feature type and
Description of feature
This is not an ideal way of checking whether the adata has been encoded:
https://github.com/theislab/ehrapy/blob/3260f8f72bd8ab8ba39540e11b938250a846efd1/ehrapy/anndata/anndata_ext.py#L325
as we do not guarantee that
ep.pp.encode
will enforce this typing of the array.Think about whether to
The latter option might be more clean, and could be considered a subissue of consistent use with infer feature type and