Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
anton083 committed Nov 5, 2023
1 parent 92ca498 commit b44e778
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 2 additions & 0 deletions src/assign.jl
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
export assign_secondary_structure!, assign_secondary_structure

function assign_secondary_structure! end

"""
Expand Down
2 changes: 0 additions & 2 deletions src/dssp.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Ported from https://github.com/ShintaroMinami/PyDSSP

export dssp

using LinearAlgebra
using PaddedViews

Expand Down
4 changes: 2 additions & 2 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ ss_composition(ss::Vector{Int}) = [count(==(i), ss) for i in 1:3]
@testset "DSSP" begin

@testset "1ASS" begin
ss = dssp("data/1ASS.pdb")
ss = assign_secondary_structure("data/1ASS.pdb")
@test length(ss) == 1
@test ss_composition.(ss) == [[60, 53, 39]]
end

@testset "1ZAK" begin
ss = dssp("data/1ZAK.pdb")
ss = assign_secondary_structure("data/1ZAK.pdb")
@test length(ss) == 2
@test ss_composition.(ss) == [[72, 116, 32], [72, 116, 32]]
end
Expand Down

0 comments on commit b44e778

Please sign in to comment.