Template:Pathway/Metabolic
From Metabolomics.JP
< Template:Pathway(Difference between revisions)
Line 6: | Line 6: | ||
for line in stdin:gmatch("([^\n]+)") do | for line in stdin:gmatch("([^\n]+)") do | ||
print("\n" .. line .. "\n"); | print("\n" .. line .. "\n"); | ||
− | if (string. | + | if (string.sub(line,1,2) == 'R') then |
− | line = string. | + | line = string.sub(line,2); |
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 | ||
t[v] = k | t[v] = k |
Revision as of 05:40, 16 March 2009