Skip to content

Commit

Permalink
fix outputformat parsing bug
Browse files Browse the repository at this point in the history
  • Loading branch information
fangq committed Sep 29, 2023
1 parent 408d695 commit 7e75498
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mcx_utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -2772,7 +2772,7 @@ int mcx_loadjson(cJSON* root, Config* cfg) {
}
}

if (cfg->outputformat == ofJNifti) {
if (!flagset['F']) {
cfg->outputformat = mcx_keylookup((char*)FIND_JSON_KEY("OutputFormat", "Session.OutputFormat", Session, "jnii", valuestring), outputformat);
}

Expand Down

0 comments on commit 7e75498

Please sign in to comment.