diff --git a/km3buu/config.py b/km3buu/config.py index 7b554f0638d6bffae91cd007808dc18042803558..3081aa7ca9a02cacc0492daa5260e01116b530c1 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 aa2ee6dd4d46623edcf3034051d617761d51e884..41cda8263d84bfcc8817ad0aa987075453abe8ec 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