~madteam/mg5amcnlo/series2.0

« back to all changes in this revision

Viewing changes to tests/unit_tests/iolibs/test_drawing_eps.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:
42
42
def define_model():
43
43
    global _model
44
44
    
45
 
    if hasattr(test_drawing,'_model'):
 
45
    if test_drawing._model:
46
46
        _model = test_drawing._model
47
47
    else:
48
48
        test_drawing.define_model()
150
150
        plot = draw_eps.EpsDiagramDrawer(diagram, \
151
151
                                        '__testdiag__.eps', model=_model, \
152
152
                                         amplitude='')
153
 
        
 
153
 
154
154
        plot.convert_diagram()
155
155
        plot.initialize()
156
156