When running a monte carlo set, don't delete the log files in the master run directory.

Moved the job that removes log files from a default data to a phase 1 initialization
job.  Initialization jobs are not run in the master sim if the sim is a monte carlo
run, so the data is not deleted.

refs #35
This commit is contained in:
Alex Lin 2016-06-24 17:20:13 -05:00
parent 9bcee57b6a
commit 8921811f7e

View File

@ -515,7 +515,7 @@ class DataRecordDispatcherSimObject : public Trick::SimObject {
exec_register_scheduler(&drd) ;
{TRK} ("default_data") drd.remove_files() ;
{TRK} P1 ("initialization") drd.remove_files() ;
{TRK} P65534 ("initialization") drd.init() ;
#ifndef TRICK_NO_MONTE_CARLO
{TRK} ("monte_slave_init") drd.remove_files() ;