Commit ce463fde authored by NOEL Philippe's avatar NOEL Philippe

Remove function to test if atom is residue -> useless with the AtomTypes enum

parent 56ad5f66
...@@ -138,15 +138,4 @@ pub fn parse_pdb(pdb: &str, name: &str) -> Protein { ...@@ -138,15 +138,4 @@ pub fn parse_pdb(pdb: &str, name: &str) -> Protein {
} }
protein protein
} }
/// Test if the selected line is a residue
///
fn is_protein_res(r: &str, lst: &[&str]) -> bool {
let r = r.to_uppercase();
for res in lst {
if r == *res {
return true;
}
}
false
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment