Don't truncate the output file since processes have separate files
This commit is contained in:
parent
547c2978e8
commit
5b030478ad
2 changed files with 1 additions and 3 deletions
|
@ -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 = {}
|
||||
|
||||
|
|
|
@ -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')
|
||||
|
|
Loading…
Add table
Reference in a new issue