-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge master commit '939ed29769f971374982a0663dcd3ab22d5f74a4' into n…
…wchem_qmmm # Conflicts: # moldesign/_tests/helpers.py # moldesign/_tests/test_qm_xfaces.py # moldesign/compute/compute.py # moldesign/fileio.py # moldesign/orbitals/wfn.py
- Loading branch information
Showing
99 changed files
with
2,614 additions
and
23,103 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
[paths] | ||
source = | ||
moldesign | ||
*/site-packages/moldesign | ||
*/dist-packages/moldesign | ||
|
||
|
||
[run] | ||
source = moldesign | ||
omit = | ||
moldesign/_notebooks/* | ||
moldesign/_tests/* | ||
moldesign/_static_data/* | ||
moldesign/_version.py | ||
moldesign/external/* | ||
moldesign/widgets.py | ||
moldesign/interfaces/nbo_interface.py | ||
moldesign/utils/_deadfunctions.py | ||
moldesign/utils/docparsers/google.py | ||
|
||
[report] | ||
exclude_lines = | ||
pragma: no cover | ||
def __repr__ | ||
def __str__ | ||
def _repr_markdown_ | ||
raise AssertionError | ||
raise NotImplementedError | ||
if PY2 | ||
if future.utils.PY2 | ||
def show | ||
def unshow | ||
|
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,16 @@ | ||
<!-- Delete the text below if you're not filing a bug report --> | ||
## Bug report | ||
#### Description | ||
<!-- A quick description of what's going wrong --> | ||
|
||
#### Steps to reproduce | ||
<!-- If possible, show us how to reproduce the bug, INCLUDING any error messages you receive --> | ||
|
||
```python | ||
### code to reproduce the bug goes here ### | ||
``` | ||
|
||
#### Environment | ||
- Operating system: <!-- e.g., "MacOS 10.12.3" or "Debian 8.8"--> | ||
- `python --version` output: <!-- e.g., "2.7.13" or "Python 3.5.2 :: Continuum Analytics, Inc."--> | ||
- `pip show moldesign nbmolviz | grep -B1 Version` output: |
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 |
---|---|---|
@@ -1 +1 @@ | ||
DockerMake >= 0.5.3 | ||
DockerMake >= 0.5.6 |
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
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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,3 +1,6 @@ | ||
FROM moldesign_complete:dev | ||
ADD requirements.txt provision_testrunner_image.sh /tmp/ | ||
RUN cd /tmp && ./provision_testrunner_image.sh | ||
RUN pip install twine | ||
WORKDIR /opt/molecular-design-toolkit | ||
RUN pip install -r DockerMakefiles/requirements.txt |
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 |
---|---|---|
@@ -1,5 +1,8 @@ | ||
#!/usr/bin/env bash | ||
# Gets image ready to run tests | ||
|
||
mkdir -p ~/.moldesign \ | ||
&& echo devmode: true >> ~/.moldesign/moldesign.yml \ | ||
&& pip install -r ./requirements.txt | ||
set -e | ||
|
||
mkdir -p ~/.moldesign | ||
echo devmode: true >> ~/.moldesign/moldesign.yml | ||
pip install -r ./requirements.txt |
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,25 @@ | ||
#!/bin/bash | ||
|
||
# Publish a new release (triggered by a git tag that conforms to a PEP440 release) | ||
# Exit 1 if there's a mismatch between the git tag and the package's version | ||
# Expects to run in base directory | ||
|
||
# fail immediately if any command fails: | ||
set -e | ||
|
||
pyversion=$(python -m moldesign version | tail -n 1) | ||
|
||
if [ "${pyversion}" == "${CI_BRANCH}" ]; then | ||
echo "Deploying version ${CI_BRANCH}" | ||
else | ||
echo "Can't publish - moldesign package version '${pyversion}' differs from its Git tag '${CI_BRANCH}'" | ||
exit 1 | ||
fi | ||
|
||
docker-make -f DockerMakefiles/DockerMake.yml \ | ||
--repo docker.io/autodesk/moldesign: \ | ||
--tag ${pyversion} \ | ||
--all \ | ||
--push --user ${DOCKERHUB_USER} --token ${DOCKERHUB_PASSWORD} | ||
|
||
twine upload -u ${PYPI_USER} -p ${PYPI_PASSWORD} dist/moldesign-${pyversion}.tar.gz |
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 |
---|---|---|
@@ -1,6 +1,9 @@ | ||
# Python dependencies for the build/test environment | ||
coveralls | ||
nbformat | ||
pathlib ; python_version < '3.5' | ||
PyGithub | ||
pytest-cov | ||
pytest-xdist | ||
pytest-xdist != 1.17.0 | ||
pytest-timeout | ||
coveralls | ||
|
Oops, something went wrong.