Template:Pathway/Metabolic
From Metabolomics.JP
< Template:Pathway(Difference between revisions)
Line 7: | Line 7: | ||
for line in stdin:gmatch("([^\n]+)") do | for line in stdin:gmatch("([^\n]+)") do | ||
count = count+1; | count = count+1; | ||
− | if (count % 2 == | + | if (count % 2 == 0) then |
--- do nothing for metabolite IDs --- | --- do nothing for metabolite IDs --- | ||
print(line); | print(line); | ||
else | else | ||
− | if (count== | + | if (count==1) then |
--- First mapping line --- | --- First mapping line --- | ||
for k, v in string.gmatch(line, "(%d%d?) (%d%d?) %d?%d? ?;") do | for k, v in string.gmatch(line, "(%d%d?) (%d%d?) %d?%d? ?;") do |
Revision as of 12:38, 16 March 2009