Skip to content

Commit 5d341fc

Browse files
amrutheshtorbeckstjaclark5ljwoods2
authored
IMDReader removed from imdclient (#54)
* fix #53 * package now only contains imdclient * remove IMDReader (moving to MDAnalysis) - IMDReader and StreamReaderBase has been removed from the main package - Tests for the IMDReader have been removed from the tests folder - package does not require MDAnalysis (except for testing) * updated tests: uses custom MinimalReader for MD engine tests * ensure that tests correctly test integration time step * updated project files with changes in dependencies * updated docs (changed all references to be imdclient as package name) * updated AUTHORS * updated CHANGELOG --------- Co-authored-by: Amruthesh Thirumalaiswamy <amruthesht@users.noreply.github.com> Co-authored-by: Oliver Beckstein <orbeckst@gmail.com> Co-authored-by: Jennifer A. Clark <jennifer.a.clark13@gmail.com> Co-authored-by: Lawson Woods <ljwoods2@asu.edu> Co-authored-by: ljwoods2 <145226270+ljwoods2@users.noreply.github.com>
1 parent cba91fc commit 5d341fc

40 files changed

+592
-3432
lines changed

.github/workflows/gh-ci.yaml

Lines changed: 8 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,10 @@ jobs:
4545
needs: environment-config
4646
runs-on: ${{ matrix.os }}
4747
strategy:
48-
fail-fast: false
49-
matrix:
50-
os: [macOS-latest, ubuntu-latest]
51-
python-version: ["3.10", "3.11", "3.12"]
52-
mdanalysis-version: ["latest"]
48+
fail-fast: false
49+
matrix:
50+
os: [macOS-latest, ubuntu-latest]
51+
python-version: ["3.10", "3.11", "3.12"]
5352

5453
steps:
5554
- uses: actions/checkout@v4
@@ -81,16 +80,7 @@ jobs:
8180
show-channel-urls: true
8281
miniconda-version: latest
8382

84-
85-
- name: Install MDAnalysis version
86-
uses: MDAnalysis/install-mdanalysis@main
87-
with:
88-
version: ${{ matrix.mdanalysis-version }}
89-
install-tests: true
90-
installer: conda
91-
shell: bash -l {0}
92-
93-
- name: Install package
83+
- name: Install imdclient
9484
run: |
9585
python --version
9686
python -m pip install . --no-deps
@@ -106,10 +96,10 @@ jobs:
10696
- name: Run IMDClient tests
10797
run: |
10898
pytest -n auto -v --cov=imdclient --cov-report=xml --color=yes imdclient/tests/test_imdclient.py
109-
110-
- name: Run IMDReader tests
99+
100+
- name: Run package utilities tests
111101
run: |
112-
pytest -n auto -v --cov=imdclient --cov-report=xml --color=yes imdclient/tests/test_imdreader.py
102+
pytest -n auto -v --cov=imdclient --cov-report=xml --color=yes imdclient/tests/test_utils.py
113103
114104
- name: codecov
115105
if: github.event_name != 'schedule'
@@ -174,14 +164,6 @@ jobs:
174164
show-channel-urls: true
175165
miniconda-version: latest
176166

177-
- name: Install MDAnalysis version
178-
uses: MDAnalysis/install-mdanalysis@main
179-
with:
180-
version: latest
181-
install-tests: true
182-
installer: conda
183-
shell: bash -l {0}
184-
185167
- name: Install package
186168
run: |
187169
python --version

AUTHORS.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ IMDClient was created by Lawson in 2024.
44

55

66
<!-- All contributing authors are listed in this file below.
7-
The repository history at https://github.com/becksteinlab/imdreader
7+
The repository history at https://github.com/becksteinlab/imdclient
88
and the CHANGELOG show individual code contributions. -->
99

1010
## Chronological list of authors
@@ -19,5 +19,8 @@ The rules for this file:
1919
* Don't ever delete anything
2020
-->
2121

22+
**2025**
23+
- Amruthesh Thirumalaiswamy <@amruthesht>
24+
2225
**2024**
2326
- Lawson <@ljwoods2>

CHANGELOG.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,20 @@ The rules for this file:
2020

2121
### Authors
2222
<!-- GitHub usernames of contributors to this release -->
23+
@amruthesht @ljwoods2
2324

2425
### Added
2526
<!-- New added features -->
27+
* Updated installation instructions by @amruthesht in https://github.com/Becksteinlab/imdclient/pull/74
28+
* MD engine links updated in IMDClient documnetation by @amruthesht in https://github.com/Becksteinlab/imdclient/pull/73
29+
* Parse input files for DT when not in traj by @ljwoods2 in https://github.com/Becksteinlab/imdclient/pull/71
2630

2731
### Fixed
2832
<!-- Bug fixes -->
2933

3034
### Changed
3135
<!-- Changes in existing functionality -->
36+
* IMDReader removed from imdclient by @amruthesht in https://github.com/Becksteinlab/imdclient/pull/54
3237

3338
### Deprecated
3439
<!-- Soon-to-be removed features -->
@@ -38,6 +43,29 @@ The rules for this file:
3843

3944

4045

46+
## [v0.1.5-alpha] - 2025-06-24
47+
48+
### Authors
49+
<!-- GitHub usernames of contributors to this release -->
50+
@orbeckst @amruthesht @hcho38 @ljwoods2
51+
52+
### Added
53+
<!-- New added features -->
54+
* NAMD Testing with private image + Docs by @ljwoods2 in https://github.com/Becksteinlab/imdclient/pull/46
55+
* Lammps usage docs by @ljwoods2 in https://github.com/Becksteinlab/imdclient/pull/49
56+
* Instructions for various namd builds by @amruthesht in https://github.com/Becksteinlab/imdclient/pull/51
57+
* chore: added client.py files and cleaned uo output data from examples by @amruthesht in https://github.com/Becksteinlab/imdclient/pull/52
58+
* add codecov token to workflow by @orbeckst in https://github.com/Becksteinlab/imdclient/pull/60
59+
* add sphinx.configuration for RTD by @orbeckst in https://github.com/Becksteinlab/imdclient/pull/62
60+
* Updated CHANGELOG based on the release notes of IMDClient by @hcho38 in https://github.com/Becksteinlab/imdclient/pull/67
61+
* `IMD_TIME` packet definitions modified by @amruthesht in https://github.com/Becksteinlab/imdclient/pull/68
62+
63+
### Changed
64+
<!-- Changes in existing functionality -->
65+
* Run all simulation enegine tests regardless of failed tests by @amruthesht in https://github.com/Becksteinlab/imdclient/pull/69
66+
67+
68+
4169
## [v0.1.4] - 2024-12-13
4270

4371
### Authors

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,25 +5,23 @@ IMDClient
55
| **Latest release** | [![Last release tag][badge_release]][url_latest_release] ![GitHub commits since latest release (by date) for a branch][badge_commits_since] [![Documentation Status][badge_docs]][url_docs]|
66
| :----------------- | :------- |
77
| **Status** | [![GH Actions Status][badge_actions]][url_actions] [![codecov][badge_codecov]][url_codecov] |
8-
| **Community** | [![License: MIT][badge_license]][url_license] [![Powered by MDAnalysis][badge_mda]][url_mda]|
8+
| **Community** | [![License: MIT][badge_license]][url_license]
99

1010
[badge_actions]: https://github.com/becksteinlab/imdclient/actions/workflows/gh-ci.yaml/badge.svg
1111
[badge_codecov]: https://codecov.io/gh/becksteinlab/imdclient/branch/main/graph/badge.svg
1212
[badge_commits_since]: https://img.shields.io/github/commits-since/becksteinlab/imdclient/latest
1313
[badge_docs]: https://readthedocs.org/projects/imdclient/badge/?version=latest
1414
[badge_license]: https://img.shields.io/badge/License-MIT-blue.svg
15-
[badge_mda]: https://img.shields.io/badge/powered%20by-MDAnalysis-orange.svg?logoWidth=16&logo=data:image/x-icon;base64,AAABAAEAEBAAAAEAIAAoBAAAFgAAACgAAAAQAAAAIAAAAAEAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAJD+XwCY/fEAkf3uAJf97wGT/a+HfHaoiIWE7n9/f+6Hh4fvgICAjwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACT/yYAlP//AJ///wCg//8JjvOchXly1oaGhv+Ghob/j4+P/39/f3IAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAJH8aQCY/8wAkv2kfY+elJ6al/yVlZX7iIiI8H9/f7h/f38UAAAAAAAAAAAAAAAAAAAAAAAAAAB/f38egYF/noqAebF8gYaagnx3oFpUUtZpaWr/WFhY8zo6OmT///8BAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgICAn46Ojv+Hh4b/jouJ/4iGhfcAAADnAAAA/wAAAP8AAADIAAAAAwCj/zIAnf2VAJD/PAAAAAAAAAAAAAAAAICAgNGHh4f/gICA/4SEhP+Xl5f/AwMD/wAAAP8AAAD/AAAA/wAAAB8Aov9/ALr//wCS/Z0AAAAAAAAAAAAAAACBgYGOjo6O/4mJif+Pj4//iYmJ/wAAAOAAAAD+AAAA/wAAAP8AAABhAP7+FgCi/38Axf4fAAAAAAAAAAAAAAAAiIiID4GBgYKCgoKogoB+fYSEgZhgYGDZXl5e/m9vb/9ISEjpEBAQxw8AAFQAAAAAAAAANQAAADcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAjo6Mb5iYmP+cnJz/jY2N95CQkO4pKSn/AAAA7gAAAP0AAAD7AAAAhgAAAAEAAAAAAAAAAACL/gsAkv2uAJX/QQAAAAB9fX3egoKC/4CAgP+NjY3/c3Nz+wAAAP8AAAD/AAAA/wAAAPUAAAAcAAAAAAAAAAAAnP4NAJL9rgCR/0YAAAAAfX19w4ODg/98fHz/i4uL/4qKivwAAAD/AAAA/wAAAP8AAAD1AAAAGwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAALGxsVyqqqr/mpqa/6mpqf9KSUn/AAAA5QAAAPkAAAD5AAAAhQAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADkUFBSuZ2dn/3V1df8uLi7bAAAATgBGfyQAAAA2AAAAMwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB0AAADoAAAA/wAAAP8AAAD/AAAAWgC3/2AAnv3eAJ/+dgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA9AAAA/wAAAP8AAAD/AAAA/wAKDzEAnP3WAKn//wCS/OgAf/8MAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIQAAANwAAADtAAAA7QAAAMAAABUMAJn9gwCe/e0Aj/2LAP//AQAAAAAAAAAA
1615
[badge_release]: https://img.shields.io/github/release-pre/becksteinlab/imdclient.svg
1716
[url_actions]: https://github.com/becksteinlab/imdclient/actions?query=branch%3Amain+workflow%3Agh-ci
1817
[url_codecov]: https://codecov.io/gh/becksteinlab/imdclient/branch/main
1918
[url_docs]: https://imdclient.readthedocs.io/en/latest/?badge=latest
2019
[url_latest_release]: https://github.com/becksteinlab/imdclient/releases
2120
[url_license]: https://opensource.org/license/mit
22-
[url_mda]: https://www.mdanalysis.org
2321

2422
Receiver for [IMDv3 protocol](https://imdclient.readthedocs.io/en/latest/protocol_v3.html) from simulation engines like Gromacs, LAMMPS, and NAMD.
2523

26-
IMDClient is bound by a [Code of Conduct](https://github.com/becksteinlab/imdreader/blob/main/CODE_OF_CONDUCT.md).
24+
IMDClient is bound by a [Code of Conduct](https://github.com/becksteinlab/imdclient/blob/main/CODE_OF_CONDUCT.md).
2725

2826
### Installation
2927

@@ -110,7 +108,7 @@ pip install ".[test,doc]"
110108
The IMDClient source code is hosted at https://github.com/becksteinlab/imdclient
111109
and is available under the MIT license (see the file [LICENSE](https://github.com/becksteinlab/imdclient/blob/main/LICENSE)).
112110

113-
Copyright (c) 2024, Lawson
111+
Copyright (c) 2024-2025, imdclient [AUTHORS](https://github.com/Becksteinlab/imdclient/blob/main/AUTHORS.md)
114112

115113

116114
#### Acknowledgements

devtools/conda-envs/test_env.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,17 @@ dependencies:
88
- pip
99

1010
# MDAnalysis
11-
- MDAnalysis>=2.7.0
11+
- MDAnalysis
1212

1313
# Testing
1414
- pytest
1515
- pytest-cov
1616
- pytest-xdist
1717
- codecov
18-
- MDAnalysisTests>=2.7.0
18+
- MDAnalysisTests
1919
- docker-py
2020

2121
# Pip-only installs
22-
#- pip:
22+
# - pip:
2323
# - codecov
2424

docs/requirements.yaml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
1-
name: imdreader-docs
1+
name: imdclient-docs
22
channels:
3-
43
- conda-forge
5-
64
dependencies:
75
# Base depends
86
- python
9-
- pip
10-
117
- mdanalysis-sphinx-theme >=1.0.1
8+
- pip
129
- sphinxcontrib-bibtex
1310
# Pip-only installs
14-
#- pip:
11+
# - pip:

docs/source/api.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
API Documentation
22
=================
33

4-
.. automodule:: imdclient.IMD
54
.. automodule:: imdclient.IMDClient

docs/source/index.rst

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
1-
.. imdclient documentation master file, created by
2-
sphinx-quickstart on Thu Mar 15 13:55:56 2018.
3-
You can adapt this file completely to your liking, but it should at least
4-
contain the root `toctree` directive.
5-
61
Welcome to IMDClient's documentation!
72
=========================================================
83

4+
IMDClient is a Python-based client library designed to interact with simulation engines making interactive molecular dynamics
5+
(IMD) possible. It provides tools for communicating with the IMDv2 and new IMDv3 protocols, enabling seamless integration
6+
between its API with simulation engines such as NAMD, LAMMPS, and GROMACS. Users can leverage this library to build
7+
applications that interact with the IMD system efficiently, e.g., MDAnalysis IMDReader. IMDv3 has been standardized across
8+
supported simulation engines with regard to transmitted data and is processed in IMDClient to provide consistent
9+
`units <protocol_v3.html#units>`_. See `IMDv3 Protocol <protocol_v3.html>`_ for more details. IMDClient is ideal for
10+
developers looking to produce on-the-fly analysis, avoiding storage of large trajectories.
11+
912
.. toctree::
1013
:maxdepth: 2
1114
:caption: Contents:

0 commit comments

Comments
 (0)