Template:MassBank/Matrix

From Metabolomics.JP
(Difference between revisions)
Jump to: navigation, search
m
m
Line 151: Line 151:
 
     if (h ~= nil and t ~= nil) then
 
     if (h ~= nil and t ~= nil) then
 
       if (comment ~= "") then
 
       if (comment ~= "") then
         ret = ret .. "~-\n"
+
         ret = ret .."~-\n~~"..head.." ~~ "..tail.."\n~~ "..comment.."\n"
        ret = ret .. "~~"..head.." ~~ "..tail.."\n"
+
        ret = ret .. "~~ "..comment.."\n"
+
 
         comment = ""
 
         comment = ""
 
       end
 
       end
Line 164: Line 162:
 
   end
 
   end
 
   if (comment ~= "") then  
 
   if (comment ~= "") then  
     ret = ret .. "~-\n"
+
     ret = ret .. "~-\n~~"..head.." ~~ "..tail.."\n~~ "..comment.."\n"
    ret = ret .. "~~"..head.." ~~ "..tail.."\n"
+
    ret = ret .. "~~ "..comment.."\n"
+
 
   end
 
   end
 
   if (ret ~= "") then
 
   if (ret ~= "") then

Revision as of 01:50, 14 May 2009

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

MassBank/Matrix 64
CHClONSP
64
CHClONSP



./lua: /tmp/mw_ex_lua_riAthR:24: attempt to concatenate global 'tail' (a nil value)

Personal tools
Namespaces

Variants
Actions
Navigation
metabolites
Toolbox