fix: lower default minimum unit cell length in quick_index to 2.5 Å - #90
Open
vincefn wants to merge 2 commits into
Open
fix: lower default minimum unit cell length in quick_index to 2.5 Å#90vincefn wants to merge 2 commits into
vincefn wants to merge 2 commits into
Conversation
Expose length_min as a parameter of quick_index() (default 2.5 Å, previously hardcoded to 3 Å). This matches the upstream ObjCryst fix (vincefn/objcryst#80) and allows correct indexing of compact structures such as α-Fe, B, or ZRNCl. Closes #47 Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
vincefn
added a commit
that referenced
this pull request
Jul 28, 2026
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
vincefn
force-pushed
the
vincefn-solid-eureka
branch
from
July 28, 2026 10:33
63a179c to
c6ec555
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.
What problem does this PR address?
Closes #47.
quick_index()had the minimum unit cell length hardcoded to 3 Å, which prevents correct indexing of compact structures (e.g. α-Fe a≈2.87 Å, B a≈2.9 Å, ZRNCl). According to the COD there are ~430 orthorhombic structures with a between 2.5–3 Å.The same default has been fixed in the upstream ObjCryst C++ library (vincefn/objcryst#80,
mLengthMin4 Å → 2.5 Å).What should the reviewer(s) do?
Review the change and merge.
length_minparameter inquick_index()).