Skip to content

Commit

Permalink
Make first_points a keyword argument
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonOresten committed Dec 18, 2023
1 parent d83841f commit c041976
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backbone/bonds.jl
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ end

# first points currently don't get adjusted to fit the bonds
function Backbone{ATOMS_PER_RESIDUE}(
bonds::ChainedBonds{T},
bonds::ChainedBonds{T};
first_points::AbstractMatrix{T} = get_first_points(bonds),
) where {ATOMS_PER_RESIDUE, T}
@assert (length(bonds) + 1) % ATOMS_PER_RESIDUE == 0 "Invalid number of atoms per residue in backbone"
Expand Down

0 comments on commit c041976

Please sign in to comment.