Describe the bug
Currently labels from the Image class are written in the database but not read from the record when creating a dataset.
To Reproduce
Create a database with ImageLabels populating labels in Image, create datasets with the datasets_from_data_description. The ImageLabels are not included as labels in TiledWsiDataset.
Expected behavior
For each image in the record, the ImageLabels should be included in the TiledWsiDataset. They should extend the labels from the patient (if they exist).
Describe the bug Currently labels from the Image class are written in the database but not read from the record when creating a dataset.
To Reproduce Create a database with
ImageLabels
populating labels inImage
, create datasets with thedatasets_from_data_description
. TheImageLabels
are not included as labels inTiledWsiDataset
.Expected behavior For each image in the record, the
ImageLabels
should be included in theTiledWsiDataset
. They should extend the labels from the patient (if they exist).Environment dlup version: 0.3.33 How installed: Python version: 3.10 Operating System: MacOS Ventura 13.6
Additional context None