Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider placing each matrix as a separate file in DSS #49

Open
hannes-ucsc opened this issue Jan 7, 2020 · 0 comments
Open

Consider placing each matrix as a separate file in DSS #49

hannes-ucsc opened this issue Jan 7, 2020 · 0 comments
Labels

Comments

@hannes-ucsc
Copy link
Collaborator

For MVP, we produce one matrix.mtx.zip for each project. That file is placed in the DSS as part of the bundle and uploaded to the project assets bucket. It contains multiple MTX matrices, not just one. While we need a single object in the assets bucket so that there is a single file to download, we do have the liberty of including multiple files in the bundle.

The overall matrix ZIP should go into projects/$uuid/matrices.zip and the individual matrices should go into projects/$uuid/bundle/$basename.mtx.zip where basename is some transformation of the original GEO file path (see #45). Either just use the basename and drop the directories from the path OR replaces slashes in the path with double underscore. A third alternative would be to leave the slashes in the path but slashes in DSS bundle manifest entries are not tested well. We would have to test that and make sure that the CLI's download functionality does the right thing as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant