Template:Pathway/Metabolic
From Metabolomics.JP
< Template:Pathway(Difference between revisions)
Line 37: | Line 37: | ||
--- Leave only positions that can be mapped | --- Leave only positions that can be mapped | ||
local list2 = {}; | local list2 = {}; | ||
+ | local str = ""; | ||
for k, v in pairs(list) do | for k, v in pairs(list) do | ||
− | if (map[k] ~= nil) then list2[map[k]] = map[k]; end | + | if (map[k] ~= nil) |
+ | then list2[map[k]] = map[k]; | ||
+ | str = str .. " " .. k .. "->" .. map[k]; | ||
+ | end | ||
end | end | ||
+ | print(str); | ||
list = list2; | list = list2; | ||
end | end |
Revision as of 13:36, 16 March 2009