aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel/src')
-rw-r--r--libcrystfel/src/image-cbf.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libcrystfel/src/image-cbf.c b/libcrystfel/src/image-cbf.c
index d599141c..de9fc75a 100644
--- a/libcrystfel/src/image-cbf.c
+++ b/libcrystfel/src/image-cbf.c
@@ -616,6 +616,11 @@ int image_cbf_read(struct image *image,
float *data;
int w, h;
+ if ( image->data_block != NULL ) {
+ ERROR("In-memory CBF not (yet!) implemented.\n");
+ return 1;
+ }
+
if ( access(image->filename, R_OK) == -1 ) {
ERROR("File does not exist or cannot be read: %s\n",
image->filename);