Appending New Subjects to Existing Osprey MRS Job

Is there an efficient way to add new subjects to an existing MRS Job using command line without rerunning every single subject? When I attempt to go the usual route, I get this error at OspreyLoad, indicating the MRSCont.raw structure has not been updated with the new subject, despite the MRSCont.file structure reflecting they were added to the job. For reference, I am adding a 22nd subject to an existing job.

Index exceeds the number of array elements. Index must not exceed 21.

Error in OspreyLoad (line 301)
raw = MRSCont.raw{kk}; % Get the kk-th dataset

1 Like

Following up - I noticed in all of the subsequent command line functions after OspreyJob (OspreyLoad and OspreyProcess), they only run if kk (number of subjects) does not exceed the existing number (i.e., ignoring any new additional subjects), and there is no “ifelse” option for when the job file now has new subjects.

Tagging @Helge for help - I know he’s done this with Osprey before!

Hi @kclancy,

Can you tell me which version of Osprey you are currently using? I haven’t tested this feature in a long time to be honest. So it is quite possible that some errors have crept in over time. I will take a look at it.

Thanks,
Helge