Skip to content

Commit 662dbd7

Browse files
committed
First commit of AQME
1 parent 6c503e1 commit 662dbd7

File tree

343 files changed

+62408
-2
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

343 files changed

+62408
-2
lines changed

.DS_Store

10 KB
Binary file not shown.

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
Example_workflows/
2+
tests/
3+
*.log
14
# Byte-compiled / optimized / DLL files
25
__pycache__/
36
*.py[cod]
@@ -127,3 +130,6 @@ dmypy.json
127130

128131
# Pyre type checker
129132
.pyre/
133+
134+
# Visual Studio Code configuration
135+
.vscode/

.travis.yml

Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
# adapted from https://github.com/rdkit/rdkit-tutorials/blob/master/.travis.yml
2+
3+
language: python
4+
python:
5+
- "3.7"
6+
7+
sudo: required
8+
9+
# xTB needs gcc-8 and gfortran-8 to be compiled
10+
matrix:
11+
include:
12+
- os: linux
13+
addons:
14+
apt:
15+
sources:
16+
- ubuntu-toolchain-r-test
17+
packages:
18+
- gcc-8
19+
- gfortran-8
20+
- liblapack-dev
21+
- libblas-dev
22+
env: CC='gcc-8' FC='gfortran-8'
23+
24+
before_install:
25+
# download and install miniconda
26+
- wget http://repo.continuum.io/miniconda/Miniconda3-4.1.11-Linux-x86_64.sh -O miniconda.sh;
27+
- bash miniconda.sh -b -p $HOME/conda
28+
- export PATH="$HOME/conda/bin:$PATH"
29+
- hash -r
30+
- conda config --set always_yes yes --set changeps1 no
31+
- conda update -q conda
32+
# Useful for debugging any issues with conda
33+
- conda info -a
34+
# create and activate the build/test environment
35+
- conda create -q -n tenv python=$TRAVIS_PYTHON_VERSION pip cmake
36+
- source activate tenv
37+
- sudo apt-get update
38+
39+
install:
40+
- conda install -c openbabel openbabel==2.4.1 # for some reason, openbabel v3.0.0 is not compatible with RDKit
41+
- conda install -c rdkit rdkit=2020.03.2.0 # different versions of RDKit lead to different amount of conformers and E, which messes up the test results
42+
- pip install PyYAML
43+
- pip install pandas
44+
- pip install pytest
45+
- python setup.py install
46+
- pip install progress
47+
- pip install pytest-cov
48+
- pip install codecov
49+
- pip install ase
50+
- pip install torch==1.5.0+cpu torchvision==0.6.0+cpu -f https://download.pytorch.org/whl/torch_stable.html
51+
- pip install torchani==2.2
52+
- pip install goodvibes
53+
- pip install cclib
54+
- pip install matplotlib
55+
- pip install seaborn
56+
# for xTB
57+
# - pip install Cython
58+
- pip install importlib
59+
- pip install numpy
60+
- pip install cffi
61+
- pip install qcelemental
62+
- pip install meson
63+
- pip install ninja
64+
- sudo apt-get install libblas-dev liblapack-dev
65+
- sudo apt-get install libopenblas-base libopenblas-dev
66+
67+
before_script:
68+
# For xTB
69+
- wget https://github.com/grimme-lab/xtb/archive/v6.3.0.zip
70+
- unzip v6.3.0.zip
71+
- cd xtb-6.3.0
72+
- meson setup build_gcc --buildtype release -Dla_backend=openblas --warnlevel 0
73+
- XTBHOME=$PWD
74+
- XTBPATH=${XTBHOME}/share/xtb:${XTBHOME}:${HOME}
75+
- MANPATH=${MANPATH}:${XTBHOME}/share/man
76+
- PATH=${PATH}:${XTBHOME}/bin
77+
- LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${XTBHOME}/lib
78+
- PYTHONPATH=${PYTHONPATH}:${XTBHOME}/python
79+
- export PATH XTBPATH MANPATH LD_LIBRARY_PATH PYTHONPATH
80+
- git clone --branch=master https://github.com/jvalegre/xtb-python
81+
# - git clone --branch=master https://github.com/grimme-lab/xtb-python
82+
- cd xtb-python
83+
# change the previous git clone part into this wget + unzip zip when there is a release (that way the version used will always be the same)
84+
# - wget https://github.com/grimme-lab/xtb-python/archive/v20.1.zip
85+
# - unzip v20.1.zip
86+
# - cd xtb-python-20.1
87+
# compile xtb-python
88+
- git submodule update --init
89+
- meson setup build --prefix=$PWD --libdir=xtb -Dla_backend=netlib
90+
- ninja -C build install
91+
- pip install -e .
92+
- cd ..
93+
- cd ..
94+
95+
script:
96+
- cd tests
97+
- pytest -v --cov=aqme
98+
- codecov

0 commit comments

Comments
 (0)