Skip to content

Commit 9a63306

Browse files
author
Vignesh Ram Somnath
committed
First commit
0 parents  commit 9a63306

86 files changed

Lines changed: 24344 additions & 0 deletions

Some content is hidden

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

.github/workflows/pre-commit.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Based on https://github.com/pre-commit/action
2+
name: pre-commit
3+
4+
on:
5+
pull_request:
6+
push:
7+
branches: [main]
8+
9+
jobs:
10+
pre-commit:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v3
14+
- uses: actions/setup-python@v3
15+
- uses: pre-commit/action@v3.0.0

.gitignore

Lines changed: 191 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,191 @@
1+
homework
2+
inference_out_dir_not_specified
3+
.plotly_cache
4+
.DS_store
5+
renew.sh
6+
tmux_renew.sh
7+
commit.sh
8+
images
9+
# Byte-compiled / optimized / DLL files
10+
__pycache__/
11+
*.py[cod]
12+
*$py.class
13+
14+
# C extensions
15+
*.so
16+
.so3_*
17+
18+
# Distribution / packaging
19+
.Python
20+
build/
21+
develop-eggs/
22+
dist/
23+
downloads/
24+
eggs/
25+
.eggs/
26+
lib/
27+
lib64/
28+
parts/
29+
sdist/
30+
var/
31+
wheels/
32+
*.egg-info/
33+
.installed.cfg
34+
*.egg
35+
MANIFEST
36+
37+
# PyInstaller
38+
# Usually these files are written by a python script from a template
39+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
40+
*.manifest
41+
*.spec
42+
43+
# Installer logs
44+
pip-log.txt
45+
pip-delete-this-directory.txt
46+
47+
# Unit test / coverage reports
48+
htmlcov/
49+
.tox/
50+
.coverage
51+
.coverage.*
52+
.cache
53+
nosetests.xml
54+
coverage.xml
55+
*.cover
56+
.hypothesis/
57+
.pytest_cache/
58+
59+
# Translations
60+
*.mo
61+
*.pot
62+
63+
# Django stuff:
64+
*.log
65+
local_settings.py
66+
db.sqlite3
67+
68+
# Flask stuff:
69+
instance/
70+
.webassets-cache
71+
72+
# Scrapy stuff:
73+
.scrapy
74+
75+
# Sphinx documentation
76+
docs/_build/
77+
78+
# PyBuilder
79+
target/
80+
81+
# Jupyter Notebook
82+
.ipynb_checkpoints
83+
84+
# pyenv
85+
.python-version
86+
87+
# celery beat schedule file
88+
celerybeat-schedule
89+
90+
# SageMath parsed files
91+
*.sage.py
92+
93+
# Environments
94+
.env
95+
.venv
96+
env/
97+
venv/
98+
ENV/
99+
env.bak/
100+
venv.bak/
101+
slurm*
102+
*~
103+
104+
# Spyder project settings
105+
.spyderproject
106+
.spyproject
107+
108+
# Rope project settings
109+
.ropeproject
110+
111+
# mkdocs documentation
112+
/site
113+
114+
# mypy
115+
.mypy_cache/
116+
local_config_inference2.yml
117+
.vscode/
118+
119+
120+
*.zip
121+
122+
.idea/
123+
124+
125+
#################### Project specific
126+
.p.npy
127+
.score.npy
128+
.torus_p.npy
129+
.torus_score.npy
130+
# this ignores everything in data except for the file
131+
!/data
132+
/data/*
133+
!/data/splits
134+
!/data/protein_ligand_example_csv.csv
135+
!/data/testset_csv.csv
136+
!/data/INDEX_general_PL_data.2020
137+
test_run
138+
139+
cache
140+
wandb
141+
logs
142+
143+
# temporary files
144+
.openbabel_cache
145+
temp/
146+
bsub*
147+
stderr*
148+
stdout*
149+
!/workdir
150+
/workdir/*
151+
!/workdir/paper_confidence_model
152+
!/workdir/paper_score_model
153+
runs2
154+
results
155+
outputs
156+
wandb
157+
# this excludes everything in the runs directory except for that specific run
158+
!/runs
159+
/runs/*
160+
!/runs/rigid_redocking
161+
!/runs/flexible_self_docking
162+
local_config.yml
163+
local_config_inference.yml
164+
local_config_filtering.yml
165+
temp1.py
166+
temp5.py
167+
temp3.py
168+
temp4.py
169+
temp5.py
170+
temp6.py
171+
temp7.py
172+
esm
173+
174+
data/**
175+
*.ckpt
176+
*.pt
177+
workdir/**
178+
*.pdb
179+
*.sdf
180+
*.pkl
181+
*.npy
182+
notebooks/**
183+
rebuttal/**
184+
*.yaml
185+
*.pdf
186+
*.ipynb
187+
testing/**
188+
baselines/**
189+
*.sh
190+
misc/**
191+
*.csv

.pre-commit-config.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
repos:
2+
- repo: https://github.com/pre-commit/pre-commit-hooks
3+
rev: v4.4.0
4+
hooks:
5+
- id: end-of-file-fixer
6+
- id: trailing-whitespace
7+
- id: check-yaml
8+
- id: check-toml
9+
- id: check-json
10+
- id: check-merge-conflict
11+
- id: requirements-txt-fixer
12+
- id: detect-private-key
13+
- repo: https://github.com/psf/black
14+
rev: 23.3.0
15+
hooks:
16+
- id: black
17+
exclude: ^legacy
18+
- repo: https://github.com/charliermarsh/ruff-pre-commit
19+
# Ruff version.
20+
rev: 'v0.5.5'
21+
hooks:
22+
- id: ruff
23+
args: [--fix]

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2025 Gabriele Corso, Vignesh Ram Somnath, Noah Getz
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

0 commit comments

Comments
 (0)