torchio icon indicating copy to clipboard operation
torchio copied to clipboard

Implement missing restore feature for RandomGhosting

Open fepegar opened this issue 1 year ago • 3 comments
trafficstars

Fixes #1196.

Description

As reported by @sravan953, the restore argument in RandomGhosting is unused. This PR addresses this issue.

Checklist

  • [x] I have read the CONTRIBUTING docs and have a developer setup (especially important are pre-commitand pytest)
  • [x] Non-breaking change (would not break existing functionality)
  • [ ] Breaking change (would cause existing functionality to change)
  • [ ] Tests added or modified to cover the changes
  • [ ] Integration tests passed locally by running pytest
  • [x] In-line docstrings updated
  • [ ] Documentation updated, tested running make html inside the docs/ folder
  • [ ] This pull request is ready to be reviewed

fepegar avatar Sep 23 '24 21:09 fepegar