rust-sasa-python 0.2.4__tar.gz → 0.2.5__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {rust_sasa_python-0.2.4 → rust_sasa_python-0.2.5}/Cargo.lock +1 -1
- {rust_sasa_python-0.2.4 → rust_sasa_python-0.2.5}/Cargo.toml +1 -1
- {rust_sasa_python-0.2.4 → rust_sasa_python-0.2.5}/PKG-INFO +1 -1
- {rust_sasa_python-0.2.4 → rust_sasa_python-0.2.5}/src/lib.rs +3 -2
- {rust_sasa_python-0.2.4 → rust_sasa_python-0.2.5}/.github/workflows/CI.yml +0 -0
- {rust_sasa_python-0.2.4 → rust_sasa_python-0.2.5}/.gitignore +0 -0
- {rust_sasa_python-0.2.4 → rust_sasa_python-0.2.5}/DOCS.md +0 -0
- {rust_sasa_python-0.2.4 → rust_sasa_python-0.2.5}/LICENSE.md +0 -0
- {rust_sasa_python-0.2.4 → rust_sasa_python-0.2.5}/README.md +0 -0
- {rust_sasa_python-0.2.4 → rust_sasa_python-0.2.5}/example.cif +0 -0
- {rust_sasa_python-0.2.4 → rust_sasa_python-0.2.5}/pyproject.toml +0 -0
- {rust_sasa_python-0.2.4 → rust_sasa_python-0.2.5}/pytest.ini +0 -0
- {rust_sasa_python-0.2.4 → rust_sasa_python-0.2.5}/rust_sasa_python.pyi +0 -0
- {rust_sasa_python-0.2.4 → rust_sasa_python-0.2.5}/src/simd.rs +0 -0
- {rust_sasa_python-0.2.4 → rust_sasa_python-0.2.5}/tests/__init__.py +0 -0
- {rust_sasa_python-0.2.4 → rust_sasa_python-0.2.5}/tests/test_sasa.py +0 -0
- {rust_sasa_python-0.2.4 → rust_sasa_python-0.2.5}/uv.lock +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: rust-sasa-python
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.5
|
|
4
4
|
Classifier: Programming Language :: Rust
|
|
5
5
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
6
6
|
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
@@ -305,10 +305,11 @@ pub fn calculate_sasa_internal(
|
|
|
305
305
|
) -> PyResult<Vec<f32>> {
|
|
306
306
|
let atoms: Vec<Atom> = atoms_in
|
|
307
307
|
.into_iter()
|
|
308
|
-
.
|
|
308
|
+
.enumerate()
|
|
309
|
+
.map(|(index, (pos, radius, parent_id))| Atom {
|
|
309
310
|
position: Point3::new(pos.0, pos.1, pos.2),
|
|
310
311
|
id: index,
|
|
311
|
-
parent_id:
|
|
312
|
+
parent_id: Some(parent_id as isize),
|
|
312
313
|
radius,
|
|
313
314
|
})
|
|
314
315
|
.collect();
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|