Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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
pre-commit-ci[bot] committed Dec 1, 2023
1 parent 9e34f8f commit 2ec1a75
Showing 2 changed files with 4 additions and 8 deletions.
10 changes: 4 additions & 6 deletions src/summarizedexperiment/BaseSE.py
Original file line number Diff line number Diff line change
@@ -71,8 +71,8 @@ def _validate_metadata(metadata):


class BaseSE:
"""Base class for ``SummarizedExperiment``. This class provides common
properties and methods that can be utilized across all derived classes.
"""Base class for ``SummarizedExperiment``. This class provides common properties and methods that can be utilized
across all derived classes.
This container represents genomic experiment data in the form of
``assays``, features in ``row_data``, sample data in ``col_data``,
@@ -212,8 +212,7 @@ def shape(self) -> Tuple[int, int]:

@property
def dims(self) -> Tuple[int, int]:
"""Alias to
:py:attr:`~summarizedexperiment.BaseSE.BaseSE.shape`.
"""Alias to :py:attr:`~summarizedexperiment.BaseSE.BaseSE.shape`.
Returns:
Tuple[int, int]: A tuple (m,n),
@@ -503,8 +502,7 @@ def assay_names(self, names: List[str]):
################################

def assay(self, assay: Union[int, str]) -> Any:
"""Convenience method to access an
:py:attr:`~summarizedexperiment.BaseSE.BaseSE.assays` by name or index.
"""Convenience method to access an :py:attr:`~summarizedexperiment.BaseSE.BaseSE.assays` by name or index.
Args:
assay:
2 changes: 0 additions & 2 deletions src/summarizedexperiment/types.py
Original file line number Diff line number Diff line change
@@ -2,8 +2,6 @@
from typing import List, Tuple, Union

import numpy as np
import pandas as pd
from biocframe import BiocFrame
from scipy import sparse as sp

__author__ = "jkanche"

0 comments on commit 2ec1a75

Please sign in to comment.