Skip to content

Commit

Permalink
blackened files
Browse files Browse the repository at this point in the history
  • Loading branch information
orbeckst committed Jun 15, 2024
1 parent 264de08 commit 978dfb7
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
8 changes: 4 additions & 4 deletions gromacs/cbook.py
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ def trj_fitandcenter(xy=False, **kwargs):
boxcenter="tric",
pbc="mol",
input=inpcompact,
**kwargs
**kwargs,
)
# explicitly set pbc="none" for the fitting stage (anything else will produce rubbish and/or
# complaints from Gromacs)
Expand All @@ -375,7 +375,7 @@ def trj_fitandcenter(xy=False, **kwargs):
fit=fitmode,
center=True,
input=inpfit,
**kwargs
**kwargs,
)
else:
# make sure that we fit EXACTLY as the user wants
Expand All @@ -387,7 +387,7 @@ def trj_fitandcenter(xy=False, **kwargs):
n=ndx,
fit=fitmode,
input=inpfit,
**kwargs
**kwargs,
)
finally:
utilities.unlink_gmx(tmptrj)
Expand Down Expand Up @@ -2081,7 +2081,7 @@ def strip_water(
compact=False,
resn="SOL",
groupname="notwater",
**kwargs
**kwargs,
):
"""Write xtc and tpr with water (by resname) removed.
Expand Down
2 changes: 1 addition & 1 deletion gromacs/qsub.py
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ def generate_submit_scripts(
jobarray_string=None,
startdir=None,
npme=None,
**kwargs
**kwargs,
):
"""Write scripts for queuing systems.
Expand Down
16 changes: 8 additions & 8 deletions gromacs/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ def topology(
posres="posres.itp",
ff="oplsaa",
water="tip4p",
**pdb2gmx_args
**pdb2gmx_args,
):
"""Build Gromacs topology files from pdb.
Expand Down Expand Up @@ -407,7 +407,7 @@ def solvate_sol(
solvent_name="SOL",
with_membrane=False,
dirname="solvate",
**kwargs
**kwargs,
):
structure = realpath(struct)
topology = realpath(top)
Expand Down Expand Up @@ -511,7 +511,7 @@ def solvate_ion(
ndx="main.ndx",
mainselection='"Protein"',
dirname="solvate",
**kwargs
**kwargs,
):
structure = realpath(struct)
topology = realpath(top)
Expand Down Expand Up @@ -665,7 +665,7 @@ def solvate(
ndx="main.ndx",
mainselection='"Protein"',
dirname="solvate",
**kwargs
**kwargs,
):
"""Put protein into box, add water, add counter-ions.
Expand Down Expand Up @@ -750,7 +750,7 @@ def solvate(
solvent_name=solvent_name,
with_membrane=with_membrane,
dirname=dirname,
**kwargs
**kwargs,
)

ion = solvate_ion(
Expand All @@ -763,7 +763,7 @@ def solvate(
ndx=ndx,
mainselection=mainselection,
dirname=dirname,
**kwargs
**kwargs,
)
return ion

Expand All @@ -788,7 +788,7 @@ def energy_minimize(
deffnm="em",
mdrunner=None,
mdrun_args=None,
**kwargs
**kwargs,
):
"""Energy minimize the system.
Expand Down Expand Up @@ -1023,7 +1023,7 @@ def _setup_MD(
walltime=1 / 3.0,
dt=0.002,
runtime=1e3,
**mdp_kwargs
**mdp_kwargs,
):
"""Generic function to set up a ``mdrun`` MD simulation.
Expand Down

0 comments on commit 978dfb7

Please sign in to comment.