Template:MassBank/Matrix
From Metabolomics.JP
(Difference between revisions)
m |
|||
Line 54: | Line 54: | ||
else | else | ||
---register fragments--- | ---register fragments--- | ||
− | head, tail = string.match(line, "^& | + | head, tail = string.match(line, "^&&(["..FORMULA_CHAR.."]+) *: *(["..FORMULA_CHAR.." ]+)$") |
if (head ~= nil and tail ~= nil) then | if (head ~= nil and tail ~= nil) then | ||
if (fragments[head] == nil) then y = {} else y = fragments[head] end | if (fragments[head] == nil) then y = {} else y = fragments[head] end | ||
Line 151: | Line 151: | ||
repeat | repeat | ||
if (string.find(line, "^&&[&%a%d]+&&$") ~= nil) then break end | if (string.find(line, "^&&[&%a%d]+&&$") ~= nil) then break end | ||
− | local h, t = string.match(line, "^& | + | local h, t = string.match(line, "^&&(["..FORMULA_CHAR.."]+) *: *(["..FORMULA_CHAR.." ]+)$"); |
if (h ~= nil and t ~= nil) then | if (h ~= nil and t ~= nil) then | ||
if (comment ~= "") then | if (comment ~= "") then |
Revision as of 11:40, 14 May 2009
Ojimatrix
No "ION INFO" line in the form &&(formula)&&(formula)&&...&&
MassBank/Matrix | 64 CHClONSP |
64 CHClONSP |
|
Links
Annotations
Parent | Fragment | Comments |
---|---|---|
CHClNOPS |