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

Validate uploaded PDB files in browser #159

Open
sverhoeven opened this issue Oct 8, 2024 · 0 comments
Open

Validate uploaded PDB files in browser #159

sverhoeven opened this issue Oct 8, 2024 · 0 comments

Comments

@sverhoeven
Copy link
Member

Is your feature request related to a problem? Please describe.
Currently you can upload a PDB file and the only check is that it has a .pdb. extension.
If an invalid PDB file is uploaded the 3D viewer has an empty canvas and no chains or residues can be selected.

Describe the solution you'd like
It would be nice to run some validation and give a nice error when invalid.
This would need a pdb parser like the one shipped in NGL.
Can not use https://github.com/i-VRESSE/pdbtbx-ts as it is to strict.

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