tadd more status logging - cosmo - front and backend for Markov-Chain Monte Carlo inversion of cosmogenic nuclide concentrations
git clone git://src.adamsgaard.dk/cosmo
Log
Files
Refs
README
LICENSE
---
commit 00142444d1e4e8ec926f07b0a59cd566b6f3d57a
parent be690e81aef7b711d3132c3c75289ce7afcbe469
Author: Anders Damsgaard 
Date:   Tue, 29 Sep 2015 14:15:05 +0200

add more status logging

Diffstat:
  M matlab/file_scanner_mcmc_starter.m  |       8 ++++++++

1 file changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/matlab/file_scanner_mcmc_starter.m b/matlab/file_scanner_mcmc_starter.m
t@@ -93,6 +93,10 @@ while 1
             record_threshold_min, record_threshold_max, ...
             statusfile);
         
+        fid = fopen(statusfile, 'w');
+        fprintf(fid, 'Generating plots');
+        fclose(fid);
+        
         % generate plots
         %CompareWalks2(Ss, save_file)
         generate_plots(Ss, save_file, graphics_formats, show_figures);
t@@ -104,6 +108,10 @@ while 1
         %delete(infile)
         movefile(infile, archivefolder);
         
+        fid = fopen(statusfile, 'w');
+        fprintf(fid, 'Computations complete');
+        fclose(fid);
+        
         diary off;
         
         %keyboard