Skip to content

Commit

Permalink
mb sphinx fix for validator
Browse files Browse the repository at this point in the history
Signed-off-by: zethson <[email protected]>
  • Loading branch information
Zethson committed Oct 25, 2024
1 parent 7cd9b03 commit fb92d51
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pertpy/data/_perturbation_validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ def validate(self) -> bool:

except ImproperlyConfigured:
PerturbationCurator = _PerturbationValidatorUnavailable # type: ignore
# The sphinx docs currently don't have a lamin instance set up
_PerturbationValidatorUnavailable.__doc__ = PerturbationCurator.__doc__

except ImportError:
PerturbationCurator = _PerturbationValidatorUnavailable # type: ignore

0 comments on commit fb92d51

Please sign in to comment.