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
47b73dfd
Commit
47b73dfd
authored
Nov 10, 2014
by
Matthew Harrigan
Browse files
Remove buffering per @swails
parent
ea47b895
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
wrappers/python/simtk/openmm/app/statedatareporter.py
wrappers/python/simtk/openmm/app/statedatareporter.py
+1
-2
No files found.
wrappers/python/simtk/openmm/app/statedatareporter.py
View file @
47b73dfd
...
...
@@ -99,8 +99,7 @@ class StateDataReporter(object):
raise
RuntimeError
(
"Cannot write .bz2 file because Python could not import bz2 library"
)
self
.
_out
=
bz2
.
BZ2File
(
file
,
'w'
,
0
)
else
:
# 1 means Line buffering
self
.
_out
=
open
(
file
,
'w'
,
1
)
self
.
_out
=
open
(
file
,
'w'
)
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