Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
b6713b3
Create PyPi package
May 5, 2026
bc9a03f
updated cli imports
May 5, 2026
009fe49
update formatting
May 5, 2026
db431c4
formatting updates
May 5, 2026
eec75c6
updated dependency install
May 5, 2026
9062ce7
remove install docs
May 5, 2026
8f32543
update cli formatting
May 5, 2026
d97a689
autoflake unused functions
May 6, 2026
02a9461
update
May 6, 2026
f7150a8
update
May 6, 2026
9ad1796
update data folder
prameshsharma25 May 6, 2026
88cde78
update
prameshsharma25 May 6, 2026
b359eca
updated package structure
prameshsharma25 May 6, 2026
1cf419f
update
prameshsharma25 May 6, 2026
742a257
update
prameshsharma25 May 6, 2026
4cbd8a8
update
prameshsharma25 May 7, 2026
a782e76
update
prameshsharma25 May 7, 2026
f0c0dff
update
prameshsharma25 May 7, 2026
4d636a3
update
prameshsharma25 May 7, 2026
94cc7c2
update
prameshsharma25 May 7, 2026
3bbe686
update
May 7, 2026
de33106
update
May 8, 2026
ce9a3b1
update
May 9, 2026
c3317d7
update
May 9, 2026
6092c90
update
May 9, 2026
8f8df82
update
May 9, 2026
4b6d013
update
May 9, 2026
665f4f2
update
May 9, 2026
373fd83
update
May 9, 2026
5d0504e
update
May 10, 2026
ab1f13a
update
May 10, 2026
b86369a
update
prameshsharma25 May 11, 2026
58ff227
update
prameshsharma25 May 11, 2026
1186ef0
update
prameshsharma25 May 11, 2026
cb8e6d8
update
prameshsharma25 May 11, 2026
a7fb9a9
update
prameshsharma25 May 11, 2026
dce99e3
update
prameshsharma25 May 11, 2026
c995ec1
update
prameshsharma25 May 12, 2026
f69f16a
update
prameshsharma25 May 12, 2026
902e186
update
prameshsharma25 May 13, 2026
42f5628
update
prameshsharma25 May 13, 2026
acf552b
update
May 14, 2026
255f37e
update
May 14, 2026
b99de13
update
prameshsharma25 May 14, 2026
5f299d4
update
prameshsharma25 May 15, 2026
5c3b833
update
prameshsharma25 May 15, 2026
6e710b1
update
prameshsharma25 May 19, 2026
0340582
update
prameshsharma25 May 19, 2026
e33336a
update
prameshsharma25 May 19, 2026
f7f1edc
update
prameshsharma25 May 19, 2026
91975ae
updat
prameshsharma25 May 19, 2026
631a338
update
prameshsharma25 May 19, 2026
367df49
update
prameshsharma25 May 19, 2026
c29306d
update
prameshsharma25 May 19, 2026
02868b1
bump version
prameshsharma25 May 19, 2026
a836fcf
update
prameshsharma25 May 19, 2026
076913f
update
prameshsharma25 May 19, 2026
ce56814
update
prameshsharma25 May 20, 2026
7d325fe
bump version
prameshsharma25 May 20, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
76 changes: 76 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
test:
runs-on: ubuntu-latest
permissions:
pull-requests: write
contents: write
checks: write

defaults:
run:
shell: bash -el {0}

steps:
- name: Check out repository
uses: actions/checkout@v4

- name: Set up conda
uses: conda-incubator/setup-miniconda@v3
with:
miniconda-version: latest
activate-environment: cf-random
python-version: '3.12'
auto-activate-base: false

- name: Cache conda environment
uses: actions/cache@v4
id: conda-cache
with:
path: ${{ env.CONDA }}/envs/cf-random
key: conda-${{ runner.os }}-${{ hashFiles('install.sh') }}

- name: Install dependencies
if: steps.conda-cache.outputs.cache-hit != 'true'
run: |
chmod +x install.sh
./install.sh

- name: Install dev dependencies
run: pip install -e ".[dev]"

- name: Run tests with coverage
run: |
pytest tests/ --cov=cf_random --cov-report=xml:coverage.xml --cov-report=term-missing | tee pytest-coverage.txt

- name: Upload coverage report
if: always()
uses: actions/upload-artifact@v4
with:
name: coverage-report
path: |
coverage.xml
pytest-coverage.txt

- name: Build package
run: python -m build

- name: Upload to Test PyPI
if: github.event_name == 'pull_request'
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.TEST_PYPI_API_TOKEN }}
run: twine upload --repository testpypi dist/*

- name: Upload to PyPI
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: twine upload dist/*
86 changes: 86 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
pip-wheel-metadata/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# PyInstaller
*.manifest
*.spec

# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/

# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

# IDE
.vscode/
.idea/
*.swp
*.swo
*~
.DS_Store

# Project specific
examples/*/results/
blind_prediction/
successful_predictions/
failed_predictions/
multimer_prediction/
test_data/
msa_folder/
structures_all.csv

# Foldseek
pdb*
pdb_*
tmp/


params/
msa_folder/
range_fs_pairs_all.txt
*.pdb
*.a3m
2oug_C-search
8 changes: 0 additions & 8 deletions Data/Fold-switch_hits-SPEACH_AF/pdb_pairs.csv

This file was deleted.

53 changes: 0 additions & 53 deletions Install/install_colabbatch_linux_101624.sh

This file was deleted.

4 changes: 4 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
include README.md
include LICENSE.md
recursive-include cf_random/data *
recursive-include examples *
Loading
Loading