Skip to content

Bugfix: data pipeline drops chain descriptions#677

Closed
ntnn19 wants to merge 6 commits into
google-deepmind:mainfrom
ntnn19:pr1-bugfix
Closed

Bugfix: data pipeline drops chain descriptions#677
ntnn19 wants to merge 6 commits into
google-deepmind:mainfrom
ntnn19:pr1-bugfix

Conversation

@ntnn19
Copy link
Copy Markdown

@ntnn19 ntnn19 commented May 21, 2026

The bug: DataPipeline.process_protein_chain() and process_rna_chain() reconstruct chain objects without forwarding the description field, silently dropping descriptions provided in the input JSON. RnaChain.fill_missing_fields() has the same omission.

The fix: Add description=chain.description to the return statements in all three methods.

This preserves chain descriptions throughout the data pipeline and during fill_missing_fields().

AI usage disclosure: AI tools were used to assist in generating parts of the code and PR description. The resulting changes were manually reviewed, edited, and tested by the author before submission.

Augustin-Zidek added a commit that referenced this pull request May 22, 2026
* From #677 by @ntnn19. Thank you!

PiperOrigin-RevId: 919589563
Change-Id: I82c6ccf0797b87d9347fda731af00b9c0cc16cea
@Augustin-Zidek
Copy link
Copy Markdown
Collaborator

Augustin-Zidek commented May 22, 2026

Nice catch, thanks! I've pushed the fix in b712a3d, I will make sure to mention you in the release notes for the next version. (Thank you also for the responsible AI usage disclosure!)

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.

2 participants