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]
|
directory = file.rsplit("/", 1)[0]
|
||||||
ps = subprocess.Popen(("echo", *energies), stdout=subprocess.PIPE)
|
ps = subprocess.Popen(("echo", *energies), stdout=subprocess.PIPE)
|
||||||
try:
|
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:
|
except FileNotFoundError:
|
||||||
print("No GROMACS found!")
|
print("No GROMACS found!")
|
||||||
ps.wait()
|
ps.wait()
|
||||||
|
Loading…
Reference in New Issue
Block a user