Welcome! Log In Create A New Profile

Advanced

convert_format error

Posted by lucast4 
convert_format error
January 27, 2022 09:10PM
I received this error when trying to convert from .bhv2 to .h5:

convert_format('h5', filepath)

Error using mlbhv2/read_variable (line 291)
An error occurred while reading the variable, 'MLConfig'.

An error occurred while reading the variable, 'EyeTransform'.

An error occurred while reading the variable, ''.

An error occurred while reading the variable, 'forward_fcn'.

Invalid precision.

Error in mlbhv2/read (line 93)
                        val = read_variable(obj);

Error in convert_format (line 43)
            dest.write(src.read(varname{n}),varname{n},compress(n));

I can send a link to download the .bhv2 file if you'd like?
Thanks!
Re: convert_format error
January 27, 2022 09:26PM
I cannot replicate the problem with the files that I have. Please send me your file.
Re: convert_format error
January 29, 2022 09:21AM
Here is a link to download:
Re: convert_format error
January 29, 2022 10:37AM
I do not see any problem with the file that you sent. Did you use the same (or later) NIMH ML version that you used for recording?
Re: convert_format error
January 31, 2022 09:24AM
you're totally right - this solved the problem. thanks, I should have checked this first!

The National Institute of Mental Health (NIMH) is part of the National Institutes of Health (NIH), a component of the U.S. Department of Health and Human Services.