Commit 64396cd6 authored by thomas.forbriger's avatar thomas.forbriger

any2matlab [FIX][API][!!!]: do not convert case of file format string

Originally any2matlab converted the file format string (format ID and
subformat specifications) to lower case. This appears unnecessary and in
fact results in failing code, if for example the modifier
'estimateNframes' has to be passed with 'mseed'. There currently is no
obvious reason, why case conversion should be done in any2matlab. If it
should turn out that existing matlab code relies on any2matlab doing
this conversion, the matlab code has to be fixed, doing the conversion
in matlab before calling any2matlab.
parent 8dd7358a
......@@ -33,6 +33,7 @@
* likely to be out of date
* - 28/06/2019 V1.4 (Thomas Forbriger): fix type issue by declaring
* trace and dims as mwSize rather than int
* - 26/03/2020 V1.5 do not convert file format string to lower case
*
* \section general General
*
......@@ -209,8 +210,6 @@ void mexFunction(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[])
}
}
// set filetype to lower case
transform(filetype.begin(), filetype.end(), filetype.begin(), tolower);
mwSize trace = 0;
bool hot = false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment