Skip to content

Comments

Paragraph extensibility improvements#1

Open
alexpilotti wants to merge 3 commits intooxpig:mainfrom
alexpilotti:main
Open

Paragraph extensibility improvements#1
alexpilotti wants to merge 3 commits intooxpig:mainfrom
alexpilotti:main

Conversation

@alexpilotti
Copy link

@alexpilotti alexpilotti commented Jun 22, 2025

Commit 206cfa9 provides a way to extend ParagraphDataset by overriding _load_pdb_data(...). This is useful for example when loading data using a different file format or when processing the PDB data after loading it (e.g. adjusting the residue numbering). This is just a minor refactoring with no change in the default functionality.

Commit 9c4c47b adds the search_area parameter to ParagraphDataset's __init__(...) in order to set it to either IMGT_CDRplus2 or IMGT_CDR at runtime (previously this required a code change). By default the current setting is preserved (IMGT_CDRplus2).

Commit cf3e1c2 removes all trailing whitespaces in dataset.py for PEP8 compliance, useful in particular when using modern editors with automated whitespace trimming settings, avoiding unrelated changes in further commits.

@alexpilotti alexpilotti changed the title Paragraph extensibility imrpovements Paragraph extensibility improvements Jun 22, 2025
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