Log model writes.
This commit is contained in:
parent
2e53f92179
commit
bd5b9cc4cb
1 changed files with 1 additions and 2 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Reference in a new issue