Skip to content

Commit e722224

Browse files
committed
codebase cleanup, repo reorganization & SambVca cross-validation
- Format with ruff, fix bare excepts, boolean comparisons & dead code - Rename dbstep/examples/ to dbstep/data/, move images/ and sterimol.f - Remove DBLOOP, mcgowan.csv (data moved to constants.py) - Update H Bondi radius from 1.20 to 1.09 Å - Add SambVca 2.1 cross-validation tests (21 molecules, tolerance 0.2%) - Add .claude/ to .gitignore
1 parent 9782702 commit e722224

91 files changed

Lines changed: 4216 additions & 931 deletions

Some content is hidden

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

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,6 @@ htmlcov/
2828
# Tools
2929
.mypy_cache/
3030
.ruff_cache/
31+
32+
# Claude Code
33+
.claude/

CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ DBSTEP (DFT-Based Steric Parameters) is a Python package for computing steric pa
1717
- `writer.py` — Output formatting and file writing
1818
- `__init__.py` — Package init, `__version__`, `__all__`
1919
- `__main__.py` — Module entry point for `python -m dbstep`
20-
- `examples/`Example molecular structure files (xyz format)
20+
- `data/`Benchmark molecular structure files (xyz format)
2121
- `tests/` — Pytest test suite
2222
- `test_dbstep.py` — Sterimol parameter validation against Verloop's reference values
2323
- `test_calculator.py` — Unit tests for rotation/geometry math

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
![DBSTEP](DBSTEP_banner.png)
1+
![DBSTEP](images/DBSTEP_banner.png)
22
===
33

44
# DBSTEP
@@ -37,7 +37,7 @@ Calculate Sterimol parameters<sup>1</sup> (L, Bmin, Bmax), %Buried Volume<sup>2<
3737

3838
## Requirements & Dependencies
3939
* Python 3.9 or greater
40-
* Non-standard dependencies will be installed along with DBSTEP, but include [numpy](https://numpy.org/), [numba](https://numba.pydata.org/), [scipy](https://www.scipy.org/), and [cclib](https://cclib.github.io/).
40+
* Non-standard dependencies will be installed along with DBSTEP, but include [numpy](https://numpy.org/), [scipy](https://www.scipy.org/), and [cclib](https://cclib.github.io/).
4141

4242
## Install
4343

@@ -111,7 +111,7 @@ H 0.76 2.03 -1.25
111111

112112
A visualization of these parameters can be shown in the program PyMOL using the two output files created by DBSTEP, showing the L parameter in blue, Bmin parameter in green and Bmax parameter in red.
113113

114-
![Example1](Example1.png)
114+
![Example1](images/Example1.png)
115115

116116
2. Sterimol2Vec Parameters for Ph
117117

@@ -133,7 +133,7 @@ A visualization of these parameters can be shown in the program PyMOL using the
133133
```
134134

135135
Displayed in PyMOL, each new Bmin and Bmax axis is added along the L axis.
136-
![Example2](Example2.png)
136+
![Example2](images/Example2.png)
137137

138138

139139
3. Percent Buried Volume
@@ -147,7 +147,7 @@ A visualization of these parameters can be shown in the program PyMOL using the
147147
```
148148

149149
For percent buried volume, the PyMOL script will overlay an appropriate sized sphere where measurement took place.
150-
![Example3](Example3.png)
150+
![Example3](images/Example3.png)
151151

152152
4. Vol2Vec Parameters
153153

0 commit comments

Comments
 (0)