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

Write round-trip tests for structure feature encoding #79

Open
alex-hh opened this issue Nov 15, 2024 · 0 comments
Open

Write round-trip tests for structure feature encoding #79

alex-hh opened this issue Nov 15, 2024 · 0 comments

Comments

@alex-hh
Copy link
Collaborator

alex-hh commented Nov 15, 2024

Round trip tests - also do tests for size of compressed files.
def test_roundtrip_pdb(pdb_atoms_top7):
encoded = encode_biotite_atom_array(pdb_atoms_top7, encode_with_foldcomp=True)
assert_allclose(pdb_atoms_top7, decoded)

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

No branches or pull requests

1 participant