Commit 072ff6a8 authored by Thomas White's avatar Thomas White
Browse files

render_hkl: Be lenient on weighting specification

parent c6bbfe2f
......@@ -357,8 +357,14 @@ int main(int argc, char *argv[])
wght = WGHT_SQRTI;
} else if ( strcmp(weighting, "count") == 0 ) {
wght = WGHT_COUNTS;
} else if ( strcmp(weighting, "counts") == 0 ) {
wght = WGHT_COUNTS;
} else if ( strcmp(weighting, "rawcts") == 0 ) {
wght = WGHT_RAWCOUNTS;
} else if ( strcmp(weighting, "rawcount") == 0 ) {
wght = WGHT_RAWCOUNTS;
} else if ( strcmp(weighting, "rawcounts") == 0 ) {
wght = WGHT_RAWCOUNTS;
} else {
ERROR("Unrecognised weighting '%s'\n", weighting);
return 1;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment