diff options
author | Thomas White <taw@physics.org> | 2020-05-20 16:46:41 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2020-07-29 18:42:57 +0200 |
commit | 8e30641ba8fe37575794adef60c340e6116e0e7b (patch) | |
tree | ee88eebfa1728d57a7b3331ebaba3f50c6b1500c /libcrystfel/src/stream.c | |
parent | be37f0ce53156221de0248ee43dd2b3551bcb771 (diff) |
Port indexamajig to new API, part I
Diffstat (limited to 'libcrystfel/src/stream.c')
-rw-r--r-- | libcrystfel/src/stream.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/libcrystfel/src/stream.c b/libcrystfel/src/stream.c index 875285e5..ccf1a632 100644 --- a/libcrystfel/src/stream.c +++ b/libcrystfel/src/stream.c @@ -840,17 +840,15 @@ static int write_crystal(Stream *st, Crystal *cr, int include_reflections) /** * \param st A \ref Stream * \param i An \ref image structure - * \param imfile A \ref imagefile structure * \param include_peaks Whether to include peak search results in stream * \param include_reflections Whether to include integration results in stream - * \param ev A \ref event strucutre * * Writes a new chunk to \p st. * * \returns non-zero on error. */ -int write_chunk(Stream *st, struct image *i, struct imagefile *imfile, - int include_peaks, int include_reflections, struct event *ev) +int write_chunk(Stream *st, struct image *i, + int include_peaks, int include_reflections) { int j; char *indexer; @@ -879,7 +877,8 @@ int write_chunk(Stream *st, struct image *i, struct imagefile *imfile, fprintf(st->fh, "beam_divergence = %.2e rad\n", i->div); fprintf(st->fh, "beam_bandwidth = %.2e (fraction)\n", i->bw); - imagefile_copy_fields(imfile, i->copyme, st->fh, ev); + /* FIXME: Better way of doing this */ + //imagefile_copy_fields(imfile, i->copyme, st->fh, ev); if ( i->det != NULL ) { |