-
Notifications
You must be signed in to change notification settings - Fork 172
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
NGL won't display solvated system if loading from blob #355
Comments
Can't reproduce so far. The following way of loading from a blob works for me var url = 'https://path/to/smol.pdb'
fetch(url).then(function(response) {
return response.blob();
}).then(function(blob) {
NGL.autoLoad(blob, {ext: 'pdb'}).then(function (structure) {
var o = stage.addComponentFromObject(structure)
stage.defaultFileRepresentation(o)
})
}); |
Have you tried stage.loadFile yet? |
yes, that works fine |
uhm, I see why now. The new notebook (v5) won't allow to send big chunk of data to front-end. [I 23:30:42.996 NotebookApp] Adapting to protocol v5.1 for kernel a100ee13-f7eb-4e2a-9bbe-e400bdcfd828
[W 23:31:10.938 NotebookApp] IOPub data rate exceeded.
The notebook server will temporarily stop sending output
to the client in order to avoid crashing it.
To change this limit, set the config variable
`--NotebookApp.iopub_data_rate_limit`. |
notebook v5.0 issue. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please check here:
nglviewer/nglview#633 (comment)
The text was updated successfully, but these errors were encountered: