TobiasRubel / Pathway-Reconstruction-Tools

2 stars 0 forks source link

Config File Not Found #5

Closed annaritz closed 4 years ago

annaritz commented 4 years ago

When testing BowTieBuilder I'm getting the following error - looks like a config file is not committed?

Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/process.py", line 315, in _bootstrap
    self.run()
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "/Users/aritz/Documents/github/Pathway-Reconstruction-Tools/Reconstruction/main.py", line 102, in run_BowtieBuilder
    report('BowtieBuilder','bowtie_builder',interactome,labeled_nodes,pathway,k)
  File "/Users/aritz/Documents/github/Pathway-Reconstruction-Tools/Reconstruction/main.py", line 74, in report
    shutil.copy(EXAMPLE_CONFIG,os.path.join(DEST,'config.conf'))
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/shutil.py", line 415, in copy
    copyfile(src, dst, follow_symlinks=follow_symlinks)
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/shutil.py", line 261, in copyfile
    with open(src, 'rb') as fsrc, open(dst, 'wb') as fdst:
FileNotFoundError: [Errno 2] No such file or directory: '../Validation/PR/config.conf'
TobiasRubel commented 4 years ago

I suspect that this is a submodule problem. Can you check if your local copy of PR is up to date?

annaritz commented 4 years ago

Yep, that fixed it. We may want to make a note of this iin the README.md file.