File tree 2 files changed +65
-0
lines changed
2 files changed +65
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Docker Parsl GraphDRP CSA workflow
2
+ on : [push]
3
+ jobs :
4
+ test :
5
+ runs-on : ubuntu-latest
6
+ container :
7
+ image : rajeeja/graphdrp-image:latest
8
+ steps :
9
+ - uses : actions/checkout@v4
10
+ - name : Install missing libraries
11
+ run : |
12
+ apt-get update && apt-get install -y libxrender1 libxext6
13
+ - name : Install and check
14
+ run : |
15
+ which python
16
+ python --version
17
+ which conda
18
+ conda env list
19
+ eval "$(conda shell.bash hook)" # Ensure Conda is properly initialized
20
+ conda activate graphdrp
21
+ pip install -e .
22
+ export PYTHONPATH=$PYTHONPATH:.
23
+ python -c "from improvelib.applications.drug_response_prediction.config import DRPPreprocessConfig; print('Import successful')"
24
+ BASE_DIR=$(pwd)
25
+ ls -ltrh
26
+ cd /app/GraphDRP
27
+ ls -ltrh
28
+ conda list -n graphdrp
29
+ python -c "import sys; print(sys.path)"
30
+ cd $BASE_DIR/workflows/csa/parsl/
31
+ pip install cryptography==37.0.1
32
+ pip install pyopenssl==22.0.0
33
+ pip install cffi==1.14.5
34
+ pip install parsl numpy pandas scikit-learn pyyaml
35
+ mv /app/GraphDRP/csa_data .
36
+ echo "Preprocess started"
37
+ ls -ltrh
38
+ python workflow_preprocess.py --config_file ./parsl_csa_githubactions.ini
39
+ echo "Preprocess done"
40
+ python workflow_csa.py --config_file ./parsl_csa_githubactions.ini
41
+ echo "Parsl CSA done"
Original file line number Diff line number Diff line change
1
+ [DEFAULT]
2
+ input_dir = ./csa_data/raw_data
3
+ y_col_name = auc
4
+ use_singularity = False
5
+ singularity_image = path_to_your_singularity_container.sif
6
+ hyperparameters_file = ./hyperparameters_default.json
7
+ model_name = graphdrp
8
+ model_scripts_dir = /app/GraphDRP
9
+ model_environment = graphdrp
10
+ only_cross_study = False
11
+ epochs = 2
12
+ input_supp_data_dir = ' '
13
+
14
+ ; # Exp 3
15
+ output_dir = ./parsl_csa_exp3
16
+ source_datasets = [" CCLE" ," gCSI" ]
17
+ target_datasets = [" CCLE" ," gCSI" ]
18
+ split = [" 0" ," 1" ]
19
+
20
+ [Preprocess]
21
+
22
+ [Train]
23
+
24
+ [Infer]
You can’t perform that action at this time.
0 commit comments