Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed May 29, 2024
1 parent c45483a commit fdc1806
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 fdc1806

Please sign in to comment.