Skip to content

Commit

Permalink
Merge pull request #172 from data61/hotfix_circleci
Browse files Browse the repository at this point in the history
fix circleci image issue
  • Loading branch information
dsteinberg committed Mar 1, 2018
2 parents fdc4902 + da33d92 commit 184b27b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
1 change: 1 addition & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ jobs:
- checkout
- run: mkdir -p test_output/pytest test_output/flake8 test_output/coverage
- run: pip3 install -e .[dev]
- run: pip3 install numpy --upgrade # Fix circleci image issue
- run: make lint
- run: make coverage
- store_artifacts:
Expand Down
3 changes: 0 additions & 3 deletions aboleth/datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,6 @@ def fetch_gpml_sarcos_data():
>>> gpml_sarcos.train.targets.shape
(44484,)
>>> gpml_sarcos.train.targets.round(2) # doctest: +ELLIPSIS
array([ 50.29, 44.1 , 37.35, ..., 22.7 , 17.13, 6.52])
>>> gpml_sarcos.test.data.shape
(4449, 21)
Expand Down
4 changes: 2 additions & 2 deletions aboleth/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ def pos(X, minval=1e-15):
>>> Xp = pos(X)
>>> with tf.Session():
... xp = Xp.eval()
>>> xp
array([ 1.00000000e+00, 1.00000000e+00, 1.00000000e-15])
>>> all(xp == np.array([1., 1., 1.e-15]))
True
"""
# Other alternatives could be:
Expand Down

0 comments on commit 184b27b

Please sign in to comment.