Repository navigation
Rename clashing_tolerance to clash_tolerance; documentation fixes (0.7.0) - #87
Merged
Merged
Conversation
The tolerance is subtracted from the sum of the radii (an allowed overlap), not a minimum distance: positive values allow closer contacts and pack more atoms (see Cage._filter_clashing_atoms). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Cage.pack: clash_tolerance (same position); clashing_tolerance kept as a deprecated keyword (DeprecationWarning; ValueError if both differ) - docstrings describe it as an allowed overlap subtracted from the contact distance; tutorial gets a note on clash_tolerance and on the optimization (Cartesian product, selection by volume diameter, nthreads, log) - docs: fix detect_openings link, angles/translations wording, Cluster.save sentence, README cluster preview call, about.rst typos and citation; ARCHITECTURE.md signatures updated - declare joblib (imported directly) as a dependency - tests: new keyword, deprecation and conflict tests Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Updates the requirements on [plotly](https://github.com/plotly/plotly.py) to permit the latest version. - [Release notes](https://github.com/plotly/plotly.py/releases) - [Changelog](https://github.com/plotly/plotly.py/blob/main/CHANGELOG.md) - [Commits](plotly/plotly.py@v6.0.0...v7.1.0) --- updated-dependencies: - dependency-name: plotly dependency-version: 7.1.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> (cherry picked from commit 589f7a3)
AtomPacker is in alpha, so the rename does not need a deprecation period. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Summary
Cage.pack(clashing_tolerance=...)becomesclash_tolerance, in the same argument position. The old keyword is removed without a deprecation period, since AtomPacker is in alpha; calls using it now fail with aTypeError.Cage._filter_clashing_atomsdoes.clash_tolerance, and an explanation of the optimization (Cartesian product of angles and translations, selection by volume-based diameter,nthreads,cluster.log).detect_openingslink, the angles/translations wording and theCluster.savesentence.cage.cluster.preview().about.rst: fixed typos and updated the citation.ARCHITECTURE.md: updated the method signatures.joblibis imported directly inCage.pyand is now declared as a dependency.>=6.0.0,<7.2.0), cherry-picked from Dependabot'sdependabot/pip/plotly-gte-6.0.0-and-lt-7.2.0. Checked with plotly 7.1.0: allpreview()methods build their figures (Cage, Cavity, Openings, Cluster, combined).Tests
pytest: 42 passed (also checked with plotly 7.1.0).Notes
clashing_tolerance=and must switch toclash_tolerancebefore it can use 0.7.0.make experiments,make analyze).0.7.0. Pushing the tag does not publish anything; PyPI deployment runs when a GitHub Release is published.