Dear Guillaume and Dorian,
thank you so much for your support! I just want to mention that the fixed
version was not part of the update files I downloaded last week.
Furthermore I appologize for addressing an old issue but I was not able to
find that topic when searching the archives (what I carefully did before
mailing).
All the best,
Peter
On Thu, 9 Jul 2009 12:20:11 +0100, Guillaume Flandin
<[log in to unmask]> wrote:
>Dear Dorian and Peter,
>
>sorry, you're right, this was fixed in SPM8 two weeks ago. The latest
>version of cfg_getfile.m (in spm8/matlabbatch) is attached to this email.
>
>Best regards,
>Guillaume.
>
>
>Dorian P. wrote:
>> Hi all,
>>
>> As far as I remember this is an old issue. The filter used in
>> *getfile.m function removes all the files with (or without) the ",1"
>> ending.
>> Darren Gitelman gave me the following hint to fix the problem and it
>> worked. If there are other *getfile.m functions like the original they
>> may be also problematic:
>>
>> ###################################################
>> Regarding the fiile selector, I think the bug you are referring to is
>> waiting on the next update but if you want to fix it yourself here is
>> what you need to do.
>>
>> Change line 1325 in cfg_getfile.m (in the matlabbatch directory) to
>>
>> case {'image'}, code = 1; ext =
>> {'.*\.nii(,\d+)?$','.*\.img(,\d+)?$','.*\.NII(,\d+)?$','.*\.IMG(,\d+)?$'};
>> ###################################################
>>
>>
>> Best regards.
>>
>> Dorian.
>>
>> 2009/7/8 Guillaume Flandin <[log in to unmask]>:
>>> Dear Peter,
>>>
>>> you're the second one to report this problem and I'm still puzzled as I
>>> don't manage to reproduce it.
>>> First, do we agree that
>>>>> spm ver cfg_getfile
>>> returns 2934?
>>> Then, could you remove the semicolon at the end of lines 1192, 1194,
>>> 1207-1210 and let us know what it returns when you use the edit feature
>>> of the file selector.
>>> When you press done, there are a number of filters that are applied to
>>> the filenames concerning trailing blanks, extensions and number of these
>>> filenames.
>>>
>>> Best regards,
>>> Guillaume.
>>>
>>> Peter Kirsch wrote:
>>>> Hi,
>>>>
>>>> when we use the edit selected files button of the file selector in SPM8, we
>>>> experience the following problem: After pressing the accept button, the
>>>> whole content of the window is gone and no file is selected at all. Does
>>>> anybody have an idea how to solve this? Thanks!
>>>>
>>>> We use Matlab 2007b running under OpenSuse 11.1
>>>>
>>>> Regards,
>>>>
>>>> Peter
>>>
>>> --
>>> Guillaume Flandin, PhD
>>> Wellcome Trust Centre for Neuroimaging
>>> University College London
>>> 12 Queen Square
>>> London WC1N 3BG
>>>
>>
>>
>
>
>--
>Guillaume Flandin, PhD
>Wellcome Trust Centre for Neuroimaging
>University College London
>12 Queen Square
>London WC1N 3BG
>
|