Skip to content

Commit 152814a

Browse files
authored
Merge pull request #75 from Remi-Gau/remi-notebooks
notebook and binder
2 parents f875ef7 + 1ef30da commit 152814a

File tree

10 files changed

+1032
-1
lines changed

10 files changed

+1032
-1
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ tests/*.tsv*
2121
# exclude report from check_my_code
2222
check_my_code_report.txt
2323

24+
# jupyter notebook checkpoints
25+
.ipynb_checkpoints
26+
*/.ipynb_checkpoints/*
2427

2528

2629

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ sub-090/ses-003/sub-090_ses-003_task-auditoryTask_run-023_events_date-2020072915
5656

5757
- [Installation](./docs/installation.md)
5858
- [How to use it](./docs/usage.md)
59+
- [Jupyter notebooks](./notebooks/README.md)
5960
- [Functions description](./docs/functions_description.md)
6061

6162
## 3. <a name='Contributing'></a>Contributing

binder/apt.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
octave
2+
liboctave-dev

binder/environment.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
dependencies:
2+
- octave_kernel

binder/postBuild

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
cd ${HOME}
2+
cd lib/JSONio; mkoctfile --mex jsonread.c jsmn.c -DJSMN_PARENT_LINKS; cd ..
3+
sudo apt-get install tree
4+

notebooks/README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# README
2+
3+
1. Make sure that you have Octave installed.
4+
2. If you have Conda/Jupyter/pip installed, go to step 4.
5+
3. Download the [Anaconda Installer](https://www.anaconda.com/products/individual) and install it.
6+
4. Install [Octave kernel](https://pypi.org/project/octave-kernel/):
7+
```
8+
pip install octave_kernel
9+
```
10+
5. Run `jupyter notebook` in your terminal. `Octave` should appear on the list
11+
for creating a new notebook.

0 commit comments

Comments
 (0)