From 66d47b78346617d2b66476b94d93ae1db814383d Mon Sep 17 00:00:00 2001 From: Thomas White Date: Wed, 31 Mar 2021 18:41:15 +0200 Subject: FromFile indexer, stream2sol.py: Remove space escaping This isn't necessary after all, for the same reason that im-sandbox doesn't need escaping: it can count off the fields where spaces aren't allowed, and anything left is the filename. I was over-thinking things. --- libcrystfel/src/indexers/fromfile.c | 24 ------------------------ scripts/stream2sol.py | 5 +---- 2 files changed, 1 insertion(+), 28 deletions(-) diff --git a/libcrystfel/src/indexers/fromfile.c b/libcrystfel/src/indexers/fromfile.c index 7d95baae..1f3cc0da 100644 --- a/libcrystfel/src/indexers/fromfile.c +++ b/libcrystfel/src/indexers/fromfile.c @@ -185,28 +185,6 @@ static int set_lattice(UnitCell *cell, const char *ltsym) } -static void unescape(char *line) -{ - size_t len; - int i, w; - int esc = 0; - - len = strlen(line); - w = 0; - for ( i=0; i