Volatile:ListField

From Metabolomics.JP
(Difference between revisions)
Jump to: navigation, search
Line 16: Line 16:
 
   end
 
   end
 
   table.sort(id)
 
   table.sort(id)
 +
  k = tonumber("{{{3}}}")
 +
  if (k == nil) then k =0 end
 
   for _,v in ipairs(id) do
 
   for _,v in ipairs(id) do
    k = tonumber("{{{3}}}")
 
    if (k == nil) then k =0 end
 
 
     if (table.getn(list[v]) > k) then
 
     if (table.getn(list[v]) > k) then
 
       print("* {{{1}}} '''" .. v .. "'''")
 
       print("* {{{1}}} '''" .. v .. "'''")
 
       table.sort(list[v])
 
       table.sort(list[v])
      local f = true
 
 
       for i = 1,table.getn(list[v]) do
 
       for i = 1,table.getn(list[v]) do
 
         if (list[v][i] ~= list[v][i + 1]) then
 
         if (list[v][i] ~= list[v][i + 1]) then

Revision as of 15:31, 8 September 2011

Personal tools
Namespaces

Variants
Actions
Navigation
metabolites
Toolbox