Skip to content

Commit

Permalink
drop typing.Any
Browse files Browse the repository at this point in the history
  • Loading branch information
casperdcl authored Jul 11, 2024
1 parent f015da8 commit dc556ce
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions petric.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
from pathlib import Path
from time import time
from traceback import print_exc
from typing import Any

import numpy as np
from skimage.metrics import mean_squared_error as mse
Expand Down Expand Up @@ -177,7 +176,7 @@ class Dataset:
additive_term: STIR.AcquisitionData
mult_factors: STIR.AcquisitionData
OSEM_image: STIR.ImageData
prior: STIR.RelativeDifferencePrior | Any
prior: STIR.RelativeDifferencePrior
kappa: STIR.ImageData
reference_image: STIR.ImageData | None = None
whole_object_mask: STIR.ImageData | None = None
Expand Down

0 comments on commit dc556ce

Please sign in to comment.