Template:Pathway/Metabolic

From Metabolomics.JP
< Template:Pathway(Difference between revisions)
Jump to: navigation, search
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.substring(line,1,2) == 'R') then
+
     if (string.sub(line,1,2) == 'R') then
       line = string.substring(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
 
       t[v] = k
 
       t[v] = k

Revision as of 05:40, 16 March 2009



Personal tools
Namespaces

Variants
Actions
Navigation
metabolites
Toolbox