Skip to content

Commit

Permalink
fix __repr__
Browse files Browse the repository at this point in the history
  • Loading branch information
JPatrickPett committed Oct 13, 2024
1 parent 0c4fb79 commit 9d62cfe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions snp2cell/snp2cell_class.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ def __repr__(self) -> str:
return textwrap.dedent(
f"""
GRN: {self.grn}
original scores: {self.scores.shape if self.scores is not None else 'None'} # type: ignore
propagated scores: {self.scores_prop.shape if self.scores_prop is not None else 'None'} # type: ignore
original scores: {self.scores.shape if self.scores is not None else 'None'}
propagated scores: {self.scores_prop.shape if self.scores_prop is not None else 'None'}
score perturbations for: {list(self.scores_rand) if self.scores_rand else 'None'}
anndata: {self.adata.shape if self.adata is not None else 'None'} # type: ignore
anndata: {self.adata.shape if self.adata is not None else 'None'}
"""
)

Expand Down

0 comments on commit 9d62cfe

Please sign in to comment.