diff options
-rw-r--r-- | src/mosflm.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mosflm.c b/src/mosflm.c index 045addae..40780451 100644 --- a/src/mosflm.c +++ b/src/mosflm.c @@ -150,6 +150,9 @@ void run_mosflm(struct image *image, UnitCell *cell) sprintf(mos_cmd,"%sGO\n",mos_cmd); sprintf(mos_cmd,"%s%s",mos_cmd,"eof-mosflm\n"); + /* remove the previous NEWMAT file prior to running mosflm */ + remove(newmatfile); + /* Run the mosflm script */ fail = system(mos_cmd); if (fail) { @@ -165,8 +168,7 @@ void run_mosflm(struct image *image, UnitCell *cell) return; } - /* remove the mosflm NEWMAT file */ - //remove(newmatfile); + return; } |