diff --git a/python/setup.cfg b/python/setup.cfg index f58d04eeb061f000b2d890aa26f542f70f3aa0c0..2c8d668ffdf9a3a8135dc52fc6e4c79b66c06e72 100644 --- a/python/setup.cfg +++ b/python/setup.cfg @@ -1,6 +1,6 @@ [flake8] # use a slightly longer line to be consistent with black -max-line-length = 88 +max-line-length = 90 # E231 is missing whitespace after a comma # this contradicts the black formatting rules diff --git a/python/tests/io/test_hist.py b/python/tests/io/test_hist.py index 7cf5b38fb7798c81680cf14d108e3b31dd3dcaf1..3bd11003ca663337f322ed9fea4a7f7559e75d03 100644 --- a/python/tests/io/test_hist.py +++ b/python/tests/io/test_hist.py @@ -16,7 +16,7 @@ import corsika from .. import build_directory # the directory containing 'testSaveBoostHistogram' -bindir = op.join(build_directory, "Framework", "Utilities") +bindir = op.join(build_directory, "bin") def generate_hist() -> str: @@ -32,14 +32,14 @@ def generate_hist() -> str: """ # we construct the name of the bin - bin = op.join(bindir, "testSaveBoostHistogram") + bin = op.join(bindir, "testFramework") # check if a histogram already exists if op.exists(op.join(bin, "hist.npz")): return op.join(bin, "hist.npz"), False else: # run the program - this generates "hist.npz" in the CWD - subprocess.call(bin) + subprocess.call([bin, "saveHistogram"]) return op.join(os.getcwd(), "hist.npz"), True