single-cell-data / TileDB-SOMA

Python and R SOMA APIs using TileDB’s cloud-native format. Ideal for single-cell data at any scale.
https://tiledbsoma.readthedocs.io
MIT License
90 stars 25 forks source link

[python/r] Adding/checking `dataset_type=soma` in SOMA Experiment metadata #2885

Open johnkerl opened 2 months ago

johnkerl commented 2 months ago

As on #2884 :

Note: this metadata used in the TileDB Cloud UI. We should write it regardless of storage-URI type, since users can ingest directly to Cloud, or, ingest to S3 and then register.

mojaveazure commented 2 months ago

As seen at https://github.com/single-cell-data/TileDB-SOMA/blob/1.13.0/apis/r/R/SOMACollectionBase.R#L41; this is only happening for SOMAExperiment objects in R, not all collections

johnkerl commented 2 months ago

LOL @mojaveazure I grepped and missed the if on the line above -- sorry for that! :)

Anyway I'll update the description