Commit e27854f9 authored by Miroslav Kratochvil's avatar Miroslav Kratochvil
Browse files

GRR IDs may contain underscores

...which seems logical as they are interpreted as normal identifiers in matlab.
parent 906477b9
Pipeline #51577 passed with stages
in 10 minutes and 27 seconds
......@@ -62,7 +62,7 @@ function _parse_grr_to_sbml(str::String)::Maybe{SBML.GeneProductAssociation}
toks = String[]
m = Nothing
while !isnothing(begin
m = match(r"( +|[a-zA-Z0-9]+|[^ a-zA-Z0-9()]+|[(]|[)])(.*)", s)
m = match(r"( +|[a-zA-Z0-9_]+|[^ a-zA-Z0-9_()]+|[(]|[)])(.*)", s)
end)
tok = strip(m.captures[1])
!isempty(tok) && push!(toks, tok)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment