Skip to content

Commit

Permalink
Add Chemfiles as a coordinate reader/writer (#1862)
Browse files Browse the repository at this point in the history
* Implement CHEMFILES reader and writer

Co-authored-by: richardjgowers <[email protected]>
Co-authored-by: Max Linke <[email protected]>
  • Loading branch information
3 people authored Mar 10, 2020
1 parent d9a78a4 commit e416aa7
Show file tree
Hide file tree
Showing 11 changed files with 661 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ cache:
environment:
global:
CONDA_CHANNELS: conda-forge
CONDA_DEPENDENCIES: pip setuptools wheel cython mock six biopython networkx joblib matplotlib scipy vs2015_runtime pytest mmtf-python GridDataFormats hypothesis pytest-cov codecov
CONDA_DEPENDENCIES: pip setuptools wheel cython mock six biopython networkx joblib matplotlib scipy vs2015_runtime pytest mmtf-python GridDataFormats hypothesis pytest-cov codecov chemfiles
PIP_DEPENDENCIES: gsd==1.9.3 duecredit parmed
DEBUG: "False"
MINGW_64: C:\mingw-w64\x86_64-6.3.0-posix-seh-rt_v5-rev1\mingw64\bin
Expand Down
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ env:
- SETUP_CMD="${PYTEST_FLAGS}"
- BUILD_CMD="pip install -e package/ && (cd testsuite/ && python setup.py build)"
- CONDA_MIN_DEPENDENCIES="mmtf-python mock six biopython networkx cython matplotlib scipy griddataformats hypothesis gsd codecov"
- CONDA_DEPENDENCIES="${CONDA_MIN_DEPENDENCIES} seaborn>=0.7.0 clustalw=2.1 netcdf4 scikit-learn joblib>=0.12"
- CONDA_DEPENDENCIES="${CONDA_MIN_DEPENDENCIES} seaborn>=0.7.0 clustalw=2.1 netcdf4 scikit-learn joblib>=0.12 chemfiles"
- CONDA_CHANNELS='biobuilds conda-forge'
- CONDA_CHANNEL_PRIORITY=True
- PIP_DEPENDENCIES="duecredit parmed"
Expand Down Expand Up @@ -66,7 +66,7 @@ matrix:
INSTALL_HOLE="false"

- env: NAME="python 2.7"
PYTHON_VERSION=2.7
PYTHON_VERSION=2.7
CODECOV="true"
NUMPY_VERSION=1.16
SETUP_CMD="${PYTEST_FLAGS} --cov=MDAnalysis"
Expand Down
2 changes: 1 addition & 1 deletion package/AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ Chronological list of authors
2020
- Charlie Cook
- Yuanyu Chang
- Guillaume Fraux
- Ivan Hristov
- Michael Quevillon
- Hao Tian
Expand All @@ -136,7 +137,6 @@ Chronological list of authors
- Shubham Sharma



External code
-------------

Expand Down
3 changes: 2 additions & 1 deletion package/CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ The rules for this file:
mm/dd/yy richardjgowers, kain88-de, lilyminium, p-j-smith, bdice, joaomcteixeira,
PicoCentauri, davidercruz, jbarnoud, RMeli, IAlibay, mtiberti, CCook96,
Yuan-Yu, xiki-tempula, HTian1997, Iv-Hristov, hmacdope, AnshulAngaria,
ss62171
ss62171, Luthaf

* 0.21.0

Expand Down Expand Up @@ -66,6 +66,7 @@ Fixes
* Fixed example docs for polymer persistence length (#2582)

Enhancements
* Added ability to use Chemfiles as a trajectory reader backend (PR #1862)
* New analysis.hole2 module for HOLE interfacing. Contains a function (hole)
for running HOLE on singular PDB files and class (HoleAnalysis) for
trajectories (PR #2523)
Expand Down
1 change: 1 addition & 0 deletions package/MDAnalysis/coordinates/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -716,6 +716,7 @@ class can choose an appropriate reader automatically.
from . import base
from .core import reader, writer
from . import chain
from . import chemfiles
from . import CRD
from . import DCD
from . import DLPoly
Expand Down
Loading

0 comments on commit e416aa7

Please sign in to comment.