Giter Club home page Giter Club logo

Comments (9)

sky1e avatar sky1e commented on June 12, 2024

This looks like a way of turning JavaScript and Python objects and other data-types into cross-compatible text. How does this translate into a molecular file format, or will it be used in some other way?

from 3dmol.js.

dkoes avatar dkoes commented on June 12, 2024

pse is a pymol session file that includes both the molecular data and (unlike all other formats) the style information. It is output as a python pickle file. First we have to be able to unpickle the data, then we need to interpret the pymol data structures to render an identical scene.

from 3dmol.js.

sky1e avatar sky1e commented on June 12, 2024

Is there a specification for this? Could you give me a bunch of example files?

from 3dmol.js.

sky1e avatar sky1e commented on June 12, 2024

I did a quick search for a specification and couldn't find anything. I think I will just have to analyze the contents of a bunch of files.

from 3dmol.js.

dkoes avatar dkoes commented on June 12, 2024

Here's another pickle library
https://github.com/jlaine/node-jpickle

from 3dmol.js.

helblazer811 avatar helblazer811 commented on June 12, 2024

As a starting point for this would i just go into the parsers.js file and create a parsers.pse function?

from 3dmol.js.

dkoes avatar dkoes commented on June 12, 2024

Yes

from 3dmol.js.

dkoes avatar dkoes commented on June 12, 2024

Well actually, first you need to reverse engineer the file format

from 3dmol.js.

helblazer811 avatar helblazer811 commented on June 12, 2024

Can i have an example of a file that would be presented to the program. I know that they are pickled files, but what would they contain objects, dictionaries, arrays ?

from 3dmol.js.

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.