-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Return mapping from createRepresentativeBlocksUsingExistingBlocks #1217
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If this PR is ready for review, I approve. If not, ignore my approval 😉
|
||
Returns | ||
------- | ||
blockCollectionByXsGroup : dict | ||
Mapping between XS IDs and the new block collections | ||
modifiedReprBlocks : dict | ||
Mapping between XS IDs and the new representative blocks | ||
origXSIDsFromNew : dict | ||
Mapping of original XS IDs to new |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we call out at a high level why it might have a new? something like
Mapping of original XS IDs to new XS ID typically due to some time of perturbation (eg: isotope temperature)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
left a docstring comment and approving.
Description
When creating new representative blocks from existing blocks, return a mapping of the original XS IDs to the new XS IDs.
This mapping was already created in the method, but it wasn't being returned.
Checklist
doc/release/0.X.rst
) are up-to-date with any bug fixes or new features.doc
folder.setup.py
.