Commit f2cce7e7 authored by Stefan Schuhbaeck's avatar Stefan Schuhbaeck
Browse files

fix bug in install_vadere_analysis_tool

parent a98fa19c
Pipeline #75483 failed with stages
in 1 minute and 5 seconds
......@@ -29,7 +29,7 @@ def install_package_if_needed(package_name='VadereAnalysisTool', search_path='To
dist_dir = os.path.join(search_path, "dist")
wheel_files = [f for f in os.listdir(dist_dir) if f.endswith(".whl")]
if len(wheel_files) > 0:
dist_path = os.path.join(search_path, "dist", wheel_files[0])
dist_path = os.path.join("dist", wheel_files[0])
user = getpass.getuser()
print("\nInstall package {} locally for user {} ...".format(dist_path, user))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment