Template:MassBank/Matrix
From Metabolomics.JP
(Difference between revisions)
m |
m |
||
| Line 71: | Line 71: | ||
local x, y; | local x, y; | ||
for line in stdin:gmatch("[%S ,]+") do | for line in stdin:gmatch("[%S ,]+") do | ||
| − | if (string.find(line, ":") == nil) then ruler = line; | + | if (string.find(line, ":") == nil) |
| + | then ruler = string.gsub(line, "&&", " "); | ||
else ---register fragments--- | else ---register fragments--- | ||
head, tail = string.match(line, "([CHNOPSl0-9]+) *: *([CHNOPSl0-9 ]+)"); | head, tail = string.match(line, "([CHNOPSl0-9]+) *: *([CHNOPSl0-9 ]+)"); | ||
Revision as of 16:20, 12 May 2009
| MassBank/Matrix | 141 CHClNOPS |
| 141 CHClNOPS |