Skip to content

SAPYB for block data container can take None - #2008

Merged
MargaretDuff merged 6 commits into
masterfrom
sapyb-for-blockdatacontainer
Jan 10, 2025
Merged

SAPYB for block data container can take None #2008
MargaretDuff merged 6 commits into
masterfrom
sapyb-for-blockdatacontainer

Conversation

@MargaretDuff

@MargaretDuff MargaretDuff commented Dec 11, 2024

Copy link
Copy Markdown
Member

Changes

Allow SAPYB for the block container to take out=None by creating an out, if needed, the same shape as the container y.
SAPYB for the block container now also always returns

Testing you performed

Please add any demo scripts to https://github.com/TomographicImaging/CIL-Demos/tree/main/misc

Related issues/links

Closes #1997

Checklist

  • I have performed a self-review of my code
  • I have added docstrings in line with the guidance in the developer guide
  • I have updated the relevant documentation
  • I have implemented unit tests that cover any new or modified functionality
  • CHANGELOG.md has been updated with any functionality change
  • Request review from all relevant developers
  • Change pull request label to 'Waiting for review'

Contribution Notes

Please read and adhere to the developer guide and local patterns and conventions.

  • The content of this Pull Request (the Contribution) is intentionally submitted for inclusion in CIL (the Work) under the terms and conditions of the Apache-2.0 License
  • I confirm that the contribution does not violate any intellectual property rights of third parties

@MargaretDuff MargaretDuff self-assigned this Dec 11, 2024
@MargaretDuff MargaretDuff linked an issue Dec 11, 2024 that may be closed by this pull request
@MargaretDuff

Copy link
Copy Markdown
Member Author

Need to update the docstrings and add to new format

Comment thread Wrappers/Python/cil/framework/block.py Outdated
@MargaretDuff
MargaretDuff merged commit b2f1c62 into master Jan 10, 2025
@MargaretDuff
MargaretDuff deleted the sapyb-for-blockdatacontainer branch January 10, 2025 08:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SAPYB for BlockDataContainer

4 participants