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

Uploading multiple SDFs with unique (or multiple?) molecules each. #11

Open
xbello opened this issue Jul 5, 2021 · 4 comments
Open
Assignees
Labels
enhancement New feature or request

Comments

@xbello
Copy link
Contributor

xbello commented Jul 5, 2021

Adding:

self.fields["in_sdf"].widget.attrs.update({"multiple": True})

to networkgen/forms.py allows the upload of multiple files. This has to be tuned downstream, because MapGen is only accepting one file.

We need some valid (and in the same network), and invalid (wrong SDF files, etc) files to test.

@xbello xbello self-assigned this Jul 5, 2021
@xbello xbello added the enhancement New feature or request label Jul 5, 2021
@JenkeScheen
Copy link
Collaborator

Nice work @xbello, see here for some 'correct' and 'wrong' SDF files. I made the 'wrong' SDF files by removing lines 5-10 for all the 'correct' files - I checked with pymol and structure loading does indeed fail. Not sure if I recall which ligand series this is but they are in the same network.

sdffiles.tar.gz

@xbello
Copy link
Contributor Author

xbello commented Jul 5, 2021

This is the branch for the issue.

https://github.com/GPCR-ModSim/qfepweb/tree/multifile_upload

@JenkeScheen
Copy link
Collaborator

sure, where exactly do you want me to drop the files?

@JenkeScheen
Copy link
Collaborator

never mind! You're way ahead of me :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants