diff options
author | Valerio Mariani <valerio.mariani@desy.de> | 2014-05-06 17:51:47 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2014-05-21 16:04:23 +0200 |
commit | 8c212e3abb7f4343affeb5e9e1092b59d3b74075 (patch) | |
tree | fd6629a34ebe77b2fc0ac9afc77eb5ffff77c9af /libcrystfel/src/stream.c | |
parent | 2658f7ca3fbdd0f037b9286812e6967b42517c0d (diff) |
Added reporting of version number to all program and stream file
Diffstat (limited to 'libcrystfel/src/stream.c')
-rw-r--r-- | libcrystfel/src/stream.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libcrystfel/src/stream.c b/libcrystfel/src/stream.c index 4470d098..34c14573 100644 --- a/libcrystfel/src/stream.c +++ b/libcrystfel/src/stream.c @@ -42,6 +42,7 @@ #include <sys/stat.h> #include <fcntl.h> +#include "version.h" #include "cell.h" #include "cell-utils.h" #include "utils.h" @@ -821,7 +822,7 @@ Stream *open_stream_fd_for_write(int fd) fprintf(st->fh, "CrystFEL stream format %i.%i\n", st->major_version, st->minor_version); - + fprintf(st->fh, "Generated by CrystFEL "CRYSTFEL_VERSIONSTRING"\n"); return st; } |