Skip to content

Commit

Permalink
Merge pull request #175 from jamesETsmith/mybinder
Browse files Browse the repository at this point in the history
Adding Files for Binder
  • Loading branch information
gcarleo committed Mar 18, 2019
2 parents 5af8d64 + c96a03f commit d3a6a36
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 6 deletions.
2 changes: 2 additions & 0 deletions README.md
Expand Up @@ -6,6 +6,8 @@
[![CodeFactor](https://www.codefactor.io/repository/github/netket/netket/badge)](https://www.codefactor.io/repository/github/netket/netket)
[![GitHub Issues](https://img.shields.io/github/issues/netket/netket.svg)](http://github.com/netket/netket/issues)
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/netket/netket/master)


# __NetKet__

Expand Down
3 changes: 1 addition & 2 deletions Tutorials/CustomHamiltonian.ipynb
Expand Up @@ -26,7 +26,6 @@
"source": [
"# Import netket library\n",
"import netket as nk\n",
"from mpi4py import MPI\n",
"\n",
"# Helper libraries\n",
"import numpy as np\n",
Expand Down Expand Up @@ -303,7 +302,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.6"
"version": "3.6.8"
}
},
"nbformat": 4,
Expand Down
3 changes: 1 addition & 2 deletions Tutorials/j1j2.ipynb
Expand Up @@ -34,7 +34,6 @@
"source": [
"# Import netket library\n",
"import netket as nk\n",
"from mpi4py import MPI\n",
"\n",
"# Helper libraries\n",
"import numpy as np\n",
Expand Down Expand Up @@ -425,7 +424,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.6"
"version": "3.6.8"
}
},
"nbformat": 4,
Expand Down
3 changes: 1 addition & 2 deletions Tutorials/supervised.ipynb
Expand Up @@ -30,7 +30,6 @@
"source": [
"# Import netket library\n",
"import netket as nk\n",
"from mpi4py import MPI\n",
"\n",
"# Helper libraries\n",
"import numpy as np\n",
Expand Down Expand Up @@ -373,7 +372,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.8"
"version": "3.6.7"
}
},
"nbformat": 4,
Expand Down
12 changes: 12 additions & 0 deletions environment.yml
@@ -0,0 +1,12 @@
name: mybinder-env
channels:
- anaconda
dependencies:
- python=3.5.3
- pip
- scipy
- numpy
- matplotlib
- openmpi
- cmake
- pytest-cov
3 changes: 3 additions & 0 deletions postBuild
@@ -0,0 +1,3 @@
#!/bin/bash

python -m pip install . --user

0 comments on commit d3a6a36

Please sign in to comment.