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
9444799b
Commit
9444799b
authored
Jul 14, 2011
by
Thomas White
Browse files
Complain if reference file cannot be read
parent
5e6aa4d8
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/partialator.c
View file @
9444799b
...
...
@@ -394,8 +394,11 @@ int main(int argc, char *argv[])
RefList
*
list
;
list
=
read_reflections
(
reference_file
);
if
(
list
==
NULL
)
{
ERROR
(
"Failed to read '%s'
\n
"
,
reference_file
);
return
1
;
}
free
(
reference_file
);
if
(
list
==
NULL
)
return
1
;
reference
=
asymmetric_indices
(
list
,
sym
);
reflist_free
(
list
);
have_reference
=
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