XNAT auto-deletes companion files (.cdt/.ceo/.dpo) - is this expected?

10 views
Skip to first unread message

Ricky Wong

unread,
Dec 3, 2025, 7:28:13 PM (2 days ago) Dec 3
to xnat_discussion

Hi everyone,

I recently discovered some behavior in XNAT regarding file deletion and wanted to share my findings and ask if others have encountered this.

The Scenario

We store EEG data in XNAT using Curry/Neuroscan format, which consists of three companion files:

  • .cdt - main data file
  • .ceo - config
  • .dpo - display/parameter options

These files are uploaded as separate entries in a scan's resource catalog (with content and tag set as 'U').

eeg.png

When deleting a single .cdt file through the WebUI, XNAT automatically removes the associated .ceo and .dpo files as well - even though I only selected one file for deletion.

The companion files were already gone after deleting just the .cdt file.

How does XNAT determine which files are "companions"? Is it based on file extension patterns (e.g., knowing .cdt/.ceo/.dpo belong together) or content type / tag?

XNAT version: 1.9.1.2

Just wonder whether this behavior is intended in XNAT, and would like to understand it better so that I can maintain proper control over the file-handling process.

Thank y'all!


Ricky

Mohana Ramaratnam

unread,
Dec 4, 2025, 12:31:00 AM (yesterday) Dec 4
to xnat_di...@googlegroups.com
HI Ricky,

I am not able to reproduce what you are seeing. I tested against XNAT 1.9.3. I assigned the same Format/Content and Tag to the files (in this case U)

Screenshot 2025-12-04 at 10.56.39 AM.png

I deleted one file (12*.xml as well as .cdt) from EEG resource, the files left were:

Screenshot 2025-12-04 at 10.59.06 AM.png


Regards,
Mohana Ramaratnam,

 moh...@xnatworks.io
 xnatworks.io | Find us on LinkedIn


--
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/fc114ba1-1ee0-4f85-bcba-42b808b3fe89n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages