Skip to content
GitLab
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
fc7aaadc
Commit
fc7aaadc
authored
Mar 24, 2011
by
Thomas White
Browse files
process_hkl: Don't require unit cell
parent
e34c96e5
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/process_hkl.c
View file @
fc7aaadc
...
...
@@ -468,12 +468,16 @@ int main(int argc, char *argv[])
output
=
strdup
(
"processed.hkl"
);
}
cell
=
load_cell_from_pdb
(
pdb
);
if
(
cell
==
NULL
)
{
ERROR
(
"Failed to load cell from '%s'
\n
"
,
pdb
);
return
1
;
if
(
pdb
!=
NULL
)
{
cell
=
load_cell_from_pdb
(
pdb
);
if
(
cell
==
NULL
)
{
ERROR
(
"Failed to load cell from '%s'
\n
"
,
pdb
);
return
1
;
}
free
(
pdb
);
}
else
{
cell
=
NULL
;
}
free
(
pdb
);
if
(
sym
==
NULL
)
sym
=
strdup
(
"1"
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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