Skip to content
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

Store CrystalStructure in Sample #14055

Merged
merged 3 commits into from
Oct 21, 2015

Conversation

MichaelWedel
Copy link
Contributor

This addresses #13905.

Sample now holds a CrystalStructure. I have not included it in the Nexus reading/writing of Sample yet, because it's still unclear how exactly the scatterers would be stored (ongoing discussion with Tobias Richter). However I do not think that this is urgent, because typically this information would come from a CIF-file and added to sample after loading the raw data into a workspace. This will be addressed in #11268, which is also the reason for exposing Sample::setCrystalStructure to Python - this way it's possible to use either a C++ or Python library for CIF-parsing.

Testing information
Code review. I marked it Core because Sample is present in all workspaces and it would be good to make sure nothing has been overlooked.

Michael Wedel added 2 commits October 16, 2015 13:29
It's very similar to the way OrientedLattice is handled, except a unique_ptr is used to store the object.
@MichaelWedel MichaelWedel added Framework Issues and pull requests related to components in the Framework Extra Attention Testers and Gate keepers should pay extra attention as this affects core aspects. labels Oct 20, 2015
@MichaelWedel MichaelWedel added this to the Release 3.6 milestone Oct 20, 2015
@peterfpeterson peterfpeterson self-assigned this Oct 21, 2015
@peterfpeterson peterfpeterson merged commit 4600363 into master Oct 21, 2015
@peterfpeterson peterfpeterson deleted the 13905_store_crystalstructure_in_sample branch October 21, 2015 19:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Extra Attention Testers and Gate keepers should pay extra attention as this affects core aspects. Framework Issues and pull requests related to components in the Framework
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants