aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRichard Kirian <rkirian@asu.edu>2010-12-10 16:05:48 -0700
committerThomas White <taw@physics.org>2012-02-22 15:27:09 +0100
commit6dce43165e054c62b442cac4bffecde77b93dcea (patch)
tree43ebb6e5dbc3dffd5d73983e6b5f0ecf538965e6 /src
parent50163809e49b0494d242082f882fee79b6153e38 (diff)
remove old NEWMAT file prior to running mosflm
Diffstat (limited to 'src')
-rw-r--r--src/mosflm.c6
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;
}