From 9cc909c068f7ee070d5f6d8061b266dd285979e3 Mon Sep 17 00:00:00 2001 From: "Documenter.jl" Date: Wed, 21 Aug 2024 22:24:49 +0000 Subject: [PATCH] build based on 64afa28 --- dev/.documenter-siteinfo.json | 2 +- dev/assets/documenter.js | 53 +++++++++++++++++++---------------- dev/index.html | 8 +++--- 3 files changed, 34 insertions(+), 29 deletions(-) diff --git a/dev/.documenter-siteinfo.json b/dev/.documenter-siteinfo.json index 03990ee..dd3b693 100644 --- a/dev/.documenter-siteinfo.json +++ b/dev/.documenter-siteinfo.json @@ -1 +1 @@ -{"documenter":{"julia_version":"1.10.4","generation_timestamp":"2024-08-21T22:01:52","documenter_version":"1.5.0"}} \ No newline at end of file +{"documenter":{"julia_version":"1.10.4","generation_timestamp":"2024-08-21T22:24:46","documenter_version":"1.6.0"}} \ No newline at end of file diff --git a/dev/assets/documenter.js b/dev/assets/documenter.js index b2bdd43..82252a1 100644 --- a/dev/assets/documenter.js +++ b/dev/assets/documenter.js @@ -77,30 +77,35 @@ require(['jquery'], function($) { let timer = 0; var isExpanded = true; -$(document).on("click", ".docstring header", function () { - let articleToggleTitle = "Expand docstring"; - - debounce(() => { - if ($(this).siblings("section").is(":visible")) { - $(this) - .find(".docstring-article-toggle-button") - .removeClass("fa-chevron-down") - .addClass("fa-chevron-right"); - } else { - $(this) - .find(".docstring-article-toggle-button") - .removeClass("fa-chevron-right") - .addClass("fa-chevron-down"); +$(document).on( + "click", + ".docstring .docstring-article-toggle-button", + function () { + let articleToggleTitle = "Expand docstring"; + const parent = $(this).parent(); + + debounce(() => { + if (parent.siblings("section").is(":visible")) { + parent + .find("a.docstring-article-toggle-button") + .removeClass("fa-chevron-down") + .addClass("fa-chevron-right"); + } else { + parent + .find("a.docstring-article-toggle-button") + .removeClass("fa-chevron-right") + .addClass("fa-chevron-down"); - articleToggleTitle = "Collapse docstring"; - } + articleToggleTitle = "Collapse docstring"; + } - $(this) - .find(".docstring-article-toggle-button") - .prop("title", articleToggleTitle); - $(this).siblings("section").slideToggle(); - }); -}); + parent + .children(".docstring-article-toggle-button") + .prop("title", articleToggleTitle); + parent.siblings("section").slideToggle(); + }); + } +); $(document).on("click", ".docs-article-toggle-button", function (event) { let articleToggleTitle = "Expand docstring"; @@ -110,7 +115,7 @@ $(document).on("click", ".docs-article-toggle-button", function (event) { debounce(() => { if (isExpanded) { $(this).removeClass("fa-chevron-up").addClass("fa-chevron-down"); - $(".docstring-article-toggle-button") + $("a.docstring-article-toggle-button") .removeClass("fa-chevron-down") .addClass("fa-chevron-right"); @@ -119,7 +124,7 @@ $(document).on("click", ".docs-article-toggle-button", function (event) { $(".docstring section").slideUp(animationSpeed); } else { $(this).removeClass("fa-chevron-down").addClass("fa-chevron-up"); - $(".docstring-article-toggle-button") + $("a.docstring-article-toggle-button") .removeClass("fa-chevron-right") .addClass("fa-chevron-down"); diff --git a/dev/index.html b/dev/index.html index d68ac64..0d849b9 100644 --- a/dev/index.html +++ b/dev/index.html @@ -1,5 +1,5 @@ -Home · ProteinChains.jl

ProteinChains

Documentation for ProteinChains.

ProteinChains.BackboneGeometryType
BackboneGeometry(;
+Home · ProteinChains.jl

ProteinChains

Documentation for ProteinChains.

ProteinChains.BackboneGeometryType
BackboneGeometry(;
     N_Ca_length = 1.46,
     Ca_C_length = 1.52,
     C_N_length = 1.33,
@@ -7,9 +7,9 @@
     N_Ca_C_angle = 1.94,
     Ca_C_N_angle = 2.03,
     C_N_Ca_angle = 2.13,
-)

Define the idealized bond lengths and bond angles of a protein backbone.

source
ProteinChains.IdealResidueType
IdealResidue{T<:AbstractFloat} <: AbstractMatrix{T}
+)

Define the idealized bond lengths and bond angles of a protein backbone.

source
ProteinChains.IdealResidueType
IdealResidue{T<:AbstractFloat} <: AbstractMatrix{T}
 
-IdealResidue{T}(backbone_geometry::BackboneGeometry=DEFAULT_BACKBONE_GEOMETRY)
source
ProteinChains.ProteinChainType
ProteinChain{T<:AbstractFloat}

Examples

julia> structure = pdb"1EYE";
+IdealResidue{T}(backbone_geometry::BackboneGeometry=DEFAULT_BACKBONE_GEOMETRY)
source
ProteinChains.ProteinChainType
ProteinChain{T<:AbstractFloat}

Examples

julia> structure = pdb"1EYE";
 [ Info: Downloading file from PDB: 1EYE
 
 julia> structure[1]
@@ -21,4 +21,4 @@
     atoms::Vector{Vector{ProteinChains.Atom{Float64}}} = Vector{Atom{Float64}}[[Atom{Float64}(0x4f202020, 0x08, 44.41, -9.176, 32.157), Atom{Float64}(0x4243…
   properties:
     numbering::Vector{Int64} = [5, 6, 7, 8, 9, 10, 11, 12, 13, 14  …  265, 266, 267, 268, 269, 270, 271, 272, 273, 274]
-    modelnum::Int64 = 1
source
ProteinChains.append_residueMethod
append_residue(Backbone::Backbone, torsion_angles::Vector{<:Real}; ideal::BackboneGeometry=DEFAULT_BACKBONE_GEOMETRY)

Create a new backbone by appending 3 torsion angles (ψ, ω, ϕ) at the end, using bond lengths and bond angles specified in BackboneGeometry.

source
ProteinChains.prepend_residueMethod
append_residue(Backbone::Backbone, torsion_angles::Vector{<:Real}; ideal::BackboneGeometry=DEFAULT_BACKBONE_GEOMETRY)

Create a new backbone by prepending 3 torsion angles (ψ, ω, ϕ) at the end, using bond lengths and bond angles specified in BackboneGeometry.

Note

The torsion angle order is the same as it would be when appending. The order is not reversed.

source
+ modelnum::Int64 = 1
source
ProteinChains.append_residueMethod
append_residue(Backbone::Backbone, torsion_angles::Vector{<:Real}; ideal::BackboneGeometry=DEFAULT_BACKBONE_GEOMETRY)

Create a new backbone by appending 3 torsion angles (ψ, ω, ϕ) at the end, using bond lengths and bond angles specified in BackboneGeometry.

source
ProteinChains.prepend_residueMethod
append_residue(Backbone::Backbone, torsion_angles::Vector{<:Real}; ideal::BackboneGeometry=DEFAULT_BACKBONE_GEOMETRY)

Create a new backbone by prepending 3 torsion angles (ψ, ω, ϕ) at the end, using bond lengths and bond angles specified in BackboneGeometry.

Note

The torsion angle order is the same as it would be when appending. The order is not reversed.

source