TobiasRubel / Pathway-Reconstruction-Tools

2 stars 0 forks source link

HybridLinker has incorrect relative path for PathLinker call #3

Closed annaritz closed 4 years ago

annaritz commented 4 years ago

While running HybridLinker I am getting this error:

running all methods on ('../Interactomes/PathLinker_2018_human-ppi-weighted-cap0_75.txt', '../Pathways/Wnt-nodes.txt', '../Pathways/Wnt-edges.txt', 500)
Traceback (most recent call last):
  File "Methods/HybridLinker/main.py", line 112, in <module>
    main(sys.argv)
  File "Methods/HybridLinker/main.py", line 86, in main
    os.chdir('../PathLinker')
FileNotFoundError: [Errno 2] No such file or directory: '../PathLinker'

It seems like there is an incorrect relative directory change in the HybridLinker method.

TobiasRubel commented 4 years ago

Good catch. I've changed os.chdir('../PathLinker') to os.chdir('Methods/PathLinker'). This fixes the problem.