Giter Site home page Giter Site logo

Comments (8)

CrisSherban avatar CrisSherban commented on August 23, 2024 1

As a workaround and with some inspiration from here, it could be possible to encode the whole structure as a byte 64 URL and pass it to the pdbe-molstar viewer.

from pdbe-molstar.

orangeSi avatar orangeSi commented on August 23, 2024 1

As a workaround and with some inspiration from here, it could be possible to encode the whole structure as a byte 64 URL and pass it to the pdbe-molstar viewer.

it works?

from pdbe-molstar.

orangeSi avatar orangeSi commented on August 23, 2024 1

ok, I resolved it by change to molstar.js (https://github.com/molstar) to use viewer.loadStructureFromData(pdbString, 'pdb', { dataLabel: label }); from molstar/molstar#521 @CrisSherban

from pdbe-molstar.

orangeSi avatar orangeSi commented on August 23, 2024 1

fixed it at #95

from pdbe-molstar.

CrisSherban avatar CrisSherban commented on August 23, 2024

I ended up saving first to .bcif files and loading those as it was really fast. So I haven't tried in the end, sorry.
Please let me know if you manage to try the workaround and make it work @orangeSi.

from pdbe-molstar.

orangeSi avatar orangeSi commented on August 23, 2024

first to .bcif

save first to http:/xxx.bcif ? if save to file by Virtual File System(VFS) is possiable to load by pbe-molstar.js ?

from pdbe-molstar.

orangeSi avatar orangeSi commented on August 23, 2024

my goal is load load pdb file which is uploaded by user by <input type="file" id="pdb_file" name="filename"> at #95

from pdbe-molstar.

orangeSi avatar orangeSi commented on August 23, 2024

first to .bcif

save first to http:/xxx.bcif ? if save to file by Virtual File System(VFS) is possiable to load by pbe-molstar.js ?

you mean save first to a local bcif or http:/xxx.bcif? because I want to know how to load from local file instead of remove file(example http://xx.bcif)

from pdbe-molstar.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.