Skip to content

Commit ed3c2b9

Browse files
committed
Merge branch 'main' of https://github.com/openpathsampling/ops_tutorial into molsim2021-updates
2 parents 9fb6cac + 06fb894 commit ed3c2b9

File tree

3 files changed

+24
-3
lines changed

3 files changed

+24
-3
lines changed

.github/workflows/binder.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: "Build binder"
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
build-binder:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: s-weigand/trigger-mybinder-build@v1
13+
with:
14+
target-repo: openpathsampling/ops_tutorial/main

4_mstis_sampling_tutorial.ipynb

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -218,10 +218,17 @@
218218
"outputs": [],
219219
"source": [
220220
"# some aspects of storage depend on Python version\n",
221-
"if sys.version_info > (3,):\n",
221+
"if sys.version_info < (3,):\n",
222+
" filename = \"./inputs/mstis_bootstrap_py2.nc\"\n",
223+
"elif (3, 6) <= sys.version_info < (3, 8):\n",
222224
" filename = \"./inputs/mstis_bootstrap_py3.nc\"\n",
225+
"elif (3, 8) <= sys.version_info < (3, 10):\n",
226+
" filename = \"./inputs/mstis_bootstrap_py38.nc\"\n",
223227
"else:\n",
224-
" filename = \"./inputs/mstis_bootstrap_py2.nc\""
228+
" raise RuntimeError(\n",
229+
" \"Uh oh! Looks like we don't have an input file for your Python version: \"\n",
230+
" + \".\".join(str(x) for x in sys.version_info[:3])\n",
231+
" )"
225232
]
226233
},
227234
{
@@ -606,7 +613,7 @@
606613
"name": "python",
607614
"nbconvert_exporter": "python",
608615
"pygments_lexer": "ipython3",
609-
"version": "3.7.3"
616+
"version": "3.8.10"
610617
},
611618
"toc": {
612619
"base_numbering": 1,

inputs/mstis_bootstrap_py38.nc

50.4 MB
Binary file not shown.

0 commit comments

Comments
 (0)