Commit 47414bcf authored by cmaffeo2's avatar cmaffeo2
Browse files

arbdmodel now creates potentials directory

parent b6d8a858
......@@ -559,6 +559,8 @@ class ArbdModel(PdbModel):
def writeArbdFiles(self, prefix, numSteps=100000000, outputPeriod=10000):
## TODO: save and reference directories and prefixes using member data
d = "potentials"
if not os.path.exists(d):
os.makedirs(d)
self._bond_filename = "%s/%s.bonds.txt" % (d, prefix)
self._angle_filename = "%s/%s.angles.txt" % (d, prefix)
self._dihedral_filename = "%s/%s.dihedrals.txt" % (d, prefix)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment