Skip to content
Merged
Changes from 4 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
5 changes: 1 addition & 4 deletions imdclient/IMDClient.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ def __init__(
continue_after_disconnect=None,
**kwargs,
):

self._stopped = False
self._conn = self._connect_to_server(host, port, socket_bufsize)
self._imdsinfo = self._await_IMD_handshake()
Expand Down Expand Up @@ -147,7 +146,7 @@ def __init__(

self._producer.start()

def signal_handler(self):
def signal_handler(self, *args, **kwargs):
"""Catch SIGINT to allow clean shutdown on CTRL+C.

This also ensures that main thread execution doesn't get stuck
Expand Down Expand Up @@ -484,7 +483,6 @@ def run(self):
self._buf.notify_producer_finished()

def _expect_header(self, expected_type, expected_value=None):

header = self._get_header()

if header.type != expected_type:
Expand Down Expand Up @@ -934,7 +932,6 @@ def notify_consumer_finished(self):


class IMDFrame:

def __init__(self, n_atoms, imdsinfo):
if imdsinfo.time:
self.time = 0.0
Expand Down
Loading