Skip to content

fix: align path resolution with PDB mirror structure#10

Merged
N283T merged 1 commit intomainfrom
fix/path-structure
Mar 7, 2026
Merged

fix: align path resolution with PDB mirror structure#10
N283T merged 1 commit intomainfrom
fix/path-structure

Conversation

@N283T
Copy link
Copy Markdown
Owner

@N283T N283T commented Mar 7, 2026

Summary

  • Remove extra data/ from pdb_next_gen path (entries/divided/... not data/entries/divided/...)
  • Remove extra prd/ join from bird path (config now points directly to prd dir)
  • Support nested directory structures in _find_cif_file for PDB mirror layout:
    • {dir}/{P}/{ATP}/ATP.cif (chem_comp)
    • {dir}/{9}/PRD_002399.cif (prd)
  • Add 2 tests for nested lookups

Test plan

  • 41 tests pass (80% coverage)
  • CI matrix

- Remove extra 'data/' segment from pdb_next_gen path
- Remove extra 'prd/' join from bird path (config points directly to prd dir)
- Support nested directory structures in _find_cif_file ({dir}/**/{name}/{name}.cif)
- Add tests for nested directory lookups
@N283T N283T merged commit 942a2d5 into main Mar 7, 2026
6 checks passed
@N283T N283T deleted the fix/path-structure branch March 7, 2026 11:50
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