Template:MassBank/Matrix
From Metabolomics.JP
(Difference between revisions)
m |
m |
||
Line 70: | Line 70: | ||
---Read Data--- | ---Read Data--- | ||
for line in stdin:gmatch("[%S ,]+") do | for line in stdin:gmatch("[%S ,]+") do | ||
− | if (string.find(line, "^(&&[A-Za-z0-9]+)+&&$") | + | if (string.find(line, "^(&&[A-Za-z0-9]+)+&&$") ~= nil) |
− | + | then ruler = string.gsub(line, "&&", " "); | |
else | else | ||
---register fragments--- | ---register fragments--- |
Revision as of 16:09, 13 May 2009
./lua: /tmp/mw_ex_lua_Lp0Ixp:87: attempt to call global 'exit' (a nil value) No ion information in the form &&(formula)&&(formula)&&...&&