Skip to content

Commit

Permalink
Merge pull request #2 from rvhonorato/pdbtbx-version
Browse files Browse the repository at this point in the history
Update `pdbtbx` version
  • Loading branch information
maxall41 authored Dec 16, 2024
2 parents e6745f5 + c4fc4f5 commit 6fad99f
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 105 deletions.
110 changes: 11 additions & 99 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ readme = "README.md"
repository = "https://github.com/maxall41/RustSASA"
license = "MIT"
license-file = "LICENSE"
keywords = ["Rust","Bioinformatics","SASA"]
keywords = ["Rust", "Bioinformatics", "SASA"]
documentation = "https://docs.rs/rust-sasa/latest/rust_sasa/"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
pdbtbx = "0.11.0"
pdbtbx = "0.12.0"
rstar = "0.12.0"
nalgebra = "0.33.0"
rayon = "1.10.0"
Expand Down
2 changes: 0 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,6 @@ fn is_accessible_rstar(
/// use rust_sasa::{Atom, calculate_sasa_internal};
/// let (mut pdb, _errors) = pdbtbx::open(
/// "./example.cif",
/// StrictnessLevel::Medium
/// ).unwrap();
/// let mut atoms = vec![];
/// for atom in pdb.atoms() {
Expand Down Expand Up @@ -231,7 +230,6 @@ pub fn calculate_sasa_internal(
/// use rust_sasa::{Atom, calculate_sasa, calculate_sasa_internal, SASALevel};
/// let (mut pdb, _errors) = pdbtbx::open(
/// "./example.cif",
/// StrictnessLevel::Medium
/// ).unwrap();
/// let result = calculate_sasa(&pdb,None,None,SASALevel::Residue);
/// ```
Expand Down
4 changes: 2 additions & 2 deletions src/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ mod tests {

#[test]
fn internal_test() {
let (mut pdb, _errors) = pdbtbx::open("./example.cif", StrictnessLevel::Medium).unwrap();
let (mut pdb, _errors) = pdbtbx::open("./example.cif").unwrap();
let mut atoms = vec![];
for atom in pdb.atoms() {
atoms.push(Atom {
Expand All @@ -275,7 +275,7 @@ mod tests {
}
#[test]
fn external_test() {
let (mut pdb, _errors) = pdbtbx::open("./example.cif", StrictnessLevel::Medium).unwrap();
let (mut pdb, _errors) = pdbtbx::open("./example.cif").unwrap();
let protein_sasa = calculate_sasa(&pdb, None, None, SASALevel::Protein).unwrap();
let chain_sasa = calculate_sasa(&pdb, None, None, SASALevel::Chain).unwrap();

Expand Down

0 comments on commit 6fad99f

Please sign in to comment.