Skip to content

Commit 009fe89

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 54d0fec commit 009fe89

3 files changed

Lines changed: 3 additions & 0 deletions

File tree

cell2location/distributions/NegativeBinomial.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ class NegativeBinomial(Distribution):
104104
one parameterization to another.
105105
106106
"""
107+
107108
arg_constraints = {
108109
"mu": constraints.greater_than_eq(0),
109110
"theta": constraints.greater_than_eq(0),

cell2location/distributions/transforms.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ class SoftplusTransform(Transform):
66
r"""
77
Transform via the mapping :math:`\text{Softplus}(x) = \log(1 + \exp(x))`.
88
"""
9+
910
domain = constraints.real_vector
1011
codomain = constraints.positive
1112

cell2location/plt/RotateCrop.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
r"""Class for rotating and cropping images."""
2+
23
import cv2 as cv
34
import numpy as np
45

0 commit comments

Comments
 (0)