~madteam/mg5amcnlo/series2.0

« back to all changes in this revision

Viewing changes to madgraph/core/drawing.py

  • Committer: olivier Mattelaer
  • Date: 2016-05-12 11:00:18 UTC
  • mfrom: (262.1.150 2.3.4)
  • Revision ID: olivier.mattelaer@uclouvain.be-20160512110018-sevb79f0wm4g8mpp
pass to 2.4.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
670
670
        assert isinstance(diagram, base_objects.Diagram), \
671
671
                           'first argument should derivate from Diagram object'
672
672
        assert isinstance(model, base_objects.Model), \
673
 
                            'second argument should derivate from Model object'
 
673
                            'second argument should derivate from Model object, get %s' % type(model)
674
674
        
675
675
       
676
676
        self.diagram = diagram