Skip to content

index and id were swapped in translation from GEMMI API.#131

Merged
agrossfield merged 1 commit into
GrossfieldLab:mainfrom
lgsmith:fix-cif
May 14, 2026
Merged

index and id were swapped in translation from GEMMI API.#131
agrossfield merged 1 commit into
GrossfieldLab:mainfrom
lgsmith:fix-cif

Conversation

@lgsmith

@lgsmith lgsmith commented May 13, 2026

Copy link
Copy Markdown
Contributor

name: fix CIF parsing from GEMMI api
about: Very simple issue; the meaning of atom_index and atom.serial was swapped from the GEMMI to loos.
title: 'fix-cif'
labels: 'bug'
assignees: ''

Fixes # CIF reading

Changes proposed in this pull request

Bind atom_index to pAtom->index and atom.serial to pAtom->id in creating an AG from a GEMMI mmcif atom.

@agrossfield agrossfield merged commit d9fad7a into GrossfieldLab:main May 14, 2026
2 checks passed
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