Skip to content

Commit f2cdac6

Browse files
author
Dilawar Singh
committed
Enabled tests for tsv scripts.
1 parent 326297e commit f2cdac6

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

test.sh

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#!/usr/bin/env bash
22

33
set -e
4-
set -x
54

65
# virtualenv does not require --user
76
PYTHON=$(which python)
@@ -14,8 +13,14 @@ find . -type f -name "*.py" | xargs -I file $PYTHON -m pylint \
1413
--exit-zero \
1514
-E file
1615

16+
# Run it in ./TestTSV directory.
17+
for _tsv in $(find ./TestTSV -name *.tsv -type f); do
18+
$PYTHON findSim.py ${_tsv} --model models/synSynth7.g
19+
done
20+
1721
$PYTHON findSim.py ./Curated/FindSim-Jain2009_Fig4F.tsv --model models/synSynth7.g
1822
$PYTHON findSim.py ./Curated/FindSim-Bhalla1999_fig2B.tsv --model models/synSynth7.g
19-
$PYTHON findSim.py ./Curated/FindSim-Gu2004_fig3B.tsv --model models/synSynth7.g
23+
# Following takes a lot of time to run.
24+
#$PYTHON findSim.py ./Curated/FindSim-Gu2004_fig3B.tsv --model models/synSynth7.g
2025
$PYTHON findSim.py ./Curated/FindSim-Ji2010_fig1C_ERK_acute.tsv --model models/synSynth7.g
2126
$PYTHON findSim.py ./Curated/FindSim-Bhalla1999_fig4C.tsv --model models/synSynth7.g

0 commit comments

Comments
 (0)