From 752514ddcf594ee4ec63708ca60f64e9ed786632 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Mon, 7 Feb 2011 17:07:14 +0100 Subject: Remove old MOSFLM output before running --- src/mosflm.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mosflm.c') 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 ) { -- cgit v1.2.3