URI:
       tenable archiving, add make target to sync external matlab code - cosmo - front and backend for Markov-Chain Monte Carlo inversion of cosmogenic nuclide concentrations
  HTML git clone git://src.adamsgaard.dk/cosmo
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
   DIR commit 62b79804636f3d005288b64cb9f04c04cb365fb1
   DIR parent bbfb37508fd96e7dce1c55c9d69a70e758c8722c
  HTML Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
       Date:   Wed,  2 Sep 2015 16:17:28 +0200
       
       enable archiving, add make target to sync external matlab code
       
       Diffstat:
         M Makefile                            |       3 +++
         M matlab/file_scanner_mcmc_starter.m  |       6 +++---
       
       2 files changed, 6 insertions(+), 3 deletions(-)
       ---
   DIR diff --git a/Makefile b/Makefile
       t@@ -8,3 +8,6 @@ open:
        
        deploy:
                sudo rsync -rav index.php uploadhistory.php pages js img font css $(documentroot)/
       +
       +sync-matlab:
       +        cosmo-sshfs && rsync -rav matlab/m_pakke2014maj11 ~/cosmo-server/cosmo/matlab/
   DIR diff --git a/matlab/file_scanner_mcmc_starter.m b/matlab/file_scanner_mcmc_starter.m
       t@@ -19,7 +19,7 @@ prefix = 'cosmo_';
        % folder where completed input files are archived. This folder should be
        % outside of the webserver document root so others cannot acces this
        % information
       -archivefolder = '/Users/ad/tmp/cosmo-archive';
       +archivefolder = '/Users/ad/cosmo/archive';
        
        % folder containing matlab scripts to path
        matlab_scripts_folder = 'm_pakke2014maj11/';
       t@@ -95,12 +95,12 @@ while 1
                
                % delete or archive the file so it is not processed again
                %delete(infile)
       -        %movefile(infile, archivefolder);
       +        movefile(infile, archivefolder);
                
                %keyboard
            end
        
            % for debugging purposes; ends loop after first iteration
       -    break
       +    %break
        
        end