Skip to content

Abbreviate printed AtomArray and AtomArrayStack - #835

Merged
padix-key merged 1 commit into
biotite-dev:mainfrom
padix-key:print-options
Oct 21, 2025
Merged

Abbreviate printed AtomArray and AtomArrayStack#835
padix-key merged 1 commit into
biotite-dev:mainfrom
padix-key:print-options

Conversation

@padix-key

Copy link
Copy Markdown
Member

This PR by default wraps str() and repr() representations of AtomArray and AtomArrayStack, to avoid long run times when printing large structures (especially in tests).
The default maximum number of models and atoms can be overridden with set_print_limits().

@codspeed-hq

codspeed-hq Bot commented Oct 14, 2025

Copy link
Copy Markdown

CodSpeed Performance Report

Merging #835 will not alter performance

Comparing padix-key:print-options (bc103c8) with main (89e450e)

Summary

✅ 59 untouched

@padix-key
padix-key merged commit 6aeebd5 into biotite-dev:main Oct 21, 2025
54 of 55 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