HDF5 parameters for chunking and cache size#1240
Open
MBartkowiakSTFC wants to merge 13 commits into
Open
Conversation
oerc0122
reviewed
Jun 10, 2026
oerc0122
left a comment
Collaborator
There was a problem hiding this comment.
Looks good, a few stylistic things and some failing tests.
| f"{self.chemical_system.name} which has " | ||
| f"{self.chemical_system.total_number_of_atoms} atoms." | ||
| ) | ||
| def clone(self) -> _PeriodicConfiguration: |
Collaborator
There was a problem hiding this comment.
These probably want to be typing_extensions.Self
| list[list[int]] | ||
| A list of atom index lists, one per molecule instance. | ||
| """ | ||
| return reduce(list.__add__, chemical_system.clusters.values(), []) |
Collaborator
There was a problem hiding this comment.
more_itertools.flatten as noted above.
Comment on lines
+207
to
+209
| grouped_indices = reduce( | ||
| list.__add__, self._chemical_system.clusters.values(), [] | ||
| ) |
Comment on lines
+116
to
+118
| grouped_indices = reduce( | ||
| list.__add__, self._chemical_system.clusters.values(), [] | ||
| ) |
|
|
||
| for widget in self._layout.children(): | ||
| if issubclass(widget, QWidget): | ||
| if isinstance(widget, QWidget): |
Collaborator
There was a problem hiding this comment.
Slightly concerning we never caught this.
564e7ba to
d38e496
Compare
Collaborator
Author
|
I am going to make minor changes to add some control over |
d38e496 to
80c7920
Compare
80c7920 to
9dde6b7
Compare
Co-authored-by: Jacob Wilkins <46597752+oerc0122@users.noreply.github.com> Signed-off-by: Maciej Bartkowiak <108934199+MBartkowiakSTFC@users.noreply.github.com>
9dde6b7 to
6c0e489
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of work
As mentioned in #1162, on certain platforms (especially using cloud storage) it may be necessary to use different chunking scheme, HDF5 drivers or HDF5 cache size. This PR is meant to let the users control the HDF5 parameters so we can try out different parameter combinations easily.
Fixes
ChemicalSystemcreation in subprocesses.ChemicalSystemfromConfigurationclasses.To test
All tests must pass.
Manual testing of CLI and GUI is recommended.