unless($oldTodayOutputDireq$todayOutputDir){#They will only differ if we're using a set of testing NAME output
dircopy($oldTodayOutputDir,$todayOutputDir)orhandleError("ERROR: Unable to copy directory from ".$oldTodayOutputDir." to ".$todayOutputDir);
...
...
@@ -297,11 +300,10 @@ unless($oldTodayOutputDir eq $todayOutputDir) {#They will only differ if we're u
#Check if the zip actually had output inside it - maininput.txt and at least one file of each depositionEthiopia_Stem_*.txt, depositionEthiopia_Stripe_*.txt
close($successFH)orhandleError("ERROR: Unable to write ".$doneFilePath);
#Remove the in progress file and exit:
terminateRun();
}
chdir($plotPath)orhandleError("ERROR: Unable to change to plotting directory ".$plotPath);
system("export R_LIBS=/home/ewsmanager/R-packages-EWS-clustering/x86_64-pc-linux-gnu-library/3.5; /usr/local/R/bin/Rscript Submit_mass_Gilligan.R config/ds603/NAME_plotting.json --fastanimation --NAME; unset R_LIBS");#Note that these arguments are ordered and it will not work if they are the wrong way round...