Skip to content

Commit

Permalink
Merge pull request #260 from johannbrehmer/develop
Browse files Browse the repository at this point in the history
Last changes for v0.2.6
  • Loading branch information
johannbrehmer committed Feb 5, 2019
2 parents e2ce179 + 1ecd4b5 commit 9fed29c
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 8 deletions.
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@
author = 'Johann Brehmer, Felix Kling, Irina Espejo, and Kyle Cranmer'

# The short X.Y version
version = '0.2.5'
version = '0.2.6'
# The full version, including alpha/beta/rc tags
release = '0.2.5'
release = '0.2.6'


# -- General configuration ---------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion madminer/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.2.5"
__version__ = "0.2.6"
6 changes: 4 additions & 2 deletions madminer/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -688,7 +688,8 @@ def run(
python2_override : bool, optional
If True, MadMiner explicitly calls "python2" instead of relying on the system Python version to be
Python 2.6 or Python 2.7. Default: False.
Python 2.6 or Python 2.7. If you use systematics, make sure that the python interface of LHAPDF was compiled
with the Python version you are using. Default: False.
Returns
-------
Expand Down Expand Up @@ -799,7 +800,8 @@ def run_multiple(
python2_override : bool, optional
If True, MadMiner explicitly calls "python2" instead of relying on the system Python version to be
Python 2.6 or Python 2.7. Default: False.
Python 2.6 or Python 2.7. If you use systematics, make sure that the python interface of LHAPDF was compiled
with the Python version you are using. Default: False.
Returns
-------
Expand Down
8 changes: 6 additions & 2 deletions madminer/utils/interfaces/mg.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,9 @@ def generate_mg_process(
# Explicitly call Python 2 if necessary
python_call = "python2 " if explicit_python_call else ""

_ = call_command(initial_command + python_call + mg_directory + "/bin/mg5_aMC " + temp_proc_card_file, log_file=log_file)
_ = call_command(
initial_command + python_call + mg_directory + "/bin/mg5_aMC " + temp_proc_card_file, log_file=log_file
)


def prepare_run_mg_pythia(
Expand Down Expand Up @@ -400,7 +402,9 @@ def run_mg_pythia(

# Python 2 support
python_call = "python2 " if explicit_python_call else ""
_ = call_command(initial_command + python_call + mg_directory + "/bin/mg5_aMC " + proc_card_filename, log_file=log_file)
_ = call_command(
initial_command + python_call + mg_directory + "/bin/mg5_aMC " + proc_card_filename, log_file=log_file
)


def copy_ufo_model(ufo_directory, mg_directory):
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
EMAIL = 'johann.brehmer@nyu.edu'
AUTHOR = 'Johann Brehmer, Felix Kling, Irina Espejo, Kyle Cranmer'
REQUIRES_PYTHON = '>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, <4'
VERSION = '0.2.5'
VERSION = '0.2.6'

# What packages are required for this module to be executed?
REQUIRED = [
Expand Down

0 comments on commit 9fed29c

Please sign in to comment.