schorschinho / osprey

All-in-one toolbox for processing of magnetic resonance spectroscopy data.
https://schorschinho.github.io/osprey
MIT License
52 stars 41 forks source link

Partial fix #730: mixed types for basisSetFile #731

Closed alexcraven closed 2 months ago

alexcraven commented 2 months ago

Partial fix for #730

osp_fitInitialise variously mixes char and cell array data types for MRSCont.opts.fit.basisSetFile, causing it to fail when using a basis set is supplied in .BASIS format.

This partial fix converts basisSetFile to a cell if necessary, but may not fully address the issue for edited scenarios.