Skip to content

Commit

Permalink
make black happy
Browse files Browse the repository at this point in the history
  • Loading branch information
orbeckst authored Oct 10, 2024
1 parent a5162d8 commit 69d928a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions mdpow/equil.py
Original file line number Diff line number Diff line change
Expand Up @@ -535,9 +535,8 @@ def _MD(self, protocol, **kwargs):
kwargs["top"] = self.files.topology
kwargs["includes"] = asiterable(kwargs.pop("includes", [])) + self.dirs.includes
kwargs["ndx"] = self.files.ndx
kwargs[
"mainselection"
] = None # important for SD (use custom mdp and ndx!, gromacs.setup._MD)
# important for SD (use custom mdp and ndx!, gromacs.setup._MD):
kwargs["mainselection"] = None
self._checknotempty(kwargs["struct"], "struct")
if not os.path.exists(kwargs["struct"]):
# struct is not reliable as it depends on qscript so now we just try everything...
Expand Down
2 changes: 1 addition & 1 deletion mdpow/fep.py
Original file line number Diff line number Diff line change
Expand Up @@ -1137,7 +1137,7 @@ def analyze(self, force=False, stride=None, autosave=True, ncorrel=25000):
"tcorrel": tc,
}
# Combined Simpson rule integration:
# Used to have 'even="last"' because dV/dl is smoother at the beginning so
# Used to have 'even="last"' because dV/dl is smoother at the beginning so
# using trapezoidal integration there makes less of an error (one hopes...)
# but recent versions of scipy (eg 1.14) always use Cartwright's approach
# for the last interval and "even" is not a kwarg anymore.
Expand Down

0 comments on commit 69d928a

Please sign in to comment.