aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/datatemplate.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2021-04-16 14:24:40 +0200
committerThomas White <taw@physics.org>2021-04-16 14:24:40 +0200
commit1b81067618def8e2b675faaa297df0a55fcb4e17 (patch)
treedf803955071786082f02cef9d82648079a4ca5e6 /libcrystfel/src/datatemplate.c
parentab07fd8a99b3199bf4aff52b32432e4fd24f7b3a (diff)
Remove requirement for data path to contain "/"
For data formats other than HDF5, the location can be anything.
Diffstat (limited to 'libcrystfel/src/datatemplate.c')
-rw-r--r--libcrystfel/src/datatemplate.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libcrystfel/src/datatemplate.c b/libcrystfel/src/datatemplate.c
index 185847ea..e47a83b3 100644
--- a/libcrystfel/src/datatemplate.c
+++ b/libcrystfel/src/datatemplate.c
@@ -588,10 +588,6 @@ static int parse_field_for_panel(struct panel_template *panel, const char *key,
panel->cnz_from = strdup(val);
} else if ( strcmp(key, "data") == 0 ) {
- if ( strncmp(val,"/",1) != 0 ) {
- ERROR("Invalid data location '%s'\n", val);
- reject = -1;
- }
free(panel->data);
panel->data = strdup(val);