Template:MassBank/Matrix
From Metabolomics.JP
(Difference between revisions)
m |
m |
||
| Line 120: | Line 120: | ||
local ruler | local ruler | ||
for line in stdin:gmatch("[%S ,]+") do | for line in stdin:gmatch("[%S ,]+") do | ||
| − | if (string.find(line, "^&&[&%a%d]+&&$") ~= nil) | + | if (string.find(line, "^&&[&%a%d]+&&$") ~= nil) then |
print(ruler) return | print(ruler) return | ||
end | end | ||
| Line 131: | Line 131: | ||
local ruler = nil | local ruler = nil | ||
for line in stdin:gmatch("[%S ,]+") do | for line in stdin:gmatch("[%S ,]+") do | ||
| − | if (string.find(line, "^&&[&%a%d]+&&$") == nil) | + | if (string.find(line, "^&&[&%a%d]+&&$") == nil) then |
print(line) | print(line) | ||
end | end | ||
Revision as of 23:51, 13 May 2009
No 'ION INFO' line in the form &&(formula)&&(formula)&&...&&
| MassBank/Matrix | 64 CHClONSP |
| 64 CHClONSP |
|
CHClNOPS