Hi Volkmar,
After some trial and error, I have got to grips with some of the syntax
used. I nevertheless cannot figure out whether, with a single filter, it is
possible to find [e.g.] *.img OR *.hdr files?
Thanks.
Helmut
----- Original Message -----
From: "Volkmar Glauche" <[log in to unmask]>
Sent: Thursday, December 07, 2006 4:52 PM
Subject: Re: Filtering in spm_select
> Hi Marko,
>
> you are right, that spm_select uses a different filter mechanism
> (so-called regular expressions). There is no code implemented to use the
> old-style filtering, so you will have to learn the new features. Actually,
> they are much more powerful... If you read the "?" help or Matlab regexp
> help, you will hopefully get started.
>
> Volkmar
>
> On Thu, 7 Dec 2006, Marko Wilke wrote:
>
>> Dear All,
>>
>> I am really not sure if it is a bug or a feature but it seems to me that
>> the
>> filtering in spm_select is different from spm_get's behavior. For
>> example, in
>> spm2, I would enter
>>
>> test*.img
>>
>> as the filter which would give me
>>
>> test_1.img
>> test_2.img
>> test... you get the idea.
>>
>> In spm5, the same filter also gives me
>>
>> test_1.img
>> test_2.img
>> ...
>>
>> but also
>>
>> my_test_1.img
>> my_test_2.img
>> ...
>>
>> In other words, spm2 filtered only the beginning of the filenames, while
>> spm5
>> filters any part of it (at least on Windows, Matlab 6.5.1). As naming
>> conventions in spm still mainly rely on adding prefixes, I found it
>> extremely
>> handy to select out certain stages of processing which now is much more
>> difficult.
>>
>> My simple (?) question is, can I restore spm_select to the 'old'
>> behavior? I
>> looked into the spm_select-code but it is way beyond me...
>>
>> Thanks for any hints,
>> Marko
>>
>
> --
> Volkmar Glauche
> -
> Department of Neurology [log in to unmask]
> Universitaetsklinikum Freiburg Phone 49(0)761-270-5331
> Breisacher Str. 64 Fax 49(0)761-270-5416
> 79106 Freiburg http://fbi.uniklinik-freiburg.de/
>
|