aboutsummaryrefslogtreecommitdiff
path: root/src/stream.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stream.c')
-rw-r--r--src/stream.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/stream.c b/src/stream.c
index af92fc14..a7cdc2d9 100644
--- a/src/stream.c
+++ b/src/stream.c
@@ -196,7 +196,7 @@ static void write_peaks(struct image *image, FILE *ofh)
}
-void write_chunk(FILE *ofh, struct image *i, int f)
+void write_chunk(FILE *ofh, struct image *i, struct hdfile *hdfile, int f)
{
double asx, asy, asz;
double bsx, bsy, bsz;
@@ -252,6 +252,8 @@ void write_chunk(FILE *ofh, struct image *i, int f)
}
+ copy_hdf5_fields(hdfile, i->copyme, ofh);
+
if ( (f & STREAM_PEAKS)
|| ((f & STREAM_PEAKS_IF_INDEXED) && (i->indexed_cell != NULL))
|| ((f & STREAM_PEAKS_IF_NOT_INDEXED) && (i->indexed_cell == NULL)) )