Skip to content

Commit

Permalink
Local Flake8 did not complain this one.
Browse files Browse the repository at this point in the history
Signed-off-by: M Q <[email protected]>
  • Loading branch information
MMelQin committed Jul 19, 2023
1 parent f68df06 commit fdf8606
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion monai/deploy/operators/monai_seg_inference_operator.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,8 @@ def compute_impl(self, input_image, context):
d[self._pred_dataset_key] = simple_inference()(inputs=images, network=self.model)
else:
raise ValueError(
f"Unknown inferer: {self._inferer!r}. Available options are {InfererType.SLIDING_WINDOW!r} and {InfererType.SIMPLE!r}."
f"Unknown inferer: {self._inferer!r}. Available options are "
f"{InfererType.SLIDING_WINDOW!r} and {InfererType.SIMPLE!r}."
)

d = [post_transforms(i) for i in decollate_batch(d)]
Expand Down

0 comments on commit fdf8606

Please sign in to comment.