Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ repos:

- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.16.2
rev: v0.16.8
hooks:
# Run the linter.
- id: ruff-check
Expand All @@ -55,7 +55,7 @@ repos:
# - id: codespell

- repo: https://github.com/PyCQA/bandit
rev: 1.7.9
rev: 1.9.4
hooks:
- id: bandit
args: ["-c", "pyproject.toml"]
Expand Down
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,9 @@ To create a `SummarizedExperiment`,
from summarizedexperiment import SummarizedExperiment

tse = SummarizedExperiment(
assays={"counts": counts}, row_data=row_data, column_data=col_data,
assays={"counts": counts},
row_data=row_data,
column_data=col_data,
metadata={"seq_platform": "Illumina NovaSeq 6000"},
)
```
Expand All @@ -93,8 +95,10 @@ from summarizedexperiment import RangedSummarizedExperiment
from genomicranges import GenomicRanges

trse = RangedSummarizedExperiment(
assays={"counts": counts}, row_data=row_data,
row_ranges=GenomicRanges.from_pandas(row_data.to_pandas()), column_data=col_data
assays={"counts": counts},
row_data=row_data,
row_ranges=GenomicRanges.from_pandas(row_data.to_pandas()),
column_data=col_data,
)
```

Expand Down
Loading