"platforms/reference/vscode:/vscode.git/clone" did not exist on "bce051310d3c0807985854079a911004907b2841"
Commit af74717d authored by kyleabeauchamp's avatar kyleabeauchamp
Browse files

Fix bug in dcd box vector writing.

parent 7f8c5089
......@@ -112,8 +112,8 @@ class DCDFile(object):
file.seek(0, os.SEEK_END)
boxVectors = self._topology.getPeriodicBoxVectors()
if boxVectors is not None:
if getPeriodicBoxVectors is not None:
boxVectors = getPeriodicBoxVectors
if periodicBoxVectors is not None:
boxVectors = periodicBoxVectors
elif unitCellDimensions is not None:
if is_quantity(unitCellDimensions):
unitCellDimensions = unitCellDimensions.value_in_unit(nanometers)
......
Markdown is supported
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