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
d30508aa
Commit
d30508aa
authored
Dec 02, 2009
by
Thomas White
Browse files
Tidy-up
parent
701693dd
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/process_hkl.c
View file @
d30508aa
...
...
@@ -298,12 +298,14 @@ int main(int argc, char *argv[])
do
{
char
line
[
1024
];
int
h
,
k
,
l
,
intensity
;
signed
int
h
,
k
,
l
,
intensity
;
int
r
;
rval
=
fgets
(
line
,
1023
,
fh
);
if
(
strncmp
(
line
,
"New pattern"
,
11
)
==
0
)
{
n_patterns
++
;
if
(
n_patterns
%
config_every
==
0
)
{
process_reflections
(
ref
,
trueref
,
counts
,
n_patterns
,
mol
->
cell
,
...
...
@@ -317,6 +319,8 @@ int main(int argc, char *argv[])
r
=
sscanf
(
line
,
"%i %i %i %i"
,
&
h
,
&
k
,
&
l
,
&
intensity
);
if
(
r
!=
4
)
continue
;
if
(
(
h
==
0
)
&&
(
k
==
0
)
&&
(
l
==
0
)
)
continue
;
//if ( (abs(h)>3) || (abs(k)>3) || (abs(l)>3) ) continue;
if
(
!
config_maxonly
)
{
...
...
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