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 8, 2023
1 parent b1dd679 commit c76e7f0
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions nuad/constraints.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,6 @@
import nuad.modifications as nm
from nuad.json_noindent_serializer import JSONSerializable, json_encode, NoIndent

from pint import UnitRegistry

ureg = UnitRegistry()

# need typing_extensions package prior to Python 3.8 to get Protocol object
try:
from typing import Protocol
Expand Down Expand Up @@ -4272,7 +4268,8 @@ class Result(Generic[DesignPart]):
-2.5 kcal/mol, and a strand has energy -3.4 kcal/mol, then the following are sensible values for
these fields:
- ``value`` = ``-3.4`` or ``"-3.4 kcal/mol"`` or ``pint.Quantity(Decimal(-3.4), "kcal/mol")``
- ``value`` = ``-3.4``
- ``unit`` = ``"kcal/mol"``
- ``excess`` = ``-0.9``
- ``summary`` = ``"-3.4 kcal/mol"``
"""
Expand Down

0 comments on commit c76e7f0

Please sign in to comment.