Skip to content

Saxs model - #50

Merged
kewh5868 merged 8 commits into
mainfrom
saxs-model
Apr 3, 2026
Merged

kewh5868 merged 8 commits into
mainfrom
saxs-model

Conversation

@kewh5868

@kewh5868 kewh5868 commented Apr 3, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Adds a new SAXS contrast workflow with supporting computation modules, UI, project-status integration, and related SAXS UX improvements across Prefit, Debye progress reporting, and project setup.
  • Expands the supporting analysis tools across cluster extraction, cluster dynamics, cluster dynamics ML, mdtrajectory, bond analysis, and PDF workflows with shared project-linked defaults, richer export metadata, and safer long-running job handling.
  • Replaces the old xyz2pdb config-driven flow with a guided analyze/estimate/test/export mapping workflow, plus updated bundled reference-library assets.
  • Adds custom Blender renderer aesthetics, brighter publication-oriented style tuning, reference-atom swatches, and supporting preview/generation tooling.
  • Refreshes documentation, navigation, installation notes, packaged asset metadata, and bundled resource registration to cover the expanded toolchain.

Validation

  • Ran targeted pytest sweeps with PYTHONPATH=src in the saxshell-py312 environment.
  • tests/test_xyz2pdb_ui.py and tests/test_xyz2pdb_mapping_workflow.py passed.
  • Known failures remain in:
    • tests/test_saxs_prefit.py
    • tests/test_saxs_ui.py
    • tests/test_clusterdynamicsml.py
    • tests/test_blenderxyz.py
    • tests/test_blender_reference_atoms.py

Closes #45
Closes #46
Closes #44
Closes #47
Closes #48

kewh5868 and others added 6 commits April 3, 2026 15:49
Add the contrast workflow, descriptors, electron-density helpers, and dedicated UI window for SAXS contrast mode.

Refresh the main SAXS project experience with improved branding, a shared compact project-status label, updated project setup handling, and stronger Debye progress reporting.

Broaden SAXS coverage with new contrast, branding, Prefit, Debye-profile, and main-window tests.
Add reusable cluster extraction presets, PDB shell-reference definitions, and downstream cluster-dynamics-ML support for richer cluster analysis workflows.

Persist project-linked frames, clusters, and energy selections across the supporting analysis tools, improve mdtrajectory export metadata and progress reporting, and block window closes while long-running jobs are active.

Broaden coverage for cluster, cluster-dynamics, cluster-dynamics-ML, mdtrajectory, bond-analysis, and PDF UI behavior.
Replace the old config-driven conversion flow with analyze, estimate, test, and export mapping stages for XYZ-to-PDB generation.

Add mapping and reference-management UI panels, conversion cancellation support, project-linked status reporting, and bundled reference-library updates for common solvent and molecule templates.

Cover the new mapping workflow with expanded XYZ-to-PDB UI and workflow tests.
Add custom aesthetic specs, brighter publication-oriented style tuning, and per-element override support for Blender structure renders.

Extend the Blender UI with reference-atom swatches, richer orientation preview behavior, and helper tooling for regenerating the bundled preview assets.

Broaden Blender renderer coverage with custom-aesthetic, reference-atom, and main-window tests.
Reorganize the user guide around the main SAXS workflow versus supporting applications, and add new pages for contrast mode, Blender rendering, and XYZ-to-PDB conversion.

Refresh the docs site assets, navigation, installation notes, and repository structure references so the expanded toolchain is easier to navigate.

Register bundled cluster presets, XYZ-to-PDB reference data, and Blender preview swatches in package metadata, and ignore the new generated scratch-file paths.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d3e1130bd1

ℹ️ 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".

kewh5868 and others added 2 commits April 3, 2026 16:13
Remove leftover unused imports and variables flagged by flake8 across the cluster, mdtrajectory, Blender, and xyz2pdb updates.

Mark intentional post-setup imports for flake8, restore the missing Sequence import in the mapping panel, and teach codespell to ignore legitimate chemistry/SVG cases via a repo ignore list and svg skip rule.

Validated with a full local pre-commit run in the saxshell-py312 environment.
@kewh5868
kewh5868 merged commit f63fa56 into main Apr 3, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant