From a2d166507007bc68b6e2e66cff745c44975b5baf Mon Sep 17 00:00:00 2001 From: Thomas White Date: Wed, 18 Mar 2015 11:17:03 +0100 Subject: Record crystal notes in stream --- libcrystfel/src/stream.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'libcrystfel') diff --git a/libcrystfel/src/stream.c b/libcrystfel/src/stream.c index 18e9eddc..33e2d84e 100644 --- a/libcrystfel/src/stream.c +++ b/libcrystfel/src/stream.c @@ -3,12 +3,12 @@ * * Stream tools * - * Copyright © 2013-2014 Deutsches Elektronen-Synchrotron DESY, + * Copyright © 2013-2015 Deutsches Elektronen-Synchrotron DESY, * a research centre of the Helmholtz Association. * Copyright © 2012 Richard Kirian * * Authors: - * 2010-2014 Thomas White + * 2010-2015 Thomas White * 2014 Valerio Mariani * 2011 Richard Kirian * 2011 Andrew Aquila @@ -708,6 +708,10 @@ static int write_crystal(Stream *st, Crystal *cr, int include_reflections) rad = crystal_get_profile_radius(cr); fprintf(st->fh, "profile_radius = %.5f nm^-1\n", rad/1e9); + if ( crystal_get_notes(cr) != NULL ) { + fprintf(st->fh, "%s\n", crystal_get_notes(cr)); + } + reflist = crystal_get_reflections(cr); if ( reflist != NULL ) { -- cgit v1.2.3