aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2012-12-14 10:53:09 +0100
committerThomas White <taw@physics.org>2012-12-14 10:53:09 +0100
commite745af481e176834e804b2eec59b7170e260ce81 (patch)
tree270c0a6a8db737699fde3f5fe74d1f5877b6d7cc /libcrystfel
parent27da7fc3b8c4ae479305d5de996bf8c729fabac3 (diff)
Whitespace
Diffstat (limited to 'libcrystfel')
-rw-r--r--libcrystfel/src/beam-parameters.c2
-rw-r--r--libcrystfel/src/beam-parameters.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/libcrystfel/src/beam-parameters.c b/libcrystfel/src/beam-parameters.c
index 2e4f5302..2236fddb 100644
--- a/libcrystfel/src/beam-parameters.c
+++ b/libcrystfel/src/beam-parameters.c
@@ -90,7 +90,7 @@ struct beam_params *get_beam_parameters(const char *filename)
} else if ( strcmp(bits[0], "beam/photon_energy") == 0 ) {
if ( strncmp(bits[2], "/", 1) == 0 ) {
b->photon_energy = 0; // 0 means special case
- b->photon_energy_from = strdup(bits[2]);
+ b->photon_energy_from = strdup(bits[2]);
} else {
b->photon_energy = atof(bits[2]);
}
diff --git a/libcrystfel/src/beam-parameters.h b/libcrystfel/src/beam-parameters.h
index 36cfaa55..e0b16895 100644
--- a/libcrystfel/src/beam-parameters.h
+++ b/libcrystfel/src/beam-parameters.h
@@ -48,7 +48,7 @@ struct beam_params
double divergence; /* divergence (radians) */
double profile_radius; /* Reciprocal space size of a reflection */
-
+
char *photon_energy_from; /* hdf5 group name */
};