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 Apr 29, 2024
1 parent 6dbfd4d commit ba9d324
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions cell2location/distributions/NegativeBinomial.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ class NegativeBinomial(Distribution):
one parameterization to another.
"""

arg_constraints = {
"mu": constraints.greater_than_eq(0),
"theta": constraints.greater_than_eq(0),
Expand Down
1 change: 1 addition & 0 deletions cell2location/distributions/transforms.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ class SoftplusTransform(Transform):
r"""
Transform via the mapping :math:`\text{Softplus}(x) = \log(1 + \exp(x))`.
"""

domain = constraints.real_vector
codomain = constraints.positive

Expand Down
1 change: 1 addition & 0 deletions cell2location/plt/RotateCrop.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
r"""Class for rotating and cropping images."""

import cv2 as cv
import numpy as np

Expand Down

0 comments on commit ba9d324

Please sign in to comment.