Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions pymatbridge/pymatbridge.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
This is a modified version using ZMQ, Haoxing Zhang Jan.2014
"""

import numpy as np
import os, time
import zmq
import subprocess
Expand Down Expand Up @@ -171,7 +170,7 @@ def is_connected(self):
else:
return False
except zmq.ZMQError:
np.disp(".", linefeed=False)
sys.stdout.write('.')
time.sleep(1)
if (time.time() - start_time > self.maxtime) :
print "Matlab session timed out after %d seconds" % (self.maxtime)
Expand Down