Log model writes.

This commit is contained in:
Empathic Qubit 2021-05-07 23:43:15 -04:00
parent 2e53f92179
commit bd5b9cc4cb

View file

@ -201,6 +201,7 @@ return function(promise)
for i=1,#speciesSlice,1 do for i=1,#speciesSlice,1 do
local s = speciesSlice[i] local s = speciesSlice[i]
if s.id == obj.speciesId then if s.id == obj.speciesId then
message(_M, string.format('Write Species %d Genome %d', obj.speciesId, obj.genomeIndex))
s.genomes[obj.genomeIndex] = obj.genome s.genomes[obj.genomeIndex] = obj.genome
break break
end end
@ -226,8 +227,6 @@ return function(promise)
local waiter = util.promiseWrap(function() local waiter = util.promiseWrap(function()
local line = outputPipe:read("*l") local line = outputPipe:read("*l")
print("Started receiving output from child process "..i)
return readLoop(outputPipe, line) return readLoop(outputPipe, line)
end) end)
table.insert(waiters, waiter) table.insert(waiters, waiter)