tadd remaining time percentage to statusfile - 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 e1a73351e1adc50a0b3b235aa32819cc6dd63434
parent c44d6e88e457e16d24b2e0a3c2bd6ed724636fbd
Author: Anders Damsgaard 
Date:   Tue, 17 Nov 2015 15:31:20 +0100

add remaining time percentage to statusfile

Diffstat:
  M matlab/m_pakke2014maj11/MetHasLong… |       4 +++-

1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/matlab/m_pakke2014maj11/MetHasLongstep4.m b/matlab/m_pakke2014maj11/MetHasLongstep4.m
t@@ -110,7 +110,9 @@ for it=1:N_run
     
 %%% INSERTED BY ANDERS %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
     fid = fopen(statusfile, 'w');
-    statusinfo = strcat(num2str(datestr(RemainingTime,13)), ' remaining');
+    statusinfo = strcat(num2str(datestr(RemainingTime,13)), ...
+        ' remaining', ...
+        ' ');
     fprintf(fid, statusinfo);
     fclose(fid);
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%