Skip to content

Commit 2878191

Browse files
author
Gordon Chen
committed
Added lsf.lsb_closestream() so more stream files can be read
1 parent 85df65d commit 2878191

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

examples/readstream.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ def read_eventrec(path):
6060
else:
6161
flag = 0
6262

63+
lsf.lsb_closestream(path)
64+
6365
def read_streamline(path):
6466
"""
6567
Use lsb_readstreamline() to parse the file
@@ -91,3 +93,4 @@ def read_streamline(path):
9193
# read_streamline("/home/youname/lsf_top/work/yourcluster/logdir/stream/lsb.stream")
9294
#read_streamline(sys.argv[1])
9395
read_eventrec(sys.argv[1])
96+
read_eventrec(sys.argv[1])

0 commit comments

Comments
 (0)