Skip to content

Commit c4ae0c3

Browse files
committed
Make a lighter test mode for interaction map
1 parent 4455a8b commit c4ae0c3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/python-package.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,4 @@ jobs:
5353
run: |
5454
set -x
5555
echo $(pwd)
56-
bash test/scripts/test.sh gh
56+
YUNTA_TEST=1 bash test/scripts/test.sh gh

yunta/interaction_utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232

3333
_INTERACTION_FILE_LOADED: bool = False
3434
ORGANISM_INTERACTIONS: dict = {}
35-
TEST_MODE: str = os.environ.get("YUNTA_TEST", "0")
35+
TEST_MODE: str = str(os.environ.get("YUNTA_TEST", "0"))
3636

3737
def _name_normalizer(x: Iterable[str]):
3838
x = [str(name).split("subsp.")[0].split("sp.")[0].split("(")[0].strip("'").strip().casefold() for name in x]

0 commit comments

Comments
 (0)