tchange path for input files - cosmo - front and backend for Markov-Chain Monte Carlo inversion of cosmogenic nuclide concentrations
(HTM) git clone git://src.adamsgaard.dk/cosmo
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit bed27be9bea08c44a18a21747dc8a6969838a718
(DIR) parent 206bc399594d61e1cbfb1bb9185bfbec4a5ebd2f
(HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Mon, 28 Sep 2015 13:54:06 +0200
change path for input files
Diffstat:
M matlab/file_scanner_mcmc_starter.m | 2 +-
M uploadhistory.php | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
---
(DIR) diff --git a/matlab/file_scanner_mcmc_starter.m b/matlab/file_scanner_mcmc_starter.m
t@@ -8,7 +8,7 @@
%% folder and file configuration
% folder containing input files from web interface ("uploadhistory.php")
-infolder = '/tmp';
+infolder = '/home/adc/cosmo/input';
% folder for generated plots
outfolder = 'output/';
(DIR) diff --git a/uploadhistory.php b/uploadhistory.php
t@@ -148,7 +148,8 @@ $fieldnames = array(
'record_threshold_max');
// Generate unique output file name
-$outputfile = tempnam('/tmp', 'cosmo_');
+//$outputfile = tempnam('/tmp', 'cosmo_');
+$outputfile = tempnam('/home/adc/cosmo/input', 'cosmo_');
if (is_writable($outputfile)) {
if (!$handle = fopen($outputfile, 'w')) {