Skip to content

Commit

Permalink
Change method to one-liner
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonOresten committed Jan 8, 2024
1 parent 11e7d8c commit 7f0cd61
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/pdb.jl
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,4 @@ function load_pdb_chains(filename::AbstractString)
return chains
end

function AssigningSecondaryStructure.assign_secondary_structure(filename::AbstractString)
chains = load_pdb_chains(filename)
return AssigningSecondaryStructure.assign_secondary_structure(chains)
end
assign_secondary_structure(filename::AbstractString) = assign_secondary_structure(load_pdb_chains(filename))

0 comments on commit 7f0cd61

Please sign in to comment.