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

Equivalent Seurat objects saved as .rds have different hashes #106

Open
falexwolf opened this issue Nov 23, 2024 · 0 comments
Open

Equivalent Seurat objects saved as .rds have different hashes #106

falexwolf opened this issue Nov 23, 2024 · 0 comments

Comments

@falexwolf
Copy link
Member

falexwolf commented Nov 23, 2024

DataFrame serialization behaves as it should.

But it seems that saveRDS() or something in Seurat mixes in a timestamp so that the hash becomes meaningless and one ends up with this messy situation upon re-running a notebook:

https://lamin.ai/laminlabs/lamindata/artifacts?filter[and][0][or][0][visibility][eq]=1&filter[and][1][or][0][is_latest][eq]=true&filter[and][2][or][0][transform.name][eq]=analysis_renal_cell_carcinoma.Rmd

image

We should look into what saveRDS() is doing and for the time being, use the key argument when creating an artifact from_path(..., key="analysis/my_dataset") instead of the description. Runs with the same key will at least put artifacts in the same version family.

Ahhh, this is messy. People won't like this. 😔

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

No branches or pull requests

1 participant