aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2018-04-24 15:43:19 +0200
committerThomas White <taw@physics.org>2018-04-24 15:43:19 +0200
commit8f0d9b1419dd2fc14b561cfdd5ef639966436328 (patch)
tree67f7376f290a73472e55ed67d10af9e814533e4b /libcrystfel
parent7c0a1228c1254db06e0f5956cdc9691e86033cda (diff)
xds: Remove messages about "Couldn't open 'IDXREF.LP'"
They just mean "couldn't be indexed"
Diffstat (limited to 'libcrystfel')
-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);