~maddevelopers/mg5amcnlo/2.6.3_rwgt

« back to all changes in this revision

Viewing changes to madgraph/various/lhe_parser.py

  • Committer: olivier-mattelaer
  • Date: 2017-08-16 21:28:30 UTC
  • mfrom: (272.1.60 2.5.6)
  • Revision ID: olivier-mattelaer-20170816212830-sfl8jfv8pmpm5l2j
pass to 2.6.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
2669
2669
        #     scale/pdf weights). That means that in practice this weight is not used.
2670
2670
        try:
2671
2671
            self.bias_wgt = float(data[flag+15])
2672
 
        except KeyError:
 
2672
        except IndexError:
2673
2673
            self.bias_wgt = 1.0
2674
2674
            
2675
2675
        if not keep_bias: