aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2012-07-26 16:54:28 -0700
committerThomas White <taw@bitwiz.org.uk>2012-07-26 16:54:28 -0700
commit9af8748c18765e10b05a00a82d2d6d12967f699d (patch)
treedb4ed7f385d585bebe457290df6efb7e255f5b1e /libcrystfel
parent86fa0c2abf6e1399e5c2751f64cf4c19c912aedf (diff)
Improve the parsing of beam parameter files
Diffstat (limited to 'libcrystfel')
-rw-r--r--libcrystfel/src/beam-parameters.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcrystfel/src/beam-parameters.c b/libcrystfel/src/beam-parameters.c
index 3d6dc346..6beef264 100644
--- a/libcrystfel/src/beam-parameters.c
+++ b/libcrystfel/src/beam-parameters.c
@@ -75,7 +75,7 @@ struct beam_params *get_beam_parameters(const char *filename)
continue;
}
- if ( bits[1][0] != '=' ) {
+ if ( bits[0][0] == ';' ) {
for ( i=0; i<n1; i++ ) free(bits[i]);
free(bits);
continue;