Skip to content

Poorly formed xml from MG5 #323

@cspollard

Description

@cspollard

Madgraph sometimes writes out strange characters to the lhe file. For example, here's how vim displays a recently-produced file. I think it's safe to ignore these lines in the parsing. Currently they cause parsing to fail.

^[[1;31m#*                                                          *^[[1;0m
^[[1;31m#*          WARNING: UNKNOWN DEVELOPMENT VERSION.           *^[[1;0m
^[[1;31m#*            WARNING: DO NOT USE FOR PRODUCTION            *^[[1;0m
^[[1;31m#*                                                          *^[[1;0m

I could probably easily write a PR for this fix if others agree.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions