imdclient 0.2.2__tar.gz → 0.2.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. {imdclient-0.2.2 → imdclient-0.2.3}/CHANGELOG.md +20 -0
  2. {imdclient-0.2.2 → imdclient-0.2.3}/PKG-INFO +1 -1
  3. {imdclient-0.2.2 → imdclient-0.2.3}/imdclient/IMDClient.py +1 -8
  4. {imdclient-0.2.2 → imdclient-0.2.3}/imdclient.egg-info/PKG-INFO +1 -1
  5. {imdclient-0.2.2 → imdclient-0.2.3}/AUTHORS.md +0 -0
  6. {imdclient-0.2.2 → imdclient-0.2.3}/CODE_OF_CONDUCT.md +0 -0
  7. {imdclient-0.2.2 → imdclient-0.2.3}/LICENSE +0 -0
  8. {imdclient-0.2.2 → imdclient-0.2.3}/MANIFEST.in +0 -0
  9. {imdclient-0.2.2 → imdclient-0.2.3}/README.md +0 -0
  10. {imdclient-0.2.2 → imdclient-0.2.3}/imdclient/IMDProtocol.py +0 -0
  11. {imdclient-0.2.2 → imdclient-0.2.3}/imdclient/__init__.py +0 -0
  12. {imdclient-0.2.2 → imdclient-0.2.3}/imdclient/data/__init__.py +0 -0
  13. {imdclient-0.2.2 → imdclient-0.2.3}/imdclient/data/gromacs/md/gromacs_struct.gro +0 -0
  14. {imdclient-0.2.2 → imdclient-0.2.3}/imdclient/data/gromacs/md/gromacs_v3.top +0 -0
  15. {imdclient-0.2.2 → imdclient-0.2.3}/imdclient/data/gromacs/md/gromacs_v3_nst1.mdp +0 -0
  16. {imdclient-0.2.2 → imdclient-0.2.3}/imdclient/data/gromacs/md/gromacs_v3_nst8.mdp +0 -0
  17. {imdclient-0.2.2 → imdclient-0.2.3}/imdclient/data/lammps/md/lammps_topol.data +0 -0
  18. {imdclient-0.2.2 → imdclient-0.2.3}/imdclient/data/lammps/md/lammps_v3_nst_1.in +0 -0
  19. {imdclient-0.2.2 → imdclient-0.2.3}/imdclient/data/lammps/md/lammps_v3_nst_8.in +0 -0
  20. {imdclient-0.2.2 → imdclient-0.2.3}/imdclient/data/namd/md/alanin.params +0 -0
  21. {imdclient-0.2.2 → imdclient-0.2.3}/imdclient/data/namd/md/alanin.pdb +0 -0
  22. {imdclient-0.2.2 → imdclient-0.2.3}/imdclient/data/namd/md/alanin.psf +0 -0
  23. {imdclient-0.2.2 → imdclient-0.2.3}/imdclient/data/namd/md/namd_v3_nst_1.namd +0 -0
  24. {imdclient-0.2.2 → imdclient-0.2.3}/imdclient/data/namd/md/namd_v3_nst_8.namd +0 -0
  25. {imdclient-0.2.2 → imdclient-0.2.3}/imdclient/tests/__init__.py +0 -0
  26. {imdclient-0.2.2 → imdclient-0.2.3}/imdclient/tests/base.py +0 -0
  27. {imdclient-0.2.2 → imdclient-0.2.3}/imdclient/tests/conftest.py +0 -0
  28. {imdclient-0.2.2 → imdclient-0.2.3}/imdclient/tests/datafiles.py +0 -0
  29. {imdclient-0.2.2 → imdclient-0.2.3}/imdclient/tests/docker_testing/docker.md +0 -0
  30. {imdclient-0.2.2 → imdclient-0.2.3}/imdclient/tests/minimalreader.py +0 -0
  31. {imdclient-0.2.2 → imdclient-0.2.3}/imdclient/tests/server.py +0 -0
  32. {imdclient-0.2.2 → imdclient-0.2.3}/imdclient/tests/test_gromacs.py +0 -0
  33. {imdclient-0.2.2 → imdclient-0.2.3}/imdclient/tests/test_imdclient.py +0 -0
  34. {imdclient-0.2.2 → imdclient-0.2.3}/imdclient/tests/test_lammps.py +0 -0
  35. {imdclient-0.2.2 → imdclient-0.2.3}/imdclient/tests/test_namd.py +0 -0
  36. {imdclient-0.2.2 → imdclient-0.2.3}/imdclient/tests/test_utils.py +0 -0
  37. {imdclient-0.2.2 → imdclient-0.2.3}/imdclient/tests/utils.py +0 -0
  38. {imdclient-0.2.2 → imdclient-0.2.3}/imdclient/utils.py +0 -0
  39. {imdclient-0.2.2 → imdclient-0.2.3}/imdclient.egg-info/SOURCES.txt +0 -0
  40. {imdclient-0.2.2 → imdclient-0.2.3}/imdclient.egg-info/dependency_links.txt +0 -0
  41. {imdclient-0.2.2 → imdclient-0.2.3}/imdclient.egg-info/requires.txt +0 -0
  42. {imdclient-0.2.2 → imdclient-0.2.3}/imdclient.egg-info/top_level.txt +0 -0
  43. {imdclient-0.2.2 → imdclient-0.2.3}/pyproject.toml +0 -0
  44. {imdclient-0.2.2 → imdclient-0.2.3}/setup.cfg +0 -0
@@ -15,6 +15,26 @@ The rules for this file:
15
15
  * YYYY-MM-DD date format (following ISO 8601)
16
16
  * accompany each entry with github issue/PR number (Issue #xyz)
17
17
  -->
18
+ ## [v0.2.3] - 2025-11-08
19
+ ### Authors
20
+ @ljwoods2
21
+
22
+ ### Changed
23
+
24
+ ### Added
25
+
26
+ ### Fixed
27
+ * Changed signal handler method to accept arbitrary args to prevent
28
+ error being raised in new jupyter version (Issue #116, PR #117)
29
+ * Removed timeout changes during pause/resume for IMDv2 and IMv3
30
+ (Issue #96, PR #118)
31
+
32
+ ### Deprecated
33
+ <!-- Soon-to-be removed features -->
34
+
35
+ ### Removed
36
+ <!-- Removed features -->
37
+
18
38
 
19
39
  ## [v0.2.2] - 2025-07-20
20
40
  ### Authors
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: imdclient
3
- Version: 0.2.2
3
+ Version: 0.2.3
4
4
  Summary: Receiver for IMD v2 and v3 data from simulation engines like Gromacs, LAMMPS, and NAMD
5
5
  Author-email: Lawson <ljwoods2@asu.edu>
6
6
  Maintainer-email: Lawson <ljwoods2@asu.edu>, Amruthesh Thirumalaiswamy <athiru12@asu.edu>
@@ -73,7 +73,6 @@ class IMDClient:
73
73
  continue_after_disconnect=None,
74
74
  **kwargs,
75
75
  ):
76
-
77
76
  self._stopped = False
78
77
  self._conn = self._connect_to_server(host, port, socket_bufsize)
79
78
  self._imdsinfo = self._await_IMD_handshake()
@@ -147,7 +146,7 @@ class IMDClient:
147
146
 
148
147
  self._producer.start()
149
148
 
150
- def signal_handler(self):
149
+ def signal_handler(self, *args, **kwargs):
151
150
  """Catch SIGINT to allow clean shutdown on CTRL+C.
152
151
 
153
152
  This also ensures that main thread execution doesn't get stuck
@@ -484,7 +483,6 @@ class BaseIMDProducer(threading.Thread):
484
483
  self._buf.notify_producer_finished()
485
484
 
486
485
  def _expect_header(self, expected_type, expected_value=None):
487
-
488
486
  header = self._get_header()
489
487
 
490
488
  if header.type != expected_type:
@@ -591,7 +589,6 @@ class IMDProducerV2(BaseIMDProducer):
591
589
  raise RuntimeError("IMDProducer: Unexpected packet type or length")
592
590
 
593
591
  def _pause(self):
594
- self._conn.settimeout(0)
595
592
  logger.debug(
596
593
  "IMDProducer: Pausing simulation because buffer is almost full"
597
594
  )
@@ -607,7 +604,6 @@ class IMDProducerV2(BaseIMDProducer):
607
604
  # from the socket
608
605
 
609
606
  def _unpause(self):
610
- self._conn.settimeout(self._timeout)
611
607
  logger.debug("IMDProducer: Unpausing simulation, buffer has space")
612
608
  unpause = create_header_bytes(IMDHeaderType.IMD_PAUSE, 0)
613
609
  try:
@@ -658,7 +654,6 @@ class IMDProducerV3(BaseIMDProducer):
658
654
  self._forces = bytearray(xvf_bytes)
659
655
 
660
656
  def _pause(self):
661
- self._conn.settimeout(0)
662
657
  logger.debug(
663
658
  "IMDProducer: Pausing simulation because buffer is almost full"
664
659
  )
@@ -674,7 +669,6 @@ class IMDProducerV3(BaseIMDProducer):
674
669
  # from the socket
675
670
 
676
671
  def _unpause(self):
677
- self._conn.settimeout(self._timeout)
678
672
  logger.debug("IMDProducer: Unpausing simulation, buffer has space")
679
673
  unpause = create_header_bytes(IMDHeaderType.IMD_RESUME, 0)
680
674
  try:
@@ -938,7 +932,6 @@ class IMDFrameBuffer:
938
932
 
939
933
 
940
934
  class IMDFrame:
941
-
942
935
  def __init__(self, n_atoms, imdsinfo):
943
936
  if imdsinfo.time:
944
937
  self.time = 0.0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: imdclient
3
- Version: 0.2.2
3
+ Version: 0.2.3
4
4
  Summary: Receiver for IMD v2 and v3 data from simulation engines like Gromacs, LAMMPS, and NAMD
5
5
  Author-email: Lawson <ljwoods2@asu.edu>
6
6
  Maintainer-email: Lawson <ljwoods2@asu.edu>, Amruthesh Thirumalaiswamy <athiru12@asu.edu>
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes