~madteam/mg5amcnlo/series2.0

« back to all changes in this revision

Viewing changes to models/sm/write_param_card.py

merge with 2.7.2 + fix madweight issue

Show diffs side-by-side

added added

removed removed

Lines of Context:
117
117
        import cmath
118
118
        from parameters import all_parameters
119
119
        for parameter in all_parameters:
120
 
            exec("%s = %s" % (parameter.name, parameter.value))
 
120
            try:
 
121
                exec("%s = %s" % (parameter.name, parameter.value))
 
122
            except Exception:
 
123
                pass
121
124
        text = "##  Not dependent paramater.\n"
122
125
        text += "## Those values should be edited following analytical the \n"
123
126
        text += "## analytical expression. Some generator could simply ignore \n"