Skip to content

Commit

Permalink
fix indents for npt block (#165)
Browse files Browse the repository at this point in the history
  • Loading branch information
qcampbel authored Jan 16, 2025
1 parent 345ac20 commit 573259f
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions mdagent/tools/base_tools/simulation_tools/setup_and_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,19 +275,19 @@ def setup_system(self):
if self.sim_params["Ensemble"] == "NPT":
pressure = self.int_params.get("Pressure", 1.0)

if "Pressure" not in self.int_params:
print(
"Warning: 'Pressure' not provided. ",
"Using default pressure of 1.0 atm.",
)
if "Pressure" not in self.int_params:
print(
"Warning: 'Pressure' not provided. ",
"Using default pressure of 1.0 atm.",
)

self.system.addForce(
MonteCarloBarostat(
pressure,
self.int_params["Temperature"],
self.sim_params.get("barostatInterval", 25),
self.system.addForce(
MonteCarloBarostat(
pressure,
self.int_params["Temperature"],
self.sim_params.get("barostatInterval", 25),
)
)
)

def setup_integrator(self):
print("Setting up integrator...")
Expand Down

0 comments on commit 573259f

Please sign in to comment.