o GraphDRP parsl csa workflow #6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Docker Parsl GraphDRP CSA workflow | |
on: [push] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
container: | |
image: rajeeja/graphdrp-image:latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install missing libraries | |
run: | | |
apt-get update && apt-get install -y libxrender1 libxext6 | |
- name: Install and check | |
run: | | |
which python | |
python --version | |
which conda | |
conda env list | |
eval "$(conda shell.bash hook)" # Ensure Conda is properly initialized | |
conda activate graphdrp | |
pip install -e . | |
export PYTHONPATH=$PYTHONPATH:. | |
python -c "from improvelib.applications.drug_response_prediction.config import DRPPreprocessConfig; print('Import successful')" | |
BASE_DIR=$(pwd) | |
ls -ltrh | |
cd /app/GraphDRP | |
ls -ltrh | |
conda list -n graphdrp | |
python -c "import sys; print(sys.path)" | |
cd $BASE_DIR/workflows/csa/parsl/ | |
pip install cryptography==37.0.1 | |
pip install pyopenssl==22.0.0 | |
pip install cffi==1.14.5 | |
pip install parsl numpy pandas scikit-learn pyyaml | |
mv /app/GraphDRP/csa_data . | |
echo "Preprocess started" | |
ls -ltrh | |
python workflow_preprocess.py --config_file ./parsl_csa_githubactions.ini | |
echo "Preprocess done" | |
python workflow_csa.py --config_file ./parsl_csa_githubactions.ini | |
echo "Parsl CSA done" |