Skip to content

OMERO import of directory with DICOMDIR behaves unexpectedly #4386

@melissalinkert

Description

@melissalinkert

A directory import of https://downloads.openmicroscopy.org/images/DICOM/wsi/2023-04-28/PARNED-0BNNF4_B2_Q30/ results in two Images, where only one is expected.

$ omero import -f PARNED-0BNNF4_B2_Q30/
...
2025-11-06 17:04:22,124 8453       [      main] INFO      ome.formats.importer.ImportCandidates - 8 file(s) parsed into 2 group(s) with 2 call(s) to setId in 7686ms. (7690ms total) [0 unknowns]
#======================================
# Group: /mnt/bioformats_test_data/automated-tests/curated/dicom/public/wsi/2023-04-28/PARNED-0BNNF4_B2_Q30/DCM_1 SPW: false Reader: loci.formats.in.DicomReader
/mnt/bioformats_test_data/automated-tests/curated/dicom/public/wsi/2023-04-28/PARNED-0BNNF4_B2_Q30/DCM_1
/mnt/bioformats_test_data/automated-tests/curated/dicom/public/wsi/2023-04-28/PARNED-0BNNF4_B2_Q30/DCM_0
/mnt/bioformats_test_data/automated-tests/curated/dicom/public/wsi/2023-04-28/PARNED-0BNNF4_B2_Q30/DCM_2
/mnt/bioformats_test_data/automated-tests/curated/dicom/public/wsi/2023-04-28/PARNED-0BNNF4_B2_Q30/DCM_3
/mnt/bioformats_test_data/automated-tests/curated/dicom/public/wsi/2023-04-28/PARNED-0BNNF4_B2_Q30/DCM_4
/mnt/bioformats_test_data/automated-tests/curated/dicom/public/wsi/2023-04-28/PARNED-0BNNF4_B2_Q30/DCM_6
/mnt/bioformats_test_data/automated-tests/curated/dicom/public/wsi/2023-04-28/PARNED-0BNNF4_B2_Q30/DCM_5
#======================================
# Group: /mnt/bioformats_test_data/automated-tests/curated/dicom/public/wsi/2023-04-28/PARNED-0BNNF4_B2_Q30/DICOMDIR SPW: false Reader: loci.formats.in.DicomReader
/mnt/bioformats_test_data/automated-tests/curated/dicom/public/wsi/2023-04-28/PARNED-0BNNF4_B2_Q30/DICOMDIR
/mnt/bioformats_test_data/automated-tests/curated/dicom/public/wsi/2023-04-28/PARNED-0BNNF4_B2_Q30/DCM_0
/mnt/bioformats_test_data/automated-tests/curated/dicom/public/wsi/2023-04-28/PARNED-0BNNF4_B2_Q30/DCM_2
/mnt/bioformats_test_data/automated-tests/curated/dicom/public/wsi/2023-04-28/PARNED-0BNNF4_B2_Q30/DCM_3
/mnt/bioformats_test_data/automated-tests/curated/dicom/public/wsi/2023-04-28/PARNED-0BNNF4_B2_Q30/DCM_4
/mnt/bioformats_test_data/automated-tests/curated/dicom/public/wsi/2023-04-28/PARNED-0BNNF4_B2_Q30/DCM_1
/mnt/bioformats_test_data/automated-tests/curated/dicom/public/wsi/2023-04-28/PARNED-0BNNF4_B2_Q30/DCM_6
/mnt/bioformats_test_data/automated-tests/curated/dicom/public/wsi/2023-04-28/PARNED-0BNNF4_B2_Q30/DCM_5

Only the second group of files is expected, since that is the minimum number of groups to cover all files in the directory. Suspect this is something to do with how DICOMDIR files are treated in DicomReader, but this requires more investigation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions