-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Remove MG5_aMC directory from PYTHONPATH (#72)
* This is apparently needed to avoid conflicts with how MadGraph determines the root_path. - c.f. https://bugs.launchpad.net/mg5amcnlo/+bug/2025061 * Add tests/test_root_path.sh to ensure that the root_path is valid.
- Loading branch information
1 parent
9a81991
commit 73c8357
Showing
7 changed files
with
36 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
generate e+ e- > e+ e- | ||
output bhabha |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,3 @@ | ||
def test_import_madgraph(): | ||
import madgraph | ||
|
||
assert madgraph | ||
|
||
|
||
def test_import_lhapdf(): | ||
import lhapdf | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/bash | ||
# c.f. https://github.com/scailfin/MadGraph5_aMC-NLO/pull/72 | ||
|
||
set -e | ||
set -u | ||
set -o pipefail | ||
|
||
if [ -d bhabha ]; then | ||
rm -r bhabha | ||
fi | ||
|
||
if [ -f py.py ]; then | ||
rm py.py | ||
fi | ||
|
||
mg5_aMC bhabha_scattering.mg5 | ||
./bhabha/bin/madevent launch -f |