Skip to content

Commit

Permalink
Fix power operators according to new black version (psf/black#2726)
Browse files Browse the repository at this point in the history
  • Loading branch information
alessiamarcolini committed Apr 1, 2022
1 parent 8b85416 commit eff7306
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion histolab/slide.py
Expand Up @@ -135,7 +135,7 @@ def base_mpp(self) -> float:
"""
if self._use_largeimage:
if self._metadata.get("mm_x") is not None:
return self._metadata["mm_x"] * (10 ** 3)
return self._metadata["mm_x"] * (10**3)
raise ValueError(
"Unknown scan resolution! This slide is missing metadata "
"needed for calculating the scanning resolution. Without "
Expand Down

0 comments on commit eff7306

Please sign in to comment.