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 | ||
print("\n" .. line .. "\n"); | print("\n" .. line .. "\n"); | ||
− | if (string.sub(line,1, | + | if (string.sub(line,1,1) == 'R') then |
line = string.sub(line,2); | 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 |
Revision as of 05:43, 16 March 2009