Skip to content

Commit 9cec835

Browse files
committed
Upload v0.4.3
1 parent 6384d79 commit 9cec835

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+138405
-1158
lines changed
1.79 MB
Loading
1.85 MB
Loading
1.32 MB
Loading
349 KB
Loading
Lines changed: 32 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This workflow will install Python dependencies, run tests and lint with multiple versions of Python
22
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
33

4-
name: build
4+
name: CI
55

66
on: [push]
77

@@ -14,7 +14,10 @@ jobs:
1414
runs-on: [ubuntu-latest]
1515
strategy:
1616
matrix:
17-
python-version: ["3.10", "3.11", "3.12"]
17+
python-version: ["3.10", "3.11", "3.12", "3.13"]
18+
env:
19+
QT_QPA_PLATFORM: offscreen
20+
DISPLAY: ':99.0'
1821
steps:
1922
- uses: actions/checkout@v4
2023
- name: Set up Python ${{ matrix.python-version }}
@@ -33,16 +36,30 @@ jobs:
3336
run: |
3437
# stop the build if there are Python syntax errors or undefined names
3538
flake8 ./pypef --count --select=E9,F63,F7,F82 --show-source --statistics
36-
- name: Export Pythonpath and run PyPEF API and CLI version test with pytest
39+
- name: Export Pythonpath and run tests using the main script
3740
run: |
38-
export PYTHONPATH="${PYTHONPATH}:${PWD}" && python -m pytest tests/
41+
export PYTHONPATH="${PYTHONPATH}:${PWD}" && python -m pytest ./tests/ -v -m "not pip_specific"
42+
- name: Export Pythonpath and run tests using pip-installation
43+
run: |
44+
export PYTHONPATH=""
45+
sudo apt update
46+
sudo apt install -y libegl1 xvfb \
47+
libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 \
48+
libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-xfixes0
49+
Xvfb :99 -screen 0 1920x1080x24 -ac &
50+
sleep 3
51+
pip install .[gui]
52+
echo $(which pypef)
53+
python -m pytest ./tests/ -v -m "not main_script_specific" --log-cli-level=INFO
3954
4055
windows:
4156
name: windows
4257
runs-on: [windows-latest]
4358
strategy:
4459
matrix:
45-
python-version: ["3.10", "3.11", "3.12"]
60+
python-version: ["3.10", "3.11", "3.12", "3.13"]
61+
env:
62+
QT_QPA_PLATFORM: offscreen
4663
steps:
4764
- uses: actions/checkout@v4
4865
- name: Set up Python ${{ matrix.python-version }}
@@ -61,7 +78,15 @@ jobs:
6178
run: |
6279
# stop the build if there are Python syntax errors or undefined names
6380
flake8 .\pypef --count --select=E9,F63,F7,F82 --show-source --statistics
64-
- name: Export Pythonpath and run PyPEF API and CLI version test with pytest
81+
- name: Export Pythonpath and run tests using the main script
82+
shell: pwsh
83+
run: |
84+
$env:PYTHONPATH = "${PWD};${env:PYTHONPATH}";python -m pytest .\tests\ -v -m "not pip_specific"
85+
- name: Export Pythonpath and run tests using pip-installation
6586
shell: pwsh
6687
run: |
67-
$env:PYTHONPATH = "${PWD};${env:PYTHONPATH}";python -m pytest .\tests\
88+
$env:PYTHONPATH = ""
89+
pip install .[gui]
90+
echo (Get-Command pypef).Source
91+
python -m pytest .\tests -v -m "not main_script_specific" --log-cli-level=INFO
92+

.gitignore

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Python3127/*
99
python-3.12.7-amd64.exe
1010
run_pypef_gui.bat
1111
run_pypef_gui.sh
12+
qt_window.spec
1213

1314
# Byte-compiled / optimized / DLL files
1415
__pycache__/
@@ -40,6 +41,7 @@ scripts/ProteinGym_runs/single_point_mut_performance_violin.png
4041
scripts/ProteinGym_runs/multi_point_mut_performance_violin.png
4142
scripts/ProteinGym_runs/single_point_mut_performance.png
4243
scripts/ProteinGym_runs/multi_point_mut_performance.png
44+
scripts/ProteinGym_runs/model_saves/*
4345

4446
scripts/ESM_finetuning/DMS_msa_files/
4547
scripts/ESM_finetuning/DMS_ProteinGym_substitutions/
@@ -360,6 +362,26 @@ datasets/ANEH/Predictions_Hybrid_ESM1v_Top37_ANEH_variants_prediction_set.txt
360362
datasets/ANEH/Pickles/HYBRIDGREMLINESM1V
361363
datasets/ANEH/SSM_landscape.png
362364
datasets/ANEH/SSM_landscape.csv
365+
datasets/ANEH/ANEH_72.6.params
366+
datasets/ANEH/HYBRIDPLMC_DE_trajectories.png
367+
datasets/ANEH/MLGREMLIN_DE_trajectories.png
368+
datasets/ANEH/MLPLMC_DE_trajectories.png
369+
datasets/ANEH/Predictions_MLGREMLIN_37_ANEH_variants_prediction_set.txt
370+
datasets/ANEH/Predictions_MLPLMC_37_ANEH_variants_prediction_set.txt
371+
datasets/ANEH/Diverse_Double_Split/Predictions_MLGREMLIN_TopDiverse_Double_Split.txt
372+
datasets/ANEH/Diverse_Double_Split/Predictions_MLPLMC_TopDiverse_Double_Split.txt
373+
datasets/ANEH/Pickles/HYBRIDGREMLIN
374+
datasets/ANEH/Pickles/HYBRIDPLMC
375+
datasets/ANEH/Pickles/MLGREMLIN
376+
datasets/ANEH/Pickles/MLPLMC
377+
datasets/ANEH/Recomb_Double_Split/Predictions_MLGREMLIN_TopRecomb_Double_Split.txt
378+
datasets/ANEH/Recomb_Double_Split/Predictions_MLPLMC_TopRecomb_Double_Split.txt
379+
datasets/ANEH/Recomb_Quadruple_Split/Predictions_MLGREMLIN_TopRecomb_Quadruple_Split.txt
380+
datasets/ANEH/Recomb_Quadruple_Split/Predictions_MLPLMC_TopRecomb_Quadruple_Split.txt
381+
datasets/ANEH/Recomb_Quintuple_Split/Predictions_MLGREMLIN_TopRecomb_Quintuple_Split.txt
382+
datasets/ANEH/Recomb_Quintuple_Split/Predictions_MLPLMC_TopRecomb_Quintuple_Split.txt
383+
datasets/ANEH/Recomb_Triple_Split/Predictions_MLGREMLIN_TopRecomb_Triple_Split.txt
384+
datasets/ANEH/Recomb_Triple_Split/Predictions_MLPLMC_TopRecomb_Triple_Split.txt
363385

364386
datasets/AVGFP/apc.png
365387
datasets/AVGFP/avGFP_aaidx_encoded.csv
@@ -455,3 +477,19 @@ datasets/AVGFP/HYBRIDGREMLINESM1V_DE_trajectories.png
455477
datasets/AVGFP/Recomb_Double_Split/Predictions_Hybrid_ESM1v_TopRecomb_Double_Split.txt
456478
datasets/AVGFP/Recomb_Double_Split/Predictions_Hybrid_ProSST_TopRecomb_Double_Split.txt
457479
datasets/AVGFP/avGFP_shortened.csv
480+
datasets/AVGFP/DCA_Hybrid_Model_Performance_GREMLIN_ESM.png
481+
datasets/AVGFP/DCA_Hybrid_Model_Performance_Hybrid_ESM1v_ESM.png
482+
datasets/AVGFP/ML_Model_Performance_ONEHOT_onehot.png
483+
datasets/AVGFP/ML_Model_Performance_ONEHOT_PLS.png
484+
datasets/AVGFP/Predictions_Hybrid_ESM1v_avGFP_prediction_set.txt
485+
datasets/AVGFP/Predictions_Hybrid_ProSST_avGFP_prediction_set.txt
486+
datasets/AVGFP/Predictions_MLGREMLIN_avGFP_prediction_set.txt
487+
datasets/AVGFP/Predictions_ONEHOT_avGFP_prediction_set.txt
488+
datasets/AVGFP/CV_performance/ONEHOT_PLS_5-fold-CV.png
489+
datasets/AVGFP/CV_performance/ONEHOT_PLS_CV_Results.txt
490+
datasets/AVGFP/HYBRIDPLMC_DE_trajectories.png
491+
datasets/AVGFP/MLGREMLIN_DE_trajectories.png
492+
datasets/AVGFP/MLPLMC_DE_trajectories.png
493+
datasets/AVGFP/Predictions_GREMLIN_TopTS.txt
494+
datasets/AVGFP/Predictions_PLMC_TopTS.txt
495+
datasets/AVGFP/uref100_avgfp_jhmmer_119_plmc_42.6.params

0 commit comments

Comments
 (0)