Skip to content

Commit

Permalink
Merge branch 'add-se-dispatcher' of https://github.com/BiocPy/scrnaseq
Browse files Browse the repository at this point in the history
…into add-se-dispatcher
  • Loading branch information
jkanche committed May 29, 2024
2 parents 4289cce + fdc1806 commit 556c4b6
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/scrnaseq/save_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ def save_dataset(x: Any, path, metadata):
Args:
x:
An object containing single-cell data.
May be a derivative of
:py:class:`~summarizedexperiment.SummarizedExperiment.SummarizedExperiment`
May be a derivative of
:py:class:`~summarizedexperiment.SummarizedExperiment.SummarizedExperiment`
or :py:class:`~anndata.AnnData`.
path:
Expand Down Expand Up @@ -78,7 +78,9 @@ def save_dataset(x: Any, path, metadata):
# Save the dataset
scrnaseq.save_dataset(sce, cache_dir, meta)
"""
raise NotImplementedError(f"'save_dataset' is not supported for objects of class: {type(x)}")
raise NotImplementedError(
f"'save_dataset' is not supported for objects of class: {type(x)}"
)


def _save_se(x, path, metadata):
Expand Down

0 comments on commit 556c4b6

Please sign in to comment.