Introduction
Introduction Statistics Contact Development Disclaimer Help
tdo not include timestamp in output files - cosmo - front and backend for Marko…
git clone git://src.adamsgaard.dk/cosmo
Log
Files
Refs
README
LICENSE
---
commit 3a3091e4fa488ae8038a3fc2910630a78a8f044a
parent 0526774704a7cb67178cc6ade3d015bd9ec5a28d
Author: Anders Damsgaard <[email protected]>
Date: Tue, 29 Sep 2015 15:23:22 +0200
do not include timestamp in output files
Diffstat:
M matlab/file_scanner_mcmc_starter.m | 5 +++--
M matlab/mcmc_inversion.m | 5 +++--
2 files changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/matlab/file_scanner_mcmc_starter.m b/matlab/file_scanner_mcmc_star…
t@@ -12,7 +12,8 @@
infolder = '/home/adc/cosmo/input';
% folder for generated plots
-outfolder = 'output/';
+%outfolder = 'output/';
+outfolder = '/var/www/html/output/';
% uniquely identifying file name prefix for input files
prefix = 'cosmo_';
t@@ -91,7 +92,7 @@ while 1
t_degla, t_degla_uncer, ...
record, ...
record_threshold_min, record_threshold_max, ...
- statusfile);
+ statusfile, id);
fid = fopen(statusfile, 'w');
fprintf(fid, 'Generating plots');
diff --git a/matlab/mcmc_inversion.m b/matlab/mcmc_inversion.m
t@@ -9,7 +9,7 @@ function [Ss, save_file] = mcmc_inversion(matlab_scripts_folde…
t_degla, t_degla_uncer, ...
record, ...
record_threshold_min, record_threshold_max, ...
- statusfile)
+ statusfile, id)
%% mcmc_inversion.m
% function is called from `file_scanner_mcmc_starter.m`
t@@ -256,5 +256,6 @@ if beeps
sound(0.5*sin(1:0.5:500));pause(0.3);sound(0.5*sin(1:0.75:750))
end
-save_file = [outfolder, '/Walks_',datestr(now,'yyyymmdd_HHMMSS')];
+%save_file = [outfolder, '/', id, '_Walks_',datestr(now,'yyyymmdd_HHMMSS')];
+save_file = strcat(outfolder, '/', id, '_Walks');
save(save_file,'Ss','save_file')
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.