Skip to content

Commit

Permalink
fixed bug
Browse files Browse the repository at this point in the history
  • Loading branch information
sarthakpati committed Mar 30, 2024
1 parent e5127d0 commit 7dd150b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ereg/registration.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ def register(
target_image = read_image_and_cast_to_32bit_float(target_image)
moving_image = read_image_and_cast_to_32bit_float(moving_image)

if self.parameters["bias_correct"]:
if self.parameters.get("bias"):
self.logger.info("Bias correcting images.")
target_image = self._bias_correct_image(target_image)
moving_image = self._bias_correct_image(moving_image)
Expand Down

0 comments on commit 7dd150b

Please sign in to comment.