Repository navigation
Conversation
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LKxc9GKLwnyeV2jaZBxH9N
Merging this PR will regress 8 benchmarks2 warnings
Warning Please fix the performance issues or acknowledge them on CodSpeed. Performance Changes
Tip Investigate this regression by commenting Comparing Footnotes
|
padix-key
left a comment
There was a problem hiding this comment.
Thanks, the fix looks good, I'd only remove the test.
| from tests.util import data_dir | ||
|
|
||
|
|
||
| @pytest.mark.parametrize("counts", [(2, 1), (1, 2), (2, 3), (3, 2), (2, 2, 1)]) |
There was a problem hiding this comment.
As the fix is a simple one-liner I, do not think enforcing this behavior warrants a new test.
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LKxc9GKLwnyeV2jaZBxH9N
|
Thanks! I've done this. |
GROFile.get_structure()can copy one atom's coordinates into every atom of a frame when models have different atom counts.A file with two atoms in its first model and one in its second reproduces the coordinate duplication when read as a stack.
The patch rejects a stack whenever any model's atom count differs from the first, while allowing each model to be read explicitly.
Regression tests cover five atom-count combinations and compare each explicitly selected model with the coordinates stored in the file.
🤖 Generated with Claude Code
https://claude.ai/code/session_01LKxc9GKLwnyeV2jaZBxH9N