Skip to content
Snippets Groups Projects
Commit 2a369247 authored by Mark Jenkinson's avatar Mark Jenkinson
Browse files

Minor fixes

parent e5a756f6
No related branches found
No related tags found
No related merge requests found
......@@ -30,5 +30,5 @@ fi
tmpbase=`${FSLDIR}/bin/tmpnam`;
${FSLDIR}/bin/avwhd -x $1 > ${tmpbase}
pico ${tmpbase}
${EDITOR} ${tmpbase}
${FSLDIR}/bin/avwcreatehd ${tmpbase} $1
......@@ -23,8 +23,8 @@ void print_usage() {
cout << " -getorient (prints left-right orientation)" << endl;
cout << " -deleteorient (removes orient info from header - not Analyze)" << endl;
cout << endl;
cout << " Note: the stored data order is never changed here - only the header info" << endl;
cout << " to change the data storage use avwswapdim" << endl;
cout << " Note: The stored data order is never changed here - only the header info." << endl;
cout << " To change the data storage use avwswapdim." << endl;
cout << endl;
cout << " e.g. " << progname << " -forceradiological myimage" << endl;
cout << endl;
......@@ -68,6 +68,7 @@ int fmrib_main(int argc,char *argv[])
} else {
cout << "NEUROLOGICAL" << endl;
}
return 0;
} else if (option=="-deleteorient") {
invol.set_sform(NIFTI_XFORM_UNKNOWN,invol.sform_mat());
invol.set_qform(NIFTI_XFORM_UNKNOWN,invol.qform_mat());
......@@ -98,7 +99,7 @@ int main(int argc,char *argv[])
return -1;
}
string inname = argv[1];
string inname = argv[2];
// call the templated main
return call_fmrib_main(dtype(inname),argc,argv);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment