Skip to content

Commit 2ebfa38

Browse files
created build exp shell scrtip
1 parent 19c1c9b commit 2ebfa38

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

build/liverpdo/build_exp.sh

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
set -euo pipefail
2+
3+
trap 'echo "Error on or near line $LINENO while executing: $BASH_COMMAND"; exit 1' ERR
4+
5+
# running the drug python script
6+
echo "Running 04-experiments-crcpdo.py with token, samples file $1 and drugs file $2."
7+
python3 04-experiments-crcpdo.py --Download --Experiment --Token $SYNAPSE_AUTH_TOKEN --Samples $1 --Drugs $2
8+
9+
# running the drug descriptor python script
10+
python3 fit_curve.py --input /tmp/crcpdo_experiments_for_curve_fitting.tsv --output /tmp/crcpdo_experiments.tsv
11+
12+
# change name of script
13+
mv /tmp/crcpdo_experiments.tsv.0 /tmp/crcpdo_experiments.tsv

0 commit comments

Comments
 (0)