Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix str in atoms.arrays #142

Merged
merged 8 commits into from
Sep 18, 2024
Merged

Conversation

PythonFZ
Copy link
Member

No description provided.

@PythonFZ PythonFZ linked an issue Sep 18, 2024 that may be closed by this pull request
Copy link

github-actions bot commented Sep 18, 2024

Benchmark

Write: Varying number of images

Write: Varying number of atoms

Read: Varying number of images

Read: Varying number of atoms

znh5md/utils.py Outdated
Comment on lines 36 to 37
result = np.full((len(arrays), max_n_particles), "", dtype=NUMPY_STRING_DTYPE)
for i, x in enumerate(arrays):
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

define a fill value externally somewhere in the config

Comment on lines 11 to 14
for a, b in zip(io, water_with_residuenames):
for key in b.arrays:
npt.assert_array_equal(a.arrays[key], b.arrays[key])
# test json per atom?
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this needs testing with variable length data.

@PythonFZ PythonFZ merged commit 8f600df into main Sep 18, 2024
5 checks passed
@PythonFZ PythonFZ deleted the 137-issue-with-rdkit2asepack-pdb-structures branch September 18, 2024 19:43
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.

issue with rdkit2ase.pack pdb structures
1 participant