Skip to content

Finalizing osp_exportParams #598

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Apr 6, 2023

Conversation

JohnLaMaster
Copy link
Contributor

osp_exportParams now also returns all of the info from the QM table, in a nicer, automated fashion. Based on the order of function calls in RunOspreyJob, I added the export call to the end of OsperyOverview so that everything will be done regarding the fit before exporting. I added the relevant code to OspreyJob.m and the example job*.m files under exampledata. It should now be able to run seamlessly.

There are two parts to the opts variable as follows:
opts.exportParams.flag = 1; % Options: 0 (no, default), 1 (yes) opts.exportParams.path = '/path/to/save/'; % String to save directory

Actual content changes in the job files occurs around lines 145-150.

Unless something in the possible_keys list needs updating or additional variables need to be exported, this should be one of the last pull requests.

@HJZollner HJZollner merged commit 52450e1 into schorschinho:develop Apr 6, 2023
@HJZollner
Copy link
Collaborator

Hi @JohnLaMaster,

That looks great! Thanks for integrating this so nicely.

I have added all possible naming combinations of the fit struct to the auxiliary function ( I think you asked for them in the last pull request). These will only appear in older Osprey versions or in the MRSI branch.

Best,
Helge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants