diff options
author | Thomas White <taw@physics.org> | 2015-03-18 11:17:03 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2015-03-18 14:54:58 +0100 |
commit | a2d166507007bc68b6e2e66cff745c44975b5baf (patch) | |
tree | a661285e769c47cb6a3017ef4e57182c1806b0a6 /libcrystfel/src | |
parent | 10e50c61ecbc07e58639f28339dfa10ac22218ce (diff) |
Record crystal notes in stream
Diffstat (limited to 'libcrystfel/src')
-rw-r--r-- | libcrystfel/src/stream.c | 8 |
1 files changed, 6 insertions, 2 deletions
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 <taw@physics.org> + * 2010-2015 Thomas White <taw@physics.org> * 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 ) { |