diff options
author | taw27 <taw27@bf6ca9ba-c028-0410-8290-897cf20841d1> | 2007-04-01 18:01:26 +0000 |
---|---|---|
committer | taw27 <taw27@bf6ca9ba-c028-0410-8290-897cf20841d1> | 2007-04-01 18:01:26 +0000 |
commit | 506930a4e3e09276e1cf44f25820acc2e5f7f19f (patch) | |
tree | 3c718534412b0e37e4eba285d0ec7ac8fa64cf65 /src/main.c | |
parent | 63affa283744195cd6bd3de6b9c45b2362b8b1b9 (diff) |
Choose a proper filename for the reflection cache file
git-svn-id: svn://cook.msm.cam.ac.uk:745/diff-tomo/dtr@22 bf6ca9ba-c028-0410-8290-897cf20841d1
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -66,8 +66,7 @@ static gint main_method_window_response(GtkWidget *method_window, gint response, } if ( ctx->inputfiletype != INPUT_CACHE ) { - printf("Saving reflection block to reflect.cache\n"); - cache_save("reflect.cache", ctx->reflectionctx); + cache_save(ctx->filename, ctx->reflectionctx); } if ( !val && (ctx->rmode == RECONSTRUCTION_PREDICTION) ) { @@ -182,7 +181,7 @@ int main(int argc, char *argv[]) { printf("MRC tomography file detected.\n"); ctx->inputfiletype = INPUT_MRC; } else if ( cache_is_cachefile(filename) ) { - printf("reflect.cache detected.\n"); + printf("Cached reflection file detected.\n"); ctx->inputfiletype = INPUT_CACHE; } else { fprintf(stderr, "Unrecognised input file type\n"); |