Repository navigation
Born approx clusters - #104
Conversation
Ignore local Claude workspace state and planned docs scratch files so repo publishes stay clean. Add repo agent guidance to keep GH_TOKEN-style secrets out of repo-local settings, logs, and tracked files.
Expand the cluster CLI, workflow, and UI so extracted frame folders and trajectory-derived frame sources can be inspected and exported through the same batch-oriented flow. Document the updated behavior and cover the new trajectory/extracted-frame paths with dedicated tests.
Add the Debye-Waller workflow, standalone analysis window, and focused tests for segmented pair summaries, saved project reloads, and PDB-only validation.
Add the standalone structure viewer, package entry point, and regression tests for mesh updates, center snapping, and viewer state preservation.
Add contiguous-frame handling, pinned geometric tracking, Born Approximation exports, contrast-preview support, and regression coverage for the expanded electron-density mapping workflow.
Add auto-snap pane behavior, project setup and histogram ordering helpers, cluster save-state controls, computed-distribution launch wiring, and the regression coverage that exercises the new UI flows.
Refresh the getting-started and user-guide material for Debye-Waller analysis, the structure viewer, X-ray toolkit, and the expanded electron-density mapping and component-build workflows.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: aa75c6c818
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| self.process_shell_level_for_cluster( | ||
| cluster, | ||
| cluster_id, | ||
| 0, | ||
| shared_shells=shared_shells, |
There was a problem hiding this comment.
Preserve level-0 shell growth for linker-only clusters
In the smart-shell path (core_includes_shell_atoms=False), level-0 shells are added only via process_shell_level_for_cluster(...), but that routine grows shells from node atoms only. If a valid atom-type setup produces clusters with linkers and no nodes, those clusters will now export with no shell atoms in Smart Solvation Shell mode, even though the legacy path included nearby shell molecules. This changes cluster composition and stoichiometry for linker-only systems, so smart mode should either seed level-0 growth from linker atoms too or avoid this path for linker-only clusters.
Useful? React with 👍 / 👎.
Summary
Validation
pre-commithooks passed across all five local commits.tests/test_debye_waller_analysis.pytests/test_structure_viewer.pytests/test_electron_density_mapping.pytests/test_saxs_ui.pyIssue Tracking
Resolves #52, #58, #59, #60, #61, #62.
Resolves #70, #71, #76, #77, #78, #80.
Resolves #84.
Follow-up before merge: open new issue number for the remaining validation work and residual visualizer layout/base-cutoff cleanup, and reference #84 in that new issue.
Partially addresses #88; the base of the visualizer can still be cut off in some layouts.
Resolves #90.
Resolves #91; the center element list is now displayed in the dropdown within the mesh settings table.
Resolves #92, #93, #97, #100, #101.