From 072ff6a884bf7c2cecd4dbb592456df175934427 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Thu, 1 Jul 2010 11:01:13 +0200 Subject: render_hkl: Be lenient on weighting specification --- src/render_hkl.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/render_hkl.c') diff --git a/src/render_hkl.c b/src/render_hkl.c index 7e9317f5..46ba4c89 100644 --- a/src/render_hkl.c +++ b/src/render_hkl.c @@ -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; -- cgit v1.2.3