diff options
author | Thomas White <taw@physics.org> | 2015-06-25 14:48:27 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2015-06-25 14:48:27 +0200 |
commit | 3bd690ded0b78ae41f6e3cd34196b0e3287e10f3 (patch) | |
tree | a08f9a594e95a62b054b4582379bfc42d1b89696 /libcrystfel | |
parent | 330fff9a164acc19d23dda7c65300bf927eed41e (diff) |
Try "mosflm" first, then try "ipmosflm" if it doesn't work
This allows a smooth transition from CCP4 to standalone version of
mosflm, and hence an easy upgrade to newer versions.
Diffstat (limited to 'libcrystfel')
-rw-r--r-- | libcrystfel/src/mosflm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libcrystfel/src/mosflm.c b/libcrystfel/src/mosflm.c index afdfdb11..c384fec2 100644 --- a/libcrystfel/src/mosflm.c +++ b/libcrystfel/src/mosflm.c @@ -764,6 +764,7 @@ int run_mosflm(struct image *image, IndexingPrivate *ipriv) t.c_lflag &= ~(ECHO | ECHOE | ECHOK | ECHONL); tcsetattr(STDIN_FILENO, TCSANOW, &t); + execlp("mosflm", "", (char *)NULL); execlp("ipmosflm", "", (char *)NULL); ERROR("Invocation: Failed to invoke MOSFLM: %s\n", strerror(errno)); |