Skip to content

Complete the bundled space-group database#187

Merged
AndrewSazonov merged 24 commits into
developfrom
space-group-database
Jun 2, 2026
Merged

Complete the bundled space-group database#187
AndrewSazonov merged 24 commits into
developfrom
space-group-database

Conversation

@AndrewSazonov
Copy link
Copy Markdown
Member

EasyDiffraction's bundled space-group table was missing 42 common space groups entirely — including P4, P3, P6, and Pm-3 — plus many alternative monoclinic settings, so symmetry constraints and Wyckoff information silently did nothing for structures in those groups. This change rebuilds the database from curated cryspy and cctbx/sgtbx source data, covering all 230 groups, their standard settings, and every public coordinate-code alias with full symmetry information. The seed data is cross-checked against several independent references and keeps flagged rows visible for later International Tables verification. The data now ships as transparent, inspectable JSON instead of an opaque binary pickle. Existing projects load unchanged; structures in the previously-missing groups now get correct symmetry handling.

@AndrewSazonov AndrewSazonov added the [scope] enhancement Adds/improves features (major.MINOR.patch) label Jun 2, 2026
@AndrewSazonov AndrewSazonov merged commit a4366bb into develop Jun 2, 2026
21 of 22 checks passed
@codecov
Copy link
Copy Markdown

codecov Bot commented Jun 2, 2026

Codecov Report

❌ Patch coverage is 95.74468% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 86.02%. Comparing base (2d46651) to head (0f56b73).
⚠️ Report is 1 commits behind head on develop.

Files with missing lines Patch % Lines
src/easydiffraction/display/tablers/base.py 50.00% 2 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #187      +/-   ##
===========================================
+ Coverage    86.01%   86.02%   +0.01%     
===========================================
  Files          258      258              
  Lines        21631    21651      +20     
  Branches      2518     2518              
===========================================
+ Hits         18606    18626      +20     
- Misses        2071     2072       +1     
+ Partials       954      953       -1     
Flag Coverage Δ
integration 69.27% <89.36%> (+0.02%) ⬆️
unittests 79.83% <95.74%> (+0.01%) ⬆️

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

Files with missing lines Coverage Δ
...rc/easydiffraction/crystallography/space_groups.py 100.00% <100.00%> (+9.52%) ⬆️
src/easydiffraction/display/plotters/plotly.py 83.89% <100.00%> (+0.58%) ⬆️
src/easydiffraction/display/tablers/base.py 86.36% <50.00%> (-3.89%) ⬇️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[scope] enhancement Adds/improves features (major.MINOR.patch)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant