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 == 0) then
+
     if (count % 3 == 1 or count % 3 == 0) then
       --- do nothing for metabolite IDs ---
+
       --- do nothing for AtomMaps and metabolite IDs ---
 
       print(line);
 
       print(line);
 
     else  
 
     else  
       if (count==1) then
+
       if (count==2) 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:54, 16 March 2009



Personal tools
Namespaces

Variants
Actions
Navigation
metabolites
Toolbox