Andrew Waterhouse
Andrew Waterhouse
Hi, I got it .... [ ['mol-util/bit-flags.ts::start', 1664292173930], ['mol-util/bit-flags.ts::end', 1664292173930], ['mol-util/string-builder.ts::start', 1664292173930], ['mol-util/string-builder.ts::end', 1664292173930], ['mol-util/now.ts::start', 1664292173930], ['mol-util/now.ts::end', 1664292173930], ['mol-util/uuid.ts::start', 1664292173930], ['mol-util/uuid.ts::end', 1664292173930], ['mol-util/mask.ts::start', 1664292173930], ['mol-util/mask.ts::end', 1664292173930], ['mol-util/id-factory.ts::start', 1664292173930], ['mol-util/id-factory.ts::end', 1664292173930],...
Hi David, I don’t know enough about Molstar yet, but I can say (as you already did) that the app is created in milliseconds. In the following then of the...
I narrowed it down to this line: https://github.com/molstar/molstar/blob/2f86f5d758e4561b8a2319d199624ed5dd2417c3/src/mol-util/assets.ts#L106 Further still [const req = await readData(ctx, 'Downloading...', xhttp);](https://github.com/molstar/molstar/blob/2f86f5d758e4561b8a2319d199624ed5dd2417c3/src/mol-util/data-source.ts#L280) The thing is , it is incredibly slow the first time (>1minute), but...
I was able to remove the mp4-export and turn on gzip compression for the server - bringing it down to 0.7MB as you say. Further size reduction is possible if...
Hi Alex, I had a little time to look further into this, but sadly the webgl1 trick made little difference. I found that in webgl.extensions.ts the errors Could not find...
iPad test - the first empty init was 22ms - 25ms; The second viewer init was 113ms - 223ms. (If I roll back to molstar we were previously using, it...
The latest master branch, I don’t know a version beyond that. We had not updated the viewer since December 2020. We want to use the latest code because it has...
Hello David, I’ve been away a few days, and I came back to this now, but I am sorry, I am not able to debug Molstar so easily. I set...
Hello, yes PV can draw and colour tubes / spheres from any points you determine. Most likely you want to select the CA atom of the two residues you need?...
`const viewer = pv.Viewer(document.getElementById('pv'), { width: window.innerWidth, height: window.innerHeight }); pv.io.fetchPdb('3tdb.pdb', function (structure) { // This identifies secondary structure, // for cartoon representation mol.assignHelixSheet(structure); viewer.cartoon('structure', structure); let s67_atom, p133_atom; structure.select({cname:...