Closed thempel closed 7 years ago
Agreed, I need to think about the best way to do that.
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.
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...
I just came across a
pymongo.errors.DocumentTooLarge
error on a very small dataset, probably because I accidentally produced a huge transition matrix. We might need to solve this problem sooner or later, especially because the discrete trajectories become larger and larger with time...