Page MenuHomePhabricator

DICOM Seg writing is broken due to changes in DICOMSEGIOMimeType
Open, Unbreak Now!Public

Description

As far as I can see, the changes in this commit rMITKa3157e41952094c309ae12b67fc8ea672a2abfc3 have broken the write features of DICOM seg.

Reason ist that the fix for bug T18572: The AppliesTo function of MimeTypes is called when writing does not work any more. The introduced code now tries to make file operations and read from a file which cannot work in write operations as the file does not exist.

@nolden How did you managed to write segmentation. Currently it should not be possible with the normal IO functionality? Or did you used an older version?
@neher Why do you have introduced these lines what do you try to achive? We have to finde a better solution.
@gaoh Thats the cause of your problems in {T26820} I will patch it away in that branch for you to work on. But we have to clarify that before merging T26820 into master,

Event Timeline

floca triaged this task as Unbreak Now! priority.Dec 6 2019, 6:07 PM
floca created this task.
floca added a comment.Dec 6 2019, 6:18 PM

rMITK060c74e0e13601d6ccd7653122ce65e2e7fae181 is a proposed fix for the problem.
@neher Do you see any problems?

floca updated the task description. (Show Details)Dec 20 2019, 9:18 PM
neher added a comment.Tue, Jan 7, 8:50 AM

Looks good. Don't see a problem.

kislinsk edited projects, added MITK (2018-04-4); removed MITK.Thu, Jan 9, 2:52 PM