Skip to content

Commit b00a02b

Browse files
authored
Merge pull request #1106 from fls-bioinformatics-core/enable-tests-in-pycharm
Enable unit tests to work from within PyCharm
2 parents e129a28 + f0cc65a commit b00a02b

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

auto_process_ngs/test/__init__.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# In order to run tests without installing the auto_process_ngs package
2+
# we need to add the package "bin" directory
3+
4+
import os
5+
__AUTO_PROCESS_BIN__ = os.path.normpath(os.path.join(os.path.dirname(__file__), "..", "..", "bin"))
6+
os.environ["PATH"] = f"{__AUTO_PROCESS_BIN__}{os.pathsep}{os.environ['PATH']}"

0 commit comments

Comments
 (0)