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, "^(&&[ | + | if (string.find(line, "^(&&[%a%d]+)+&&$") ~= nil) |
then ruler = string.gsub(line, "&&", " "); | then ruler = string.gsub(line, "&&", " "); | ||
else | else |
Revision as of 16:13, 13 May 2009
./lua: /tmp/mw_ex_lua_5kuuVW:87: attempt to call global 'exit' (a nil value) No ion information in the form &&(formula)&&(formula)&&...&&