Hello, I am trying to run the code on scans to extract the GSH data in the gray matter. However, there are several error messages that appear during the run, and I am unable to fix them. I am attaching below a screenshot of what I did and the errors that appear. I would appreciate your help.
problem gannet.pdf (240.7 KB)
Ah, I see the issue. Try changing MRS_struct = GannetFit(MRS_struct, 'GSH');
to MRS_struct = GannetFit(MRS_struct);
and rerunning everything again.
Thanks,
I wanted to run GannetFit on just one metabolite, so I included GSH in the parentheses as was indicated on the website. Is it not possible to do this? Is there a way to focus on just one metabolite? I am working with the latest version, 3.3.2.
Additionally, another error message appeared when I made the changes as you suggested, but now the code runs to completion and outputs the required data. I am attaching this message. Is this something problematic, or is it fine for it to appear?
I’ve corrected the error regarding choosing to fit a single metabolite. Please try using the development version of Gannet, v3.3.2-dev. You should now be able to elect to fit GSH as you had previously done.