Skip to content

Update implementation of PR-610 and add the test#612

Merged
atztogo merged 3 commits intospglib:developfrom
atztogo:test-pr-610
Nov 5, 2025
Merged

Update implementation of PR-610 and add the test#612
atztogo merged 3 commits intospglib:developfrom
atztogo:test-pr-610

Conversation

@atztogo
Copy link
Copy Markdown
Collaborator

@atztogo atztogo commented Nov 4, 2025

This PR is a simplified version of PR #610. A new test was added to validate the changes of PR #610 since I had forgotten about it. Locally, I verified that this test fails on the commit before #610.

@atztogo atztogo requested a review from lan496 November 4, 2025 08:14
@atztogo
Copy link
Copy Markdown
Collaborator Author

atztogo commented Nov 4, 2025

@lan496, I think this implementation is simpler and more intuitive than #610. But do you think this implementation is correct?

@codecov
Copy link
Copy Markdown

codecov bot commented Nov 4, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 74.51%. Comparing base (a925f83) to head (901688c).
⚠️ Report is 72 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #612      +/-   ##
===========================================
+ Coverage    74.49%   74.51%   +0.01%     
===========================================
  Files           26       26              
  Lines         7894     7895       +1     
  Branches      1634     1638       +4     
===========================================
+ Hits          5881     5883       +2     
  Misses        1534     1534              
+ Partials       479      478       -1     
Flag Coverage Δ
c_api 69.45% <100.00%> (+<0.01%) ⬆️
fortran_api 52.96% <100.00%> (+<0.01%) ⬆️
python_api 67.71% <100.00%> (+0.34%) ⬆️
unit_tests 11.68% <0.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Copy Markdown
Member

@lan496 lan496 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM for choosing clean basis vectors in getting space group types of XSG and FSG before identifying MSG. I think PR 610 did the latter

@atztogo atztogo enabled auto-merge November 5, 2025 12:32
@atztogo atztogo disabled auto-merge November 5, 2025 12:32
@atztogo atztogo merged commit a10e6e5 into spglib:develop Nov 5, 2025
46 of 48 checks passed
@atztogo atztogo deleted the test-pr-610 branch November 5, 2025 12:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants