Skip to content

Commit

Permalink
more linting.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrshirts committed Aug 26, 2024
1 parent 185736d commit 4ed45db
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pymbar/confidenceintervals.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def qq_plot(replicates, K, title="Generic Q-Q plot", filename="qq.pdf"):
dim = len(np.shape(replicates[0]["error"]))
xvals = scipy.stats.norm.ppf((np.arange(0, N) + 0.5) / N) # inverse pdf
nplots = None # keep lint happy when variables are defined in conditionals

if dim == 0:
nplots = 1
elif dim == 1:
Expand Down
4 changes: 2 additions & 2 deletions pymbar/mbar.py
Original file line number Diff line number Diff line change
Expand Up @@ -851,8 +851,8 @@ def compute_expectations_inner(
K = self.K
N = self.N # N is total number of samples
result_vals = dict() # dictionary we will store uncertainties in
Theta_ij = None # keep lint happy when variables are defined in conditionals.
Theta_ij = None # keep lint happy when variables are defined in conditionals.

# make observables all positive, allowing us to take the logarithm, which is
# required to prevent overflow in some examples.
# WARNING: one issue to watch for is if one of the energies is extremely
Expand Down

0 comments on commit 4ed45db

Please sign in to comment.