aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/datatemplate.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2021-10-28 10:11:50 +0200
committerThomas White <taw@physics.org>2021-10-28 10:12:40 +0200
commitff0242d5efa8f52449b4e7a55c7db668bdca9ea5 (patch)
treec018b1e4916bc79c69643d029b415c6d0f69c1e2 /libcrystfel/src/datatemplate.c
parent485660a1a857174f5af646ed0a9205f2d3269ace (diff)
Add a comment
Diffstat (limited to 'libcrystfel/src/datatemplate.c')
-rw-r--r--libcrystfel/src/datatemplate.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libcrystfel/src/datatemplate.c b/libcrystfel/src/datatemplate.c
index 5ed6aef8..61ef408f 100644
--- a/libcrystfel/src/datatemplate.c
+++ b/libcrystfel/src/datatemplate.c
@@ -504,6 +504,8 @@ static int parse_mask(struct panel_template *panel,
key[4] = '_';
+ /* The mask number has been replaced with '_'.
+ * Double underscore is deliberate! */
if ( strcmp(key, "mask__file") == 0 ) {
panel->masks[n].filename = strdup(val);