Skip to content

Add support for xia2.multiplex data processing in pdb_deposition - #91

Open
tdudgeon wants to merge 2 commits into
masterfrom
feature/xia2-multiplex-support
Open

Add support for xia2.multiplex data processing in pdb_deposition#91
tdudgeon wants to merge 2 commits into
masterfrom
feature/xia2-multiplex-support

Conversation

@tdudgeon

Copy link
Copy Markdown
Collaborator

Summary

  • pdb_deposition failed on crystals processed with xia2.multiplex: the SoakDB DataProcessingProgram value is free text ("xia2.multiplex <group>"), its logfile is an HTML report rather than a plain-text log, and there was no matching _software template — normalize the program name to xia2-multiplex, add an HTML table parser for its processing stats, and add a matching xia2/DIALS software template.
  • Add unit tests for all data-processing types dispatched by scrape_processing_stats.handle_file (autoproc, autoproc_staraniso, xia_3dii, xia2-multiplex), using real excerpts pulled from data/std_test.

Test plan

  • pytest tests/test_scrape_processing_stats.py (20 new tests, all passing)
  • pytest tests/ (excluding the slow integration test) — 79 tests passing
  • Ran python -m pdbdepo.pdb_deposition end-to-end against the RFKAT2B-x0002 (nr23571-141) collator output — completes with zero errors/warnings, and the generated _struc.cif has correct _software/_reflns/_reflns_shell values matching the source xia2.multiplex.html report.
  • black/pylint pre-commit hooks pass

🤖 Generated with Claude Code

tdudgeon and others added 2 commits July 29, 2026 13:11
The SoakDB DataProcessingProgram value for xia2.multiplex crystals is
"xia2.multiplex <group>" (free-text suffix), and its logfile is an HTML
report rather than a plain-text log, both of which caused pdb_deposition
to fail. Normalize the program name, add a matching xia2/DIALS software
template, and add an HTML table parser for the processing stats.

Also add unit tests covering all data-processing types dispatched by
scrape_processing_stats.handle_file (autoproc, autoproc_staraniso,
xia_3dii, xia2-multiplex), using real excerpts pulled from data/std_test.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant