Skip to content

Commit

Permalink
bugfixes and tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonOresten committed Feb 20, 2025
1 parent 31947b4 commit 56ecd18
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 5 deletions.
1 change: 0 additions & 1 deletion src/ProteinChains.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
module ProteinChains


using Reexport
@reexport using Backboner

Expand Down
2 changes: 0 additions & 2 deletions src/ideal.jl
Original file line number Diff line number Diff line change
Expand Up @@ -106,5 +106,3 @@ function prepend_residue(backbone::Backbone, torsion_angles::Vector{<:Real}; ide
bond_angles = [ideal.N_Ca_C_angle, ideal.Ca_C_N_angle, ideal.C_N_Ca_angle]
return prepend_bonds(backbone, Float64.(bond_lengths), Float64.(bond_angles), Float64.(torsion_angles))
end

function idealize! end
2 changes: 1 addition & 1 deletion src/io/io.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using BioStructures: BioStructures, MMCIFDict, PDBFormat, MMCIFFormat
using BioStructures: BioStructures, MMCIFDict, PDBFormat, MMCIFFormat, downloadpdb

const ProteinFileFormat = Union{PDBFormat, MMCIFFormat}
const AMINOACIDS = Set("ACDEFGHIKLMNPQRSTVWY")
Expand Down
2 changes: 1 addition & 1 deletion src/io/read.jl
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ end
function ProteinChain(chain::BioStructures.Chain)
residues = BioStructures.collectresidues(chain, backbone_residue_selector)
proteinchain = if isempty(residues)
ProteinChain(BioStructures.chainid(chain), Vector{Atom{Float64}}[], "", "", Int[])
ProteinChain(BioStructures.chainid(chain), Vector{Atom{Float64}}[], "", Int[], "")
else
id = BioStructures.chainid(chain)
atoms = get_atoms(Atom{Float64}, residues)
Expand Down

0 comments on commit 56ecd18

Please sign in to comment.