Commit 519ac56
IMDReader Integration (#4923)
* IMDReader integration
* small cleanup
* Chore: Cleanup and small fixes
1. Moved `parse_host_port` to `IMD.py` and deleted `util.py`
2. Cleaned up `test_imd.py` - changes to `assert_*` functions and simplified non-applicable test to pass automatically
* bump CI
* Add minimum docs
* try add mock for import versions
* fix for wrong assert
* fix fixture issues
* add short class description
* add stricter matching to tests
* forbid use of .timeseries() method for streamed trajectories
* Update test_HAS_IMDCLIENT_new_enough to pass
* add imd docs
* add doc for streamreader
* black imd
* add reason for skipped test
* use staticmethod for readers
* black imd test
* try 0.2.0b0 imdclient
* check imd file input is a string
* add some port parsing test
* add test for transformation
* try cut buffer by 10
* add buffer sizes
* fail out on non-v3
* Change to `r` only
* remove parse port
* remove parse port in test
* only import parse port when imdclient exists
* use monkeypatch to avoid mess sys module
* black imd test
* add coverage test
* add tests fix
* disable test on imd version
* imd type hint
* test error on mda not imdclient
* close ref port properly
* test imd import in different file
* add test for stream base
* move _frame to baseclass
* remove onepass
* Update installed optional deps with new imdclient 0.2.2 package
* Update azure-pipelines.yml for 0.2.2 imdclient version
* Update environment.yml
* Update IMD.py version pins for imdclient package 0.2.2
* Update pyproject.toml for imdclient package 0.2.2
* Update version pin to be dynamic in test_imd_import.py
* Update test_imd_import.py
* make changes for new testserver API
* remove n_atoms_mismatch test
* fix str concat
* Fix host port format
* doc tweaks
* typo
* clarify need for gromacs configuration before example command
* buffer docs tweak and typo
* buffer default value change
* Update: AUTHORS
* Update: CHANGELOG
* black `IMD.py`
* black `test_imd.py`
* test_imd.py: import reorder
* placeholder citation removed
* Correction: `_step` called instead of `step`
* Doc: `StreamFrameIteratorSliced`
* Doc: `StreamReaderBase`
* Doc: `StreamReaderBase`'s `__getitem__`
* Edit: `StreamFrameIteratorSliced` docs
* Doc: Update base Reader list
Added to `StreamReaderBase` to list of base Readers.
* Remove: whitespace
* Update: IMD format
* Change: Error Message type
* Update: IMDReader docs
* Remove: comment
* IMDReader docs: Links to protocol
* Units removed
* Chore: small chnage to IMDReader module docs
* Update: sphinx markup - `base.py`
* Added: See also doc
* Version Added: `StreamFrameIteratorSliced`
* seealso to `StreamReaderBase` added in `IMDReader`
* Update: module and class level docs for limitations
* Remove `grompp`
* fix inlink link to imclient
* Update CHANGELOG w `StreamReaderBase`
* Minor clean up
* Typo: precision
* Limitations updated: `IMDReader` and `StreamReaderBase`
* API Doc: `check_slice_indices``
* API Doc: `timeseries`
* API Doc: `copy`
* API Doc: `rewind`
* API Doc: `next`
* API Doc: `_reopen`
* black `IMD.py`
* black `test_imd.py`
* Error raised and tested in `test_imd.py`
* `step`: docstring and test coverage
* `StreamReaderBase` writer doctsring and tests
* `test_wrong_imd_protocol_version`
* black `test_imd.py`
* added test for RuntimeError on IMDReader.OtherWriter
* merged test_imd_import into test_imd
* refactored IMD import test to use a custom state manager
- testing imports of IMD/imdclient module is now isolated from other tests
- testing different versions of imdclient and IMD.HAS_IMDCLIENT is now done in separate tests
* remove __test__
* Modify: `timestep.pyx` to remove usage of `new` keyword
* Docs: Updated
1. API doc on multiple connections
2. Jupyter usage of `close()` for secure closure of connections
* Cleanup: Remove timestep comment
* Bug Fix: Warnign message for incompatible version
* Refactor: simplify IMD tests with pytest monkeypatch
Replace `IMDModuleStateManager` with standard pytest patterns
* Revert "Refactor: simplify IMD tests with pytest monkeypatch"
This reverts commit cd21d6b.
* IMDReader docs: reorganized and reduced multiple connection details
- move details on which engines support multiple connections to imdclient docs (only update one place) and link
- rearranged warning/seealso boxes
* Update package/pyproject.toml
Co-authored-by: Irfan Alibay <IAlibay@users.noreply.github.com>
* Chore: Minor cleanup
1. Alphabetical order for `imclcient` as optional dependency
2. Changed order in `CHANGELOG`
---------
Co-authored-by: Amruthesh Thirumalaiswamy <amruthesht@users.noreply.github.com>
Co-authored-by: Hugo MacDermott-Opeskin <hugomacdermott@gmail.com>
Co-authored-by: Jennifer A. Clark <jennifer.a.clark13@gmail.com>
Co-authored-by: Yuxuan Zhuang <yuxuan.zhuang@dbb.su.se>
Co-authored-by: Lawson Woods <ljwoods2@asu.edu>
Co-authored-by: Lawson <lwoods@tgen.org>
Co-authored-by: Oliver Beckstein <orbeckst@gmail.com>
Co-authored-by: Yuxuan Zhuang <yuzhuang@stanford.edu>
Co-authored-by: Irfan Alibay <IAlibay@users.noreply.github.com>1 parent 5d48c5c commit 519ac56
File tree
16 files changed
+1533
-9
lines changed- .github/actions/setup-deps
- maintainer/conda
- package
- MDAnalysis/coordinates
- doc/sphinx/source
- documentation_pages
- coordinates
- testsuite/MDAnalysisTests/coordinates
16 files changed
+1533
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| 67 | + | |
| 68 | + | |
67 | 69 | | |
68 | 70 | | |
69 | 71 | | |
| |||
138 | 140 | | |
139 | 141 | | |
140 | 142 | | |
| 143 | + | |
141 | 144 | | |
142 | 145 | | |
143 | 146 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
| 116 | + | |
| 117 | + | |
116 | 118 | | |
117 | 119 | | |
118 | 120 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
260 | 260 | | |
261 | 261 | | |
262 | 262 | | |
| 263 | + | |
263 | 264 | | |
264 | 265 | | |
265 | 266 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
45 | 50 | | |
46 | 51 | | |
47 | 52 | | |
| |||
70 | 75 | | |
71 | 76 | | |
72 | 77 | | |
73 | | - | |
| 78 | + | |
74 | 79 | | |
75 | 80 | | |
76 | 81 | | |
| |||
0 commit comments