1
################################################################################
3
# Copyright (c) 2009 The MadGraph Development team and Contributors
5
# This file is a part of the MadGraph 5 project, an application which
6
# automatically generates Feynman diagrams and matrix elements for arbitrary
7
# high-energy processes in the Standard Model and beyond.
9
# It is subject to the MadGraph license which should accompany this
12
# For more information, please visit: http://madgraph.phys.ucl.ac.be
14
################################################################################
15
class MadGraph5Error(Exception):
16
"""Exception raised if an exception is find
17
Those Types of error will stop nicely in the cmd interface"""
19
class InvalidCmd(MadGraph5Error):
20
"""a class for the invalid syntax call"""
22
class aMCatNLOError(MadGraph5Error):
27
#Look for basic file position MG5DIR and MG4DIR
28
MG5DIR = os.path.realpath(os.path.join(os.path.dirname(__file__),