Add support for xia2.multiplex data processing in pdb_deposition - #91
Open
tdudgeon wants to merge 2 commits into
Open
Add support for xia2.multiplex data processing in pdb_deposition#91tdudgeon wants to merge 2 commits into
tdudgeon wants to merge 2 commits into
Conversation
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>
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
pdb_depositionfailed on crystals processed withxia2.multiplex: the SoakDBDataProcessingProgramvalue is free text ("xia2.multiplex <group>"), its logfile is an HTML report rather than a plain-text log, and there was no matching_softwaretemplate — normalize the program name toxia2-multiplex, add an HTML table parser for its processing stats, and add a matching xia2/DIALS software template.scrape_processing_stats.handle_file(autoproc,autoproc_staraniso,xia_3dii,xia2-multiplex), using real excerpts pulled fromdata/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 passingpython -m pdbdepo.pdb_depositionend-to-end against theRFKAT2B-x0002(nr23571-141) collator output — completes with zero errors/warnings, and the generated_struc.cifhas correct_software/_reflns/_reflns_shellvalues matching the sourcexia2.multiplex.htmlreport.black/pylintpre-commit hooks pass🤖 Generated with Claude Code