No worries @Frederic! Happy to help and your feedback is always appreciated!
Wrt the deleted post, I ran in a similar problem today and I’ll upload a fix for that after the weekend.
The idea of files_w and files_ref are as follows (also describe in the paper). Files_ref should be a water reference scan with the same TE as the metabolite scan (so basically just the water suppression turned off). It is used for the eddy current correction of the metabolite scan.
For the quantification there are different ways on how Osprey calculates any water referenced concentrations (raw waer scaled or any tissue corrected concentrations) and this depends on the supplied files. In case you did only supply the files_ref it is done with regards to the water amplitude of those. If you did supply files_w the quantification will pe performed with regards to the water amplitude of those files, which reduces the water relaxation weighting.
For the odd case that you supply files_w - but no files_ref - there’s going to be the crash taht you saw, bc I did not thought of this case during the sorting of the processed spectra.
Have a nice weekend!