From 1b81067618def8e2b675faaa297df0a55fcb4e17 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Fri, 16 Apr 2021 14:24:40 +0200 Subject: Remove requirement for data path to contain "/" For data formats other than HDF5, the location can be anything. --- libcrystfel/src/datatemplate.c | 4 ---- 1 file changed, 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); -- cgit v1.2.3