aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel/src')
-rw-r--r--libcrystfel/src/xds.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/libcrystfel/src/xds.c b/libcrystfel/src/xds.c
index 41580e41..7e661a4b 100644
--- a/libcrystfel/src/xds.c
+++ b/libcrystfel/src/xds.c
@@ -215,10 +215,7 @@ static int read_cell(struct image *image, struct xds_private *xp)
UnitCell *cell;
fh = fopen("IDXREF.LP", "r");
- if ( fh == NULL ) {
- ERROR("Couldn't open 'IDXREF.LP'\n");
- return 0;
- }
+ if ( fh == NULL ) return 0; /* Not indexable */
do {
rval = fgets(line, 1023, fh);