Open Buglakova opened 9 months ago
The registration procedure from my raw data to something registered with the volume in the platy browser is still work in progress, so I wonder if there's a way to update the source data without deleting and creating the source again?
If you know what you're doing you can just replace the corresponding image data or tabular data. You can read the corresponding information about a source from the metadata like this:
from mobie.metadata import read_dataset_metadata
dataset_folder = "/path/to/mobie/project/dataset"
ds_metadata = read_dataset_metadata(dataset_folder)
source_metadata = ["source_name"]
This will contain all info stored within MoBIE about the source (that is not part of the actual data), including the (relative) path to where the data is stored.
You could then replace the data directly instead of removing and adding the source again.
NOTE: if you do this for image data you need to take care to update all resolution levels.
Hello,
I would like to add a few new volumes and spot sets to the platy browser. The registration procedure from my raw data to something registered with the volume in the platy browser is still work in progress, so I wonder if there's a way to update the source data without deleting and creating the source again?