Fix arithmetic crystal class for -6m2P and -62mP#367
Merged
lan496 merged 1 commit intospglib:developfrom Dec 4, 2023
Merged
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #367 +/- ##
========================================
Coverage 83.68% 83.68%
========================================
Files 24 24
Lines 8144 8144
========================================
Hits 6815 6815
Misses 1329 1329
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Member
Author
|
@atztogo Can you review this PR when you have time? |
atztogo
approved these changes
Dec 3, 2023
Collaborator
atztogo
left a comment
There was a problem hiding this comment.
I forgotten to approve this. Please always call me in this way any number of times.
1fbdacc to
9392fe5
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Arithmetic crystal classes for P-6m2 (No. 187), P-6c2 (No. 188), P-62m (No. 199), and P-62c (No. 190) seem to be opposite.
char arithmetic_crystal_class_symbols[74][7]inarithmetic.clooks to follow the order in IUCr's dictionary.Then, arithmetic number 56 is -62mP, and 57 is -6m2P.
Thus, the arithmetic crystal class for P-6m2 (No. 187) is -6m2P (57) not -62mP (56).
After this PR, these arithmetic crystal classes for 187-190 are fixed as follows:
Actually, I think the order of arithmetic crystal classes for -62mP and -6m2P is strange: other cases like -42mP and -4m2P are ordered the same as space group types.