Removed backups from energy reader
This commit is contained in:
parent
82c9b9ee36
commit
cefdcf7e21
@ -197,7 +197,9 @@ def energy_reader(file, energies=None):
|
||||
directory = file.rsplit("/", 1)[0]
|
||||
ps = subprocess.Popen(("echo", *energies), stdout=subprocess.PIPE)
|
||||
try:
|
||||
subprocess.run(("gmx", "energy", "-f", file, "-o", f"{directory}/tmp.xvg", "-quiet"), stdin=ps.stdout)
|
||||
subprocess.run(("gmx", "energy", "-f", file, "-o",
|
||||
f"{directory}/tmp.xvg", "-quiet", "-nobackup"),
|
||||
stdin=ps.stdout)
|
||||
except FileNotFoundError:
|
||||
print("No GROMACS found!")
|
||||
ps.wait()
|
||||
|
Loading…
Reference in New Issue
Block a user