Skip to content

Commit

Permalink
Merge pull request #690 from Acellera/newhtmddatamaster
Browse files Browse the repository at this point in the history
New htmd-data on master
  • Loading branch information
j3mdamas committed May 18, 2018
2 parents 511f14d + e787eed commit 7664265
Show file tree
Hide file tree
Showing 2,671 changed files with 499 additions and 4,810,859 deletions.
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[submodule "htmd-data"]
path = htmd/data
url = https://github.com/Acellera/htmd-data.git
branch = stable
13 changes: 8 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,20 +61,23 @@ install:
# Install the Conda dependencies HTMD needs
- df -h
- conda install --file package/htmd-deps/DEPENDENCIES -y
- bash -x continuous-integration/travis/conda_build_htmd-data.sh
- conda install $HOME/miniconda/conda-bld/*/htmd-data-[0-9]*.tar.bz2 -y -q
# Cleaning to reduce amount of space used on disk
- conda clean --all -y

# Build and install the HTMD dependencies package
- python package/htmd-deps/write_meta_yaml.py package/htmd-deps
- conda build --python $TRAVIS_PYTHON_VERSION package/htmd-deps --no-include-recipe
- conda install $HOME/miniconda/conda-bld/*-64/htmd-deps-[0-9]*.tar.bz2 -y -q

# If not PR, clone the private htmdlib repo,
- if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then bash -x ./continuous-integration/travis/compile_htmdlib.sh ; fi

- conda build --python $TRAVIS_PYTHON_VERSION package/htmd-deps --no-include-recipe
- conda build package/htmd-data --no-include-recipe
# Build and install HTMD
- conda build --python $TRAVIS_PYTHON_VERSION package/htmd --no-include-recipe

- conda install $HOME/miniconda/conda-bld/*-64/htmd-deps-[0-9]*.tar.bz2 -y -q
- conda install $HOME/miniconda/conda-bld/*/htmd-data-[0-9]*.tar.bz2 -y -q
- conda install $HOME/miniconda/conda-bld/*-64/htmd-[0-9]*.tar.bz2 -y -q

# Cleaning to reduce amount of space used on disk
- conda clean --all -y

Expand Down
14 changes: 14 additions & 0 deletions continuous-integration/travis/conda_build_htmd-data.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/usr/bin/env bash
# (c) 2015-2018 Acellera Ltd http://www.acellera.com
# All Rights Reserved
# Distributed under HTMD Software License Agreement
# No redistribution in whole or part
#

export MAJOR=0
export MINOR=1
export SHORTHASH=$(git ls-tree HEAD htmd/data | awk '{print substr($3,0,7)}')

export HTMD_DATA_VERSION="${MAJOR}.${MINOR}.hash${SHORTHASH}"

conda build package/htmd-data --no-include-recipe
2 changes: 1 addition & 1 deletion htmd/builder/preparationdata.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def _set(self, residue, key, val, append=False):
self.data.at[pos, key] = val
else:
try:
ov = self.data.iloc[pos][key]
ov = list(self.data.iloc[pos][key])
if type(ov) == float and math.isnan(ov):
ov = list()
except:
Expand Down
1 change: 1 addition & 0 deletions htmd/data
Submodule data added at 67ea20
Binary file removed htmd/data/1kdx/1kdx.dcd
Binary file not shown.
1,811 changes: 0 additions & 1,811 deletions htmd/data/1kdx/1kdx_0.pdb

This file was deleted.

18 changes: 0 additions & 18 deletions htmd/data/1kdx/reference.dat

This file was deleted.

Binary file removed htmd/data/adaptive/data/e1s1_1/output.xtc
Binary file not shown.
Binary file removed htmd/data/adaptive/data/e1s2_1/output.xtc
Binary file not shown.
45 changes: 0 additions & 45 deletions htmd/data/adaptive/generators/1/input

This file was deleted.

Binary file removed htmd/data/adaptive/generators/1/input.coor
Binary file not shown.
Binary file removed htmd/data/adaptive/generators/1/input.idx
Binary file not shown.
Binary file removed htmd/data/adaptive/generators/1/input.vel
Binary file not shown.
3 changes: 0 additions & 3 deletions htmd/data/adaptive/generators/1/input.xsc

This file was deleted.

3 changes: 0 additions & 3 deletions htmd/data/adaptive/generators/1/input.xstfile

This file was deleted.

94,631 changes: 0 additions & 94,631 deletions htmd/data/adaptive/generators/1/parameters

This file was deleted.

42,847 changes: 0 additions & 42,847 deletions htmd/data/adaptive/generators/1/structure.pdb

This file was deleted.

94,631 changes: 0 additions & 94,631 deletions htmd/data/adaptive/generators/1/structure.prmtop

This file was deleted.

1 change: 0 additions & 1 deletion htmd/data/adaptive/input/e1s1_1/FINISH_TIME

This file was deleted.

45 changes: 0 additions & 45 deletions htmd/data/adaptive/input/e1s1_1/input

This file was deleted.

Binary file removed htmd/data/adaptive/input/e1s1_1/input.coor
Binary file not shown.
Binary file removed htmd/data/adaptive/input/e1s1_1/input.idx
Binary file not shown.
Binary file removed htmd/data/adaptive/input/e1s1_1/input.vel
Binary file not shown.
3 changes: 0 additions & 3 deletions htmd/data/adaptive/input/e1s1_1/input.xsc

This file was deleted.

3 changes: 0 additions & 3 deletions htmd/data/adaptive/input/e1s1_1/input.xstfile

This file was deleted.

187 changes: 0 additions & 187 deletions htmd/data/adaptive/input/e1s1_1/log.txt

This file was deleted.

Loading

0 comments on commit 7664265

Please sign in to comment.