diff options
author | Thomas White <taw@physics.org> | 2021-04-16 14:24:40 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2021-04-16 14:24:40 +0200 |
commit | 1b81067618def8e2b675faaa297df0a55fcb4e17 (patch) | |
tree | df803955071786082f02cef9d82648079a4ca5e6 | |
parent | ab07fd8a99b3199bf4aff52b32432e4fd24f7b3a (diff) |
Remove requirement for data path to contain "/"
For data formats other than HDF5, the location can be anything.
-rw-r--r-- | libcrystfel/src/datatemplate.c | 4 |
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); |