Skip to content

Commit

Permalink
Add numpy, h5py & always use latest msprime
Browse files Browse the repository at this point in the history
note just adding numpy fixes the import issue and makes the added tests pass
  • Loading branch information
ashander committed Apr 14, 2017
1 parent d8d02cc commit 2e30566
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
4 changes: 3 additions & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,12 @@ dependencies:
- coverage==4.3.4
- coveralls==1.1
- docutils==0.13.1
- h5py==2.6.0
- imagesize==0.7.1
- jinja2==2.9.5
- markupsafe==1.0
- "--editable=git+https://github.com/jeromekelleher/msprime.git@06589980d050982390b35f527bb38af9bafd5721#egg=msprime"
- "--editable=git+https://github.com/jeromekelleher/msprime.git@master#egg=msprime"
- numpy==1.12.0
- py==1.4.33
- pygments==2.2.0
- pyparsing==2.2.0
Expand Down
11 changes: 11 additions & 0 deletions tests/test_msprime_version.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import msprime


def test_time_attribute():
node = msprime.NodeTable()
node.time
print(msprime.__version__)


if __name__ == '__main__':
test_time_attribute()

0 comments on commit 2e30566

Please sign in to comment.