Template:MassBank/Matrix

From Metabolomics.JP
(Difference between revisions)
Jump to: navigation, search
m
m
Line 117: Line 117:
 
</small>
 
</small>
  
 +
{{#repeat:MassBank/SearchFgmt|1|
 
{{#lua:
 
{{#lua:
   local ret = "";
+
   local fgmt = "";
 +
  local ruler;
 
   for line in stdin:gmatch("[%S ,]+") do
 
   for line in stdin:gmatch("[%S ,]+") do
     if (string.find(line, ":") ~= nil) then
+
     if (string.find(line, ":") == nil) then
 +
      ruler = line;
 +
    else
 
       head = string.match(line, "([CHNOPSl0-9]+) *: *[CHNOPSl0-9 ]+");
 
       head = string.match(line, "([CHNOPSl0-9]+) *: *[CHNOPSl0-9 ]+");
       ret = ret .. " " .. head;
+
       fgmt = fgmt .. " " .. head;
 
     end
 
     end
 
   end
 
   end
   print(ret);
+
   print(ruler);
|
+
|{{{data|CHClNOPS}}}
{{{data|CHClNOPS}}}
+
}}|&#160;}}
}}
+

Revision as of 15:33, 12 May 2009

MassBank/Matrix 141
CHClNOPS
141
CHClNOPS


Personal tools
Namespaces

Variants
Actions
Navigation
metabolites
Toolbox