diff options
author | Thomas White <taw@physics.org> | 2011-02-07 17:07:14 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:13 +0100 |
commit | 752514ddcf594ee4ec63708ca60f64e9ed786632 (patch) | |
tree | 5859a596f7255401fcca5553045f695852ffecad /src | |
parent | b53f133381ef6ffa9f7ecefbf4d134d55ad94455 (diff) |
Remove old MOSFLM output before running
Diffstat (limited to 'src')
-rw-r--r-- | src/mosflm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mosflm.c b/src/mosflm.c index 7b4253cb..bfaca2fb 100644 --- a/src/mosflm.c +++ b/src/mosflm.c @@ -522,6 +522,7 @@ void run_mosflm(struct image *image, UnitCell *cell) write_spt(image, mosflm->sptfile); snprintf(mosflm->newmatfile, 127, "xfel-%i.newmat", image->id); + remove(mosflm->newmatfile); mosflm->pid = forkpty(&mosflm->pty, NULL, NULL, NULL); if ( mosflm->pid == -1 ) { |