Please advise - Slicer wiped older dicoms/segmentations when editing other files

I am working on a project with batches of segmentations.

Batch A (prepared in October) and Batch B (prepared in November) were saved on my computer, without meaningful backup through TimeMachine or iCloud. I also have a Batch C (prepared in October) and Batch D and E (prepared in April).

I went back to Batch A and made some small edits, saving as normal. However, I realized once I did this, that Slicer had deleted the dicoms and segmentations of Batch B, as well as batch D completely off my desktop, without a trace. There are complete subfolders which went missing out of folders because they were from Batch A. They are not in my trash, nor can I find them when using applications like Data Drill. Other folders, from Batch A and C were not affected.

Furthermore, when I open Slicer, it states that there is no longer a database file in the location that it expects, and recommends to create a new one. In the folder, there are two files (ctkDICOM.sql and ctkDICOMTagCache.sql), but as I understand, these cannot recover segmentation files.

This has never happened to me before when I went back to edit older files, and I don’t understand why suddenly this happened.

Can you please help me understand a few things:

  1. Are there files completely uncoverable?
  2. Why did this happen?
  3. How can I prevent this in the future?

Thank you very much.

Slicer very rarely if ever removes any file from the user’s computer. It removes only temporary files that it created. It would never delete the ctkDICOM.sql file. Most likely the operating system deleted the files or they disappeared due to some other errors.

Maybe you saved data in temporary folders? macOS automatically wipes temporary folders after some time or when you are running low of free disk space. Do you still have the full path of the ctkDICOM.sql file that disappeared?

1 Like