Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
36a66ef
First iteration of refacotring from GenerativeProteomics to GainPro
ypriverol Dec 14, 2025
8416da9
major updates inside the package
ypriverol Dec 14, 2025
db43b53
Update GenerativeProteomics/gaindann.py
ypriverol Dec 14, 2025
3e54455
Update GenerativeProteomics/train.py
ypriverol Dec 14, 2025
4dd03e3
Update GenerativeProteomics/gaindann.py
ypriverol Dec 14, 2025
98ce525
Update GenerativeProteomics/imputation_management.py
ypriverol Dec 14, 2025
135c883
Merge pull request #1 from bigbio/main
ypriverol Dec 14, 2025
9f9e466
notebooks organized
ypriverol Dec 14, 2025
11110db
organize notebooks
ypriverol Dec 14, 2025
dbbe64e
Update README.md
ypriverol Dec 15, 2025
1a11b8e
update CI/CD
ypriverol Dec 15, 2025
ee72859
Merge branch 'dev' of https://github.com/bigbio/GainPro into dev
ypriverol Dec 15, 2025
e0f8ccc
consolidate more about gainpro
ypriverol Dec 15, 2025
71afc9d
Update GenerativeProteomics/gainpro.py
ypriverol Dec 15, 2025
d79bff9
Merge pull request #2 from bigbio/dev
ypriverol Dec 15, 2025
3a80975
Major change to GainPro package
ypriverol Dec 15, 2025
5702ddb
Merge branch 'dev' of https://github.com/bigbio/GainPro into dev
ypriverol Dec 15, 2025
8d28bb8
improve the docs
ypriverol Dec 15, 2025
5f480d3
Merge branch 'main' of https://github.com/bigbio/GainPro into dev
ypriverol Dec 15, 2025
2d505c2
minor changes github actions
ypriverol Dec 15, 2025
e84a10a
Update docs/source/GainPro.manager.rst
ypriverol Dec 15, 2025
d0eea52
Update docs/source/GainPro.rst
ypriverol Dec 15, 2025
eadbe04
Merge pull request #3 from bigbio/dev
ypriverol Dec 15, 2025
9066cc6
Merge branch 'main' of https://github.com/QuantitativeBiology/GainPro…
ypriverol Jan 5, 2026
c2b19f2
first comment Diogo
ypriverol Jan 5, 2026
b35781a
Second comment from Diogo
ypriverol Jan 5, 2026
9374735
minor changes
ypriverol Jan 5, 2026
bf475e0
minor change
ypriverol Jan 5, 2026
f582067
Merge pull request #4 from bigbio/dev
ypriverol Jan 5, 2026
ca47cf4
mor comments from Copilot tackled
ypriverol Jan 5, 2026
ac9b65f
minor changes
ypriverol Jan 5, 2026
9acd5c0
Merge branch 'main' of https://github.com/bigbio/GainPro into dev
ypriverol Jan 5, 2026
7897145
Merge pull request #5 from bigbio/dev
ypriverol Jan 5, 2026
9db437e
Update MANIFEST.in
ypriverol Jan 5, 2026
b2e3a31
another small change
ypriverol Jan 5, 2026
a014d8f
minor changes also.
ypriverol Jan 5, 2026
b8f91cb
Merge pull request #6 from bigbio/dev
ypriverol Jan 5, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 38 additions & 8 deletions .github/workflows/run_continuous_integration.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,59 @@
name: Run tests on GenerativeProteomics and tests
name: CI - Run Tests

on:
push:
branches: [main, master, develop]
paths:
- 'GenerativeProteomics/**'
- 'gainpro/**'
- 'tests/**'
- 'requirements.txt'
- 'pyproject.toml'
pull_request:
branches: [main, master, develop]
paths:
- 'gainpro/**'
- 'tests/**'
- 'requirements.txt'
- 'pyproject.toml'

jobs:
run-tests:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.10', '3.11']

steps:
- name: Checkout repo
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Python
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: '3.11'
python-version: ${{ matrix.python-version }}

- name: Cache pip dependencies
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
# Ensure numpy < 2 for PyTorch compatibility
pip install "numpy<2"
# Install package in editable mode for import tests
pip install -e .

- name: Run tests
run: |
python -m unittest discover
working-directory: ./tests
python -m unittest discover -v
working-directory: ./tests

- name: Test package import
run: |
python -c "from gainpro import Data, Params, Network, Metrics; print('Package imports successful!')"
47 changes: 34 additions & 13 deletions .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,50 @@
name: Run Tests on Schedule

name: Scheduled Tests

on:
schedule:
- cron: '0 0 */1 * *'
workflow_dispatch:
# Run daily at midnight UTC
- cron: '0 0 * * *'
workflow_dispatch:
# Allow manual triggering

jobs:
test:
runs-on: ubuntu-latest
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.10', '3.11']

steps:
- name: Checkout the code from the repository
uses: actions/checkout@v2
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Set up Python
uses: actions/setup-python@v2
- name: Cache pip dependencies
uses: actions/cache@v4
with:
python-version: '3.11'
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-

- name: Install dependencies
run: |
pip install -r requirements.txt
python -m pip install --upgrade pip
pip install -r requirements.txt
# Ensure numpy < 2 for PyTorch compatibility
pip install "numpy<2"
# Install package in editable mode for import tests
pip install -e .

- name: Run tests
run: |
python -m unittest discover
working-directory: ./tests
python -m unittest discover -v
working-directory: ./tests

- name: Test package import
run: |
python -c "from gainpro import Data, Params, Network, Metrics; print('Package imports successful!')"
Loading