Skip to content
Snippets Groups Projects
Commit 543aa381 authored by Johannes Schumann's avatar Johannes Schumann
Browse files

Code style

parent a08732d6
No related branches found
No related tags found
No related merge requests found
Pipeline #14506 passed
...@@ -62,10 +62,11 @@ class Config(object): ...@@ -62,10 +62,11 @@ class Config(object):
dev_path = abspath(join(dirname(__file__), os.pardir, IMAGE_NAME)) dev_path = abspath(join(dirname(__file__), os.pardir, IMAGE_NAME))
if isfile(dev_path): if isfile(dev_path):
image_path = dev_path image_path = dev_path
elif click.confirm("Is the GiBUU image already available?", default=False): elif click.confirm("Is the GiBUU image already available?",
image_path = click.prompt( default=False):
"GiBUU image path?", type=click.Path(exists=True, dir_okay=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): elif click.confirm("Install image from remote?", default=True):
default_dir = join(os.environ["HOME"], ".km3buu") default_dir = join(os.environ["HOME"], ".km3buu")
image_dir = click.prompt( image_dir = click.prompt(
......
...@@ -84,12 +84,12 @@ def read_jobcard(filepath): ...@@ -84,12 +84,12 @@ def read_jobcard(filepath):
def generate_neutrino_jobcard_template( def generate_neutrino_jobcard_template(
process, process,
flavour, flavour,
energy, energy,
target, target,
write_events=False, write_events=False,
input_path=INPUT_PATH): # pragma: no cover input_path=INPUT_PATH): # pragma: no cover
""" """
Generate a jobcard for neutrino interaction Generate a jobcard for neutrino interaction
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment