Skip to content

Commit

Permalink
Update configfile_creator.py
Browse files Browse the repository at this point in the history
adjusted strings
  • Loading branch information
talagayev authored Aug 27, 2024
1 parent 38c1535 commit 9198c18
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions openmmdl/openmmdl_setup/configfile_creator.py
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ def add_simulation_configuration(self, script):
script.append("\n# Simulation Configuration\n")

script.append(
"platform = '%s'" % self.session["platform"]
"platform = %s" % self.session["platform"]
)
if self.session["platform"] in ("CUDA", "OpenCL"):
script.append(
Expand All @@ -360,11 +360,11 @@ def add_simulation_configuration(self, script):
if self.session["writeDCD"]:
if self.session["restart_checkpoint"] and self.session["restart_step"] != "":
script.append(
"dcd_name = '%s_%s'"
"dcd_name = %s_%s"
% (self.session["restart_step"], self.session["dcdFilename"])
)
else:
script.append("dcd_name = '%s'"
script.append("dcd_name = %s"
% (self.session["dcdFilename"])
)
if self.session["writeData"]:
Expand Down

0 comments on commit 9198c18

Please sign in to comment.