PDBList: move obsolete files across formats and assemblies - #5170
LarytheLord wants to merge 5 commits into
Conversation
|
CI note on the current AppVeyor failure:
I also checked AppVeyor project history and the latest Happy to rebase or adjust anything if maintainers want a specific follow-up on this branch. |
|
Follow-up pushed to address the current AppVeyor failure on this PR. AppVeyor traceback was in I added two small fixes in
Commits:
Validation from this environment:
I still can’t run full Biopython tests locally here because compiled C extensions are missing in this checkout; AppVeyor/CircleCI are the source of truth for this follow-up. |
|
Are you making heavy use of AI tools here? Have you read our contributing file or the pull request template? Also please don't try to fix multiple unrelated issues on the same PR. |
|
You are right, and thanks for the direct feedback. I have now removed the unrelated I’ve read your contributing guidance and will keep future PRs narrower and avoid bundling unrelated fixes. |
|
Added one more in-scope test-only follow-up in What it covers:
No runtime behavior changes in this commit; it only strengthens coverage for the obsolete-move logic already in this PR. |
|
Quick CI note on the AppVeyor failure:
I kept this branch scoped to |
|
Your "Quick CI note on the AppVeyor failure" (and much of the other text) feels like an AI comment. I'd have hoped a keen new contributor would have taken the next logical step to check for and perhaps cite a known issue. |
|
I dug into the AppVeyor failure ( The failing test there is:
I checked another newer PR build on Given that, this PR’s delta does not appear to be the source of the current AppVeyor red state. |
|
You’re right, I should have cited the upstream tracking references explicitly. For the AppVeyor failure ( Related fix/discussion PRs already linked from that issue: I’ll keep this PR focused on the PDBList obsolete-file move fix from #3988 and defer the vectors/AppVeyor lane to the existing #5135 track. |
b11bb26 to
f81279c
Compare
Summary
PDBList.update_pdb()obsolete-move logic to use real final filenames per format (pdb,mmCif,xml,mmtf,bundle) instead ofpdb{code}.{file_format}{pdb}.pdb*and{pdb}-assembly*.cif)update_pdb(with_assemblies=True)to callself.retrieve_assembly_file(...)(instead ofpl.retrieve_assembly_file(...))Closes #3988.
Validation
python3 -m compileall Bio/PDB/PDBList.py Tests/test_PDB_PDBList.pyNote: running the full
Tests/test_PDB_PDBList.pymodule locally in this environment requires Biopython compiled C extensions and the test harness setup; those are not available in this checkout.