From b33dd368ff9e7cb24c0e957e7a8023776ab4ed9e Mon Sep 17 00:00:00 2001 From: Janik <38459178+janikkokot@users.noreply.github.com> Date: Wed, 24 Jul 2024 08:19:24 +0200 Subject: [PATCH] Fix regex for SME adduct_ion Now the regex matches the other adduct_ion(s) regular expressions. --- api/src/main/resources/mzTab_m_swagger.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/main/resources/mzTab_m_swagger.yml b/api/src/main/resources/mzTab_m_swagger.yml index 1f803280..fea3ab38 100644 --- a/api/src/main/resources/mzTab_m_swagger.yml +++ b/api/src/main/resources/mzTab_m_swagger.yml @@ -1211,7 +1211,7 @@ definitions: OR (for negative mode): SME 1 … [M-H]- … SME 2 … [M+Cl]- … - pattern: '^\[\d*M([-][\w]*)\]\d*[+-]$' + pattern: '^\[\d*M([+-][\w]*)\]\d*[+-]$' exp_mass_to_charge: type: number description: The experimental mass/charge value for the precursor ion. If multiple adduct forms have been combined into a single identification event/search, then a single value e.g. for the protonated form SHOULD be reported here.