No viewable scans: There are no scans in this session compatible with the OHIF Viewer

11 views
Skip to first unread message

Elena Baumeister

unread,
Aug 18, 2025, 9:32:39 AMAug 18
to xnat_discussion
Hello, 
I got the problem that when I upload DICOMs via a Python script using pyxnat and wanna open them with the OHIF Viewer, I got the following error message shown:  No viewable scans: There are no scans in this session compatible with the OHIF Viewer

It seems to be a problem with the pyxnat upload because when I upload them as zip folder I can also view them then. We could exclude that information get broken when uploading because when we download the uploaded DICOM it still can be viewed in an external DICOM Viewer. 

Currently, the session is organized as following:
- scans
        - folder: sequence1
                - folder: DICOM
                         - file1.dcm
                         - file2.dcm
                            ...
         - folder: sequence2
                - folder: DICOM
                         - file3.dcm
                         - file4.dcm
                            ...
    ...

What is the problem?
Thank you already in advance :)

Moore, Charlie

unread,
Aug 18, 2025, 10:35:23 AMAug 18
to xnat_di...@googlegroups.com
Hi there,

It sounds like you're uploading the data as resource files instead of going through the import API. The import API sets various metadata fields in XNAT that the OHIF viewer depends on. You can see a discussion on that particular topic in this thread: https://groups.google.com/g/xnat_discussion/c/ZD0Fv-V1Fno/m/Qnm69NqaAgAJ

Thanks,
Charlie Moore

From: xnat_di...@googlegroups.com <xnat_di...@googlegroups.com> on behalf of Elena Baumeister <elenabaum...@gmail.com>
Sent: Monday, August 18, 2025 3:20 AM
To: xnat_discussion <xnat_di...@googlegroups.com>
Subject: [XNAT Discussion] No viewable scans: There are no scans in this session compatible with the OHIF Viewer
 
--
You received this message because you are subscribed to the Google Groups "xnat_discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xnat_discussi...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/xnat_discussion/33370e5c-a3b7-47fc-a073-9562a82ef109n%40googlegroups.com.

 


The materials in this message are private and may contain Protected Healthcare Information or other information of a sensitive nature. If you are not the intended recipient, be advised that any unauthorized use, disclosure, copying or the taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this email in error, please immediately notify the sender via telephone or return mail.

Reply all
Reply to author
Forward
0 new messages