Skip to content

Fix missing stop entry for empty atom arrays#889

Merged
padix-key merged 1 commit into
biotite-dev:mainfrom
padix-key:fix-segments
Apr 27, 2026
Merged

Fix missing stop entry for empty atom arrays#889
padix-key merged 1 commit into
biotite-dev:mainfrom
padix-key:fix-segments

Conversation

@padix-key
Copy link
Copy Markdown
Member

If get_residue_start(add_exclusive_stop=True)/get_chain_starts(add_exclusive_stop=True) is called on an empty structure, the exclusive stop at [0] is missing. This PR fixes this

@codspeed-hq
Copy link
Copy Markdown

codspeed-hq Bot commented Apr 24, 2026

Merging this PR will not alter performance

✅ 98 untouched benchmarks


Comparing padix-key:fix-segments (8900c8d) with main (fe75450)1

Open in CodSpeed

Footnotes

  1. No successful run was found on main (c782ee5) during the generation of this report, so fe75450 was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.

@padix-key padix-key merged commit 028b560 into biotite-dev:main Apr 27, 2026
31 of 32 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.

1 participant