Skip to content

feat: add disorder-aware CIF export demo#96

Open
SchrodingersCattt wants to merge 3 commits into
ccdc-opensource:mainfrom
SchrodingersCattt:add-disorder-workflow-demo
Open

feat: add disorder-aware CIF export demo#96
SchrodingersCattt wants to merge 3 commits into
ccdc-opensource:mainfrom
SchrodingersCattt:add-disorder-workflow-demo

Conversation

@SchrodingersCattt

Copy link
Copy Markdown

Summary

  • add a demo script showing how to export disordered CSD entries with occupancy, disorder assembly/group, ADP, and bond data preserved in a manually assembled CIF
  • add a companion README with usage and licensing notes

Why

The existing examples do not show how to retrieve full atom-site occupancy/disorder metadata from the CSD Python API and reconstruct a CIF with explicit disorder tags for downstream workflows


This example was adapted from a broader open-source workflow developed in MolCrysKit. That project uses the same occupancy/disorder extraction step for downstream disorder-resolution workflows, and I thought a minimal standalone example could also be helpful in this repository.

@SchrodingersCattt SchrodingersCattt changed the title Add disorder-aware CIF export demo feat: add disorder-aware CIF export demo Jun 29, 2026
- Validate refcode with strict alphanumeric regex before use as filename
- Validate output-dir: reject path traversal (..), enforce cwd-relative
- Break taint chain: CLI args no longer flow directly to filesystem ops
@sonarqubecloud

Copy link
Copy Markdown

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants