From 543aa3811ab509ac0ef69908dd30571126231a5c Mon Sep 17 00:00:00 2001 From: Johannes Schumann <jschumann@km3net.de> Date: Mon, 12 Oct 2020 13:28:31 +0200 Subject: [PATCH] Code style --- km3buu/config.py | 9 +++++---- km3buu/jobcard.py | 12 ++++++------ 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/km3buu/config.py b/km3buu/config.py index 7b554f0..3081aa7 100644 --- a/km3buu/config.py +++ b/km3buu/config.py @@ -62,10 +62,11 @@ class Config(object): dev_path = abspath(join(dirname(__file__), os.pardir, IMAGE_NAME)) if isfile(dev_path): image_path = dev_path - elif click.confirm("Is the GiBUU image already available?", default=False): - image_path = click.prompt( - "GiBUU image path?", type=click.Path(exists=True, dir_okay=False) - ) + elif click.confirm("Is the GiBUU image already available?", + default=False): + image_path = click.prompt("GiBUU image path?", + type=click.Path(exists=True, + dir_okay=False)) elif click.confirm("Install image from remote?", default=True): default_dir = join(os.environ["HOME"], ".km3buu") image_dir = click.prompt( diff --git a/km3buu/jobcard.py b/km3buu/jobcard.py index aa2ee6d..41cda82 100644 --- a/km3buu/jobcard.py +++ b/km3buu/jobcard.py @@ -84,12 +84,12 @@ def read_jobcard(filepath): def generate_neutrino_jobcard_template( - process, - flavour, - energy, - target, - write_events=False, - input_path=INPUT_PATH): # pragma: no cover + process, + flavour, + energy, + target, + write_events=False, + input_path=INPUT_PATH): # pragma: no cover """ Generate a jobcard for neutrino interaction -- GitLab