diff --git a/src/dssp.jl b/src/dssp.jl index 702c6d9..3a2818c 100644 --- a/src/dssp.jl +++ b/src/dssp.jl @@ -30,7 +30,6 @@ function _get_hbond_map( coord::AbstractArray{T, 3}; cutoff::Float64 = DEFAULT_CUTOFF, margin::Float64 = DEFAULT_MARGIN, - return_e::Bool = false, ) where T <: Real residue_count, atoms_per_residue, _ = size(coord) @assert atoms_per_residue == 4 @@ -54,10 +53,6 @@ function _get_hbond_map( e = _pad(0.0, arr, (1,0), (0,1)) - if return_e - return e - end - local_mask = trues(residue_count, residue_count) for i in 1:residue_count local_mask[i, i] = false @@ -143,4 +138,4 @@ function dssp(coords_chains::Vector{<:AbstractArray{T, 3}}) where T num_vectors_by_chain = [num_vector[get(cum_indices, n-1, 0)+1:cum_indices[n]] for n in 1:length(lengths)] return num_vectors_by_chain -end \ No newline at end of file +end