Don't truncate the output file since processes have separate files

This commit is contained in:
Empathic Qubit 2021-04-23 19:14:11 -04:00
parent 547c2978e8
commit 5b030478ad
2 changed files with 1 additions and 3 deletions

View file

@ -19,7 +19,7 @@ local speciesIndex = runnerData[3]
local filename = runnerData[4]
local outFile = io.open(filename, "a")
local outFile = io.open(filename, "w")
local outContents = {}

View file

@ -68,8 +68,6 @@ return function()
local poppets = {}
for i=1,#species,1 do
local outputFileName = tmpFileName..'_output_'..i
local trunc = io.open(outputFileName, 'w')
trunc:close()
local inputFileName = tmpFileName.."_input_"..i
local inputFile = io.open(inputFileName, 'w')