Template:Pathway/Metabolic

From Metabolomics.JP
< Template:Pathway(Difference between revisions)
Jump to: navigation, search
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 == 1) then
+
     if (count % 2 == 0) then
 
       --- do nothing for metabolite IDs ---
 
       --- do nothing for metabolite IDs ---
 
       print(line);
 
       print(line);
 
     else  
 
     else  
       if (count==2) then
+
       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



Personal tools
Namespaces

Variants
Actions
Navigation
metabolites
Toolbox