Back to the main page.

Bug 2611 - loading dicom series on Windows machine fails

Status CLOSED FIXED
Reported 2014-06-17 09:17:00 +0200
Modified 2014-07-15 17:25:09 +0200
Product: FieldTrip
Component: external
Version: unspecified
Hardware: PC
Operating System: Windows
Importance: P5 minor
Assigned to: Robert Oostenveld
URL:
Tags:
Depends on:
Blocks:
See also:

Philipp Ruhnau - 2014-06-17 09:17:37 +0200

Dear ft developers, we recently encountered an issue with ft_read_mri on (one of the few) windows machines in our lab. The issue emerges when loading a dicom series. Within load_dicom_series the dicom folder is wrongly captured. this is caused by the integrated function getdcmdir (from line 112) there the file separator is defined as slash, which does not work for windows. an easy fix would be to add fs = filesep; and replace all '/' by fs cheers philipp


Robert Oostenveld - 2014-06-17 09:58:32 +0200

mac011> svn commit Sending load_dicom_series.m Transmitting file data . Committed revision 9632. Thanks for reporting and suggesting the fix.


Robert Oostenveld - 2014-06-17 09:59:06 +0200

oh, for reference: this was a change in the freesurfer code.


Philipp Ruhnau - 2014-06-17 10:55:06 +0200

(In reply to Robert Oostenveld from comment #2) I noticed, but after the report ;) thanks for fixing!


Robert Oostenveld - 2014-07-15 17:25:09 +0200

Closed several bugs that were recently resolved. If it is closed in error, please reopen.