Sandbox

From Metabolomics.JP
(Difference between revisions)
Jump to: navigation, search
Line 6: Line 6:
 
   for id, name in stdin:gmatch("&&(%w+).Common Name=&&(%S+)") do
 
   for id, name in stdin:gmatch("&&(%w+).Common Name=&&(%S+)") do
 
     name = string.lower(name);
 
     name = string.lower(name);
     for term in string.gmatch(name,"([^&]+)&&") do
+
     for term in string.gmatch(name,"(%w+)") do
       if ((string.len(term) > 60)) then
+
       if ((string.len(term) > 30)) then
 
         if (H[term] == nil) then
 
         if (H[term] == nil) then
 
           H[term] = id; table.insert(I, term);
 
           H[term] = id; table.insert(I, term);

Revision as of 02:46, 2 October 2008

this is sandbox page.


Personal tools
Namespaces

Variants
Actions
Navigation
metabolites
Toolbox