Comments (3)
Agreed, I need to think about the best way to do that.
- Store the complete file, but then you cannot search or do cool stuff like with the other objects in it.
- Break the large object down into seperate parts. That already works, but you need to know now to use subobjects in the Model you return. This also allows to access subparts easily. Example. We create a DiscretizedTrajectory objects and instead of writing an array of n_traj x length you write ntraj separate objects. and then only store references. Could still be too small...
- Run the picking of frames on the cluster and only return the new frames. That should also be possible already, but you need to write a function that does that.
from adaptivemd.
Hmm. What about option 1 with additionally copying the file into the working directory on the user's machine? I assume it wouldn't be usable within the DB, but it could be loaded into the script/notebook the user is using as numpy array.
About option 2, I'm a bit sceptical because in my experience, there will be a lot of (potentially useless...) MSMs which we don't really need to store. So chopping-up everything and storing it in the DB might just artificially blow things up.
from adaptivemd.
What about option 1 with additionally copying the file into the working directory on the user's machine?
That would be no problem I guess. Good idea. It will require some thinking about the implementation, you might even not have to write it to disk.
Actually I just checked. This is really super simple...
from adaptivemd.
Related Issues (20)
- Bug with reloading a project? HOT 3
- Modeller Arguments are not passed HOT 3
- PyEmma Analysis HOT 8
- Simulation / Model / Analysis Workflow HOT 9
- MSM analysis worker HOT 1
- Some worker bug HOT 2
- PyEMMA not preserving input file order? HOT 1
- Tutorial part 1
- Tutorial part 2
- Tutorial part 3
- Complete API docs
- Tutorial part 4
- Events not working HOT 2
- mongodb available in Anaconda distribution HOT 1
- Tutorial 5 not working HOT 9
- Additional Features
- Simple test in README.md does not work HOT 2
- Python 3 compatibility
- Local unit tests
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from adaptivemd.