Coder Social home page Coder Social logo

Comments (7)

joaander avatar joaander commented on August 23, 2024 1

@csadorf @bdice A future version of GSD will support reading in-memory buffers with the C implementation: glotzerlab/gsd#64

from garnett.

csadorf avatar csadorf commented on August 23, 2024

How could a user use the python-only reader if desired?

from garnett.

bdice avatar bdice commented on August 23, 2024

@csadorf Can you define a use case where that would be needed? I don't know when the Python-only reader would be desired.

from garnett.

csadorf avatar csadorf commented on August 23, 2024

The pure python module was introduced the allow reading of files that are not present on the file system, such as a binary (in memory) stream or a non-conventional file-like object such as a database stream.

In essence: the pure python module allows us to read files that have no filename.

from garnett.

bdice avatar bdice commented on August 23, 2024

@csadorf I guess that makes sense, though I am not aware of any use cases where that’s relevant except maybe a test/sample file in this package. Maybe there is a way to use GSD directly instead of copy-pasting the files into this package’s source.

from garnett.

csadorf avatar csadorf commented on August 23, 2024

The complete polyhedra zoo is stored in a MongoDB database and is in theory accessible in this manner. Especially useful if you don't have access to /nfs/ as a collaborator for instance.

That said, you can get around it by writing to a temporary file on disk of course.

from garnett.

bdice avatar bdice commented on August 23, 2024

I'm changing my mind about this and I think the issue can be closed after #157. We now have a clearer picture of our soft/hard dependencies. Both the minimal and maximal set of dependencies are tested.

from garnett.

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.