Browse Source

relocked examples env on python v3.6.15

https://github.com/fphammerle/freesurfer-surface/commit/8acc25505967ebbfc9baf0af500aa4b830d26917
Fabian Peter Hammerle 2 years ago
parent
commit
ac9b90727a

+ 4 - 2
.github/workflows/python.yml

@@ -149,6 +149,8 @@ jobs:
     # revert line specifying version of python interpreter
     - run: sudo apt-get update
     - run: sudo apt-get install --yes --no-install-recommends patchutils
-    - run: git diff --unified=0 | grepdiff --output-matching=hunk '^   "version":' | patch --reverse
-    - run: git diff --unified=0 | grepdiff --output-matching=hunk 'data:image/png;base64,' | patch --reverse
+    - run: >-
+        git diff --unified=0
+        | grepdiff --output-matching=hunk '^\(   "version":\|    "execution": {\|       "<img src=\\"data:image/png;base64,\)'
+        | patch --reverse
     - run: git diff --exit-code

+ 2 - 0
examples/Pipfile

@@ -9,6 +9,8 @@ pandas = "*"
 matplotlib = "*"
 seaborn = "*"
 notebook = "*"
+# nbconvert v6.0.2 made `;` suffix on last line ineffective
+nbconvert = "<6.0.2"
 
 # workaround pipenv expectedly adding "python_version >= '3.7'" marker:
 # >   File "/home/runner/.local/share/virtualenvs/examples-bH_l4rXc/lib/python3.5/site-packages/nbconvert/exporters/base.py", line 10, in <module>

File diff suppressed because it is too large
+ 537 - 375
examples/Pipfile.lock


File diff suppressed because it is too large
+ 426 - 299
examples/ashs.ipynb


File diff suppressed because it is too large
+ 428 - 299
examples/compare_ashs_freesurfer_hipposf.ipynb


File diff suppressed because it is too large
+ 419 - 294
examples/freesurfer_hipposf.ipynb


Some files were not shown because too many files changed in this diff