Commit 743e724a authored by Till Bald's avatar Till Bald

[FIX] importing from distributed modules rather than modules installed by user

parent b5c4e5f9
Pipeline #9231252 passed with stages
in 65 minutes and 13 seconds
......@@ -37,7 +37,10 @@ else:
current_file_path = os.path.dirname(os.path.realpath(__file__))
os.chdir(current_file_path)
sys.path.append('./include/python')
# add include/python add the beginning of sys. path
# to make sure that the modules distributed with crosslinx are used
# rather than those found on the users system.
sys.path = ['./include/python'] + sys.path
# pylint: disable=wrong-import-position
import proteomatic
import fasta
......
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