aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/hdf5-file.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2014-10-23 13:25:51 +0200
committerThomas White <taw@physics.org>2014-10-23 17:02:33 +0200
commit346d484df6d30d27072a3fb881fcc36705505197 (patch)
treedfc202ec74899d47be2454859777d9c0c322baaf /libcrystfel/src/hdf5-file.c
parent31831ec21fb3a3d080f4d48c86853d78f7a1d592 (diff)
Formatting
Diffstat (limited to 'libcrystfel/src/hdf5-file.c')
-rw-r--r--libcrystfel/src/hdf5-file.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libcrystfel/src/hdf5-file.c b/libcrystfel/src/hdf5-file.c
index 4269216c..a0df1fbe 100644
--- a/libcrystfel/src/hdf5-file.c
+++ b/libcrystfel/src/hdf5-file.c
@@ -106,7 +106,8 @@ struct hdfile *hdfile_open(const char *filename)
if ( f == NULL ) return NULL;
if ( access( filename, R_OK ) == -1 ) {
- ERROR("File does not exists or it cannot be read: %s\n", filename);
+ ERROR("File does not exists or it cannot be read: %s\n",
+ filename);
free(f);
return NULL;
}
@@ -922,7 +923,7 @@ void fill_in_beam_parameters(struct beam_params *beam, struct hdfile *f,
}
- image->lambda = ph_en_to_lambda(eV_to_J(eV)) * beam->photon_energy_scale;
+ image->lambda = ph_en_to_lambda(eV_to_J(eV))*beam->photon_energy_scale;
}