Skip to content

Commit

Permalink
Update constraints.py
Browse files Browse the repository at this point in the history
  • Loading branch information
dave-doty committed Oct 1, 2023
1 parent 85536d3 commit 3f19333
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions nuad/constraints.py
Original file line number Diff line number Diff line change
Expand Up @@ -4190,12 +4190,14 @@ class Constraint(Generic[DesignPart], ABC):

description: str
"""
Description of the constraint, e.g., 'strand has secondary structure exceeding -2.0 kcal/mol'.
Description of the constraint, e.g., 'strand has secondary structure exceeding -2.0 kcal/mol' suitable
for printing in a long text report.
"""

short_description: str = ''
"""
Very short description of the constraint suitable for compactly logging to the screen, e.g., 'strand_ss'
Very short description of the constraint suitable for compactly logging to the screen, where
many of these short descriptions must fit onto one line, e.g., 'strand ss' or 'dom pair nupack'
"""

weight: float = 1.0
Expand Down Expand Up @@ -5538,7 +5540,7 @@ def rna_plex_domain_pairs_nonorthogonal_constraint(
:param score_transfer_function:
See :data:`Constraint.score_transfer_function`.
:param description:
short_description
See :data:`Constraint.description`.
:param short_description:
See :data:`Constraint.short_description`.
:param parameters_filename:
Expand Down

0 comments on commit 3f19333

Please sign in to comment.