-
Notifications
You must be signed in to change notification settings - Fork 653
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
114 changed files
with
4,325 additions
and
2,099 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
## Contributing to MDAnalysis | ||
|
||
Thanks for contributing to MDAnalysis! | ||
|
||
#### Reporting issues | ||
|
||
If you've found a defect with MDAnalysis we'd love to know so we can fix it. Please follow the Issue template so we can quickly diagnose the problem, in particular the piece of code that causes the problem. | ||
|
||
If your issue isn't a defect with the code and instead you require help using MDAnalysis, drop by the [discussion board](http://help.mdanalysis.org). | ||
|
||
#### Contributing code | ||
|
||
If you're contributing code, please check out the [Style guide](https://github.com/MDAnalysis/mdanalysis/wiki/Style-Guide). | ||
|
||
MDAnalysis devs are most easily reached through the [development board](http://developers.mdanalysis.org). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
### Expected behaviour | ||
|
||
|
||
### Actual behaviour | ||
|
||
|
||
### Code to reproduce the behaviour | ||
|
||
``` python | ||
import MDAnalysis as mda | ||
|
||
u = mda.Universe(top, trj) | ||
|
||
.... | ||
|
||
``` | ||
|
||
### Currently version of MDAnalysis: | ||
(run `python -c "import MDAnalysis as mda; print(mda.__version__)"`) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
Fixes # | ||
|
||
Changes made in this Pull Request: | ||
- | ||
|
||
|
||
PR Checklist | ||
------------ | ||
- [ ] Tests? | ||
- [ ] Docs? | ||
- [ ] CHANGELOG updated? | ||
- [ ] Issue raised/referenced? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,9 @@ branches: | |
- master | ||
- develop | ||
|
||
language: python | ||
os: | ||
- linux | ||
- osx | ||
env: | ||
global: | ||
- secure: "HIj3p+p2PV8DBVg/KGUx6n83KwB0ASE5FwOn0SMB9zxnzAqe8sapwdBQdMdq0sXB7xT1spJqRxuxOMVEVn35BNLu7bxMLfa4287C8YXcomnvmv9xruxAsjsIewnNQ80vtPVbQddBPxa4jKbqgPby5QhhAP8KANAqYe44pIV70fY=" | ||
|
@@ -13,39 +15,29 @@ env: | |
- GIT_CI_USER: TravisCI | ||
- GIT_CI_EMAIL: [email protected] | ||
- MDA_DOCDIR: package/doc/html | ||
matrix: | ||
- SETUP=minimal PYTHON_VERSION=2.7 | ||
- SETUP=full PYTHON_VERSION=2.7 | ||
- SETUP=minimal PYTHON_VERSION=3.3 | ||
- SETUP=full PYTHON_VERSION=3.3 | ||
matrix: | ||
allow_failures: | ||
- python: "3.3" | ||
env: SETUP=full | ||
include: | ||
- python: "2.7" | ||
env: SETUP=minimal | ||
- python: "2.7" | ||
env: SETUP=full | ||
- python: "3.3" | ||
env: SETUP=full | ||
# command to install dependencies | ||
addons: | ||
apt: | ||
packages: | ||
- gfortran | ||
- libgfortran3 | ||
- libhdf5-serial-dev | ||
- libnetcdf-dev | ||
- liblapack-dev | ||
- libatlas-dev | ||
- env: SETUP=minimal PYTHON_VERSION=3.3 | ||
- env: SETUP=full PYTHON_VERSION=3.3 | ||
|
||
before_install: | ||
- wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh | ||
- if [[ $TRAVIS_OS_NAME == 'osx' ]]; then wget http://repo.continuum.io/miniconda/Miniconda-latest-MacOSX-x86_64.sh -O miniconda.sh; fi | ||
- if [[ $TRAVIS_OS_NAME == 'linux' ]]; then wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh; fi | ||
- chmod +x miniconda.sh | ||
- ./miniconda.sh -b -p /home/travis/miniconda | ||
- export PATH=/home/travis/miniconda/bin:$PATH | ||
- ./miniconda.sh -b -p $(pwd)/miniconda | ||
- export PATH=$(pwd)/miniconda/bin:$PATH | ||
- conda update --yes conda | ||
install: | ||
- if [[ $SETUP == 'full' ]]; then conda create --yes -q -n pyenv python=2.7 numpy=1.9.2 scipy=0.16.0 nose=1.3.7 sphinx=1.3; fi | ||
- if [[ $SETUP == 'minimal' ]]; then conda create --yes -q -n pyenv python=2.7 numpy=1.9.2 nose=1.3.7 sphinx=1.3; fi | ||
- if [[ $SETUP == 'full' ]]; then conda create --yes -q -n pyenv python=$PYTHON_VERSION numpy scipy nose=1.3.7 sphinx=1.3; fi | ||
- if [[ $SETUP == 'minimal' ]]; then conda create --yes -q -n pyenv python=$PYTHON_VERSION numpy nose=1.3.7 sphinx=1.3; fi | ||
- source activate pyenv | ||
- if [[ $SETUP == 'full' ]]; then conda install --yes python=$TRAVIS_PYTHON_VERSION cython biopython matplotlib networkx netcdf4; fi | ||
- if [[ $SETUP == 'minimal' ]]; then conda install --yes python=$TRAVIS_PYTHON_VERSION cython biopython networkx; fi | ||
- if [[ $SETUP == 'full' ]]; then conda install --yes python=$PYTHON_VERSION cython biopython matplotlib networkx netcdf4; fi | ||
- if [[ $SETUP == 'minimal' ]]; then conda install --yes python=$PYTHON_VERSION cython biopython networkx; fi | ||
# ensure that cython files are rebuilt | ||
- find . -name '*.pyx' -exec touch '{}' \; | ||
- pip install -v package/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/bash | ||
|
||
MDA_USE_OPENMP=FALSE pip install package/ | ||
pip install testsuite/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
package: | ||
name: mdanalysis | ||
# This has to be changed after a release | ||
version: "0.14.0" | ||
|
||
source: | ||
# to build from source you can speficy the path to the code directly. | ||
# path: ../../../ | ||
# This ensures that you will build from a clean checkout | ||
git_url: https://github.com/MDAnalysis/mdanalysis | ||
git_branch: master | ||
# git_tag: release-0.14.0 | ||
|
||
requirements: | ||
build: | ||
- python | ||
- setuptools | ||
- pip | ||
- numpy | ||
- cython | ||
- biopython | ||
- networkx | ||
- griddataformats | ||
- nose | ||
|
||
run: | ||
- python | ||
- numpy | ||
- scipy | ||
- griddataformats | ||
- networkx | ||
- biopython | ||
- matplotlib | ||
- seaborn | ||
- six | ||
- netcdf4 | ||
- nose | ||
|
||
test: | ||
imports: | ||
- MDAnalysis | ||
- MDAnalysis.analysis | ||
# check that distance cython modules have been build | ||
- MDAnalysis.lib.c_distances_openmp | ||
- MDAnalysis.lib.c_distances | ||
|
||
requires: | ||
# this is the same list as the run requirements | ||
- python | ||
- numpy | ||
- scipy | ||
- griddataformats | ||
- networkx | ||
- biopython | ||
- matplotlib | ||
- seaborn | ||
- six | ||
- netcdf4 | ||
- nose | ||
|
||
commands: | ||
# run the testsuite with 2 processes | ||
- python -c 'import MDAnalysisTests; MDAnalysisTests.run(label="full", extra_argv=["-v", "--processes=2", "--process-timeout=120"])' | ||
|
||
about: | ||
home: http://www.mdanalysis.org | ||
license: GPLv2 | ||
license_file: package/LICENSE | ||
summary: 'MDAnalysis is a Python library to analyze molecular dynamics trajectories.' | ||
|
||
# See | ||
# http://docs.continuum.io/conda/build.html for | ||
# more information about meta.yaml |
Oops, something went wrong.