Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Oleksii Turkot
CrystFEL
Commits
072ff6a8
Commit
072ff6a8
authored
Jul 01, 2010
by
Thomas White
Browse files
render_hkl: Be lenient on weighting specification
parent
c6bbfe2f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/render_hkl.c
View file @
072ff6a8
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment