~madteam/mg5amcnlo/series2.0

« back to all changes in this revision

Viewing changes to madgraph/madweight/write_MadWeight.py

merge with 2.7.2 + fix madweight issue

Show diffs side-by-side

added added

removed removed

Lines of Context:
444
444
            else:
445
445
                line=' call class_' + ECS.chgt_var.lower() + '(x,'
446
446
            for particle in block.order_content:
447
 
                if particle.MG < 0:
448
 
                    self.use_propa.add(particle.MG)
 
447
 
449
448
                if type(particle.MG) == int:
 
449
                    if particle.MG < 0:
 
450
                        self.use_propa.add(particle.MG)                    
450
451
                    line += str(particle.MG) + ','
451
452
                elif isinstance(particle.MG, six.string_types):
452
453
                    if particle.MG in self.fuse_dict: