lamindb.integrations.save_vitessce_config¶
- lamindb.integrations.save_vitessce_config(vitessce_config, description=None)¶
Validates and saves a
VitessceConfig
object.If the
VitessceConfig
object references multiple artifacts, automatically creates aCollection
and displays the “Vitessce button” next to it.Guide: Vitessce.
- Parameters:
vitessce_config (
VitessceConfig
) – AVitessceConfig
object.description (
str
|None
, default:None
) – A description for theVitessceConfig
object. Is used asname
for aCollection
in case theVitessceConfig
object references multiple artifacts.
- Return type:
Changed in version 0.76.12: Now assumes
vitessce-python >= 3.4.0
, which allows passing artifacts withinVitessceConfig
.Changed in version 0.75.1: Now displays the “Vitessce button” on the hub next to the dataset. It additionally keeps displaying it next to the configuration file.
Changed in version 0.70.2: No longer saves the dataset. It only saves the
VitessceConfig
object.