Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tsoc
openmm
Commits
cd4b69be
"platforms/opencl/vscode:/vscode.git/clone" did not exist on "ccb2000d9fd0ed895ef079e1da011043c69e67fb"
Commit
cd4b69be
authored
Jul 20, 2013
by
Robert McGibbon
Browse files
Changed statedatareporter to not buffer its outstream
parent
49cb91c5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
wrappers/python/simtk/openmm/app/statedatareporter.py
wrappers/python/simtk/openmm/app/statedatareporter.py
+1
-1
No files found.
wrappers/python/simtk/openmm/app/statedatareporter.py
View file @
cd4b69be
...
...
@@ -67,7 +67,7 @@ class StateDataReporter(object):
self
.
_reportInterval
=
reportInterval
self
.
_openedFile
=
isinstance
(
file
,
str
)
if
self
.
_openedFile
:
self
.
_out
=
open
(
file
,
'w'
)
self
.
_out
=
open
(
file
,
'w'
,
0
)
else
:
self
.
_out
=
file
self
.
_step
=
step
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment