Template:MassBank/Matrix

From Metabolomics.JP
(Difference between revisions)
Jump to: navigation, search
m
m
Line 75: Line 75:
 
     end
 
     end
 
     x = formula;
 
     x = formula;
     table.insert(y,formula);
+
     y[formula] = true;
 
   end
 
   end
 
   ---Check Fragments---
 
   ---Check Fragments---
 
   for i,v in pairs(fragments) do
 
   for i,v in pairs(fragments) do
     if (y[i] == nil) then print("<big>Parent ion "..i.." does not exist.</big>") end
+
     if (not y[i]) then print("<big>Parent ion "..i.." does not exist.</big>") end
 
     for j,w in pairs(v) do
 
     for j,w in pairs(v) do
       if (y[j] == nil) then print("<big>Fragment ion "..j.." does not exist.</big>") end
+
       if (not y[j]) then print("<big>Fragment ion "..j.." does not exist.</big>") end
 
     end
 
     end
 
   end
 
   end

Revision as of 00:23, 14 May 2009

No 'ION INFO' line in the form &&(formula)&&(formula)&&...&&

MassBank/Matrix 64
CHClONSP
64
CHClONSP




Personal tools
Namespaces

Variants
Actions
Navigation
metabolites
Toolbox