Skip to content

Commit

Permalink
Black
Browse files Browse the repository at this point in the history
  • Loading branch information
Lnaden committed Mar 21, 2024
1 parent b23f16e commit 2b39a8b
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 8 deletions.
1 change: 1 addition & 0 deletions examples/heat-capacity/heat-capacity.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
todo -- simplify the total energy read in, the kinetic energy read-in, temperature read-in
"""

# =========================================================
# IMPORTS
# =========================================================
Expand Down
3 changes: 2 additions & 1 deletion pymbar/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,5 @@
]

from . import _version
__version__ = _version.get_versions()['version']

__version__ = _version.get_versions()["version"]
2 changes: 1 addition & 1 deletion pymbar/tests/test_mbar.py
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ def test_mbar_compute_entropy_and_enthalpy(mbar_and_test, with_uxx=True):
[
(True, True),
(True, False),
(False, False)
(False, False),
# False True handled by main test
],
)
Expand Down
1 change: 0 additions & 1 deletion pymbar/testsystems/exponential_distributions.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@


class ExponentialTestCase(object):

"""Test cases using exponential distributions.
Examples
Expand Down
1 change: 0 additions & 1 deletion pymbar/testsystems/harmonic_oscillators.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@


class HarmonicOscillatorsTestCase(object):

"""Test cases using harmonic oscillators.
Examples
Expand Down
4 changes: 0 additions & 4 deletions pymbar/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -399,28 +399,24 @@ def check_w_normalized(W, N_k, tolerance=1.0e-4):


class ParameterError(Exception):

"""
An error in the input parameters has been detected.
"""


class ConvergenceError(Exception):

"""
Convergence could not be achieved.
"""


class BoundsError(Exception):

"""
Could not determine bounds on free energy
"""


class DataError(Exception):

"""
Data is inconsistent.
"""

0 comments on commit 2b39a8b

Please sign in to comment.