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

Image path var name in upper case letters

parent c7994dff
Branches
Tags
1 merge request!1Merge python environment
......@@ -2,8 +2,10 @@ from .__version__ import version
from os.path import isfile, abspath, join, dirname
image_path = abspath(join(dirname(__file__), "..", "GiBUU.simg"))
if not isfile(image_path):
MODULE_PATH = abspath(join(dirname(__file__), ".."))
IMAGE_PATH = join(MODULE_PATH, "GiBUU.simg")
if not isfile(IMAGE_PATH):
raise EnvironmentError(
"GiBUU image was not found at %s; please run `make build` or `make buildremote`"
% image_path)
% IMAGE_PATH)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment