Skip to content

Commit

Permalink
update toc for new notebooks
Browse files Browse the repository at this point in the history
  • Loading branch information
iishiishii committed Jul 4, 2024
1 parent 5bef190 commit 45430f0
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 12 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ If you're planning to create a new example notebook, please follow these steps:

2. Create a New Notebook: Make sure your notebook runs as expected. This includes sections for the introduction, data preparation, analysis, results.

3. Add an entry to table of content: Once your pull request is merged, you can add an entry to the `books/_toc.yml` file. This will add your notebook to the table of contents on the main page.
3. Add an entry to table of content: To have your notebook rendered, you need to add an entry to the `books/_toc.yml` file. This will add your notebook to the table of contents on the main page.

4. Save and Submit: Once you're done, save your notebook and submit it for review. You can do this by creating a pull request on our GitHub repository.

Expand Down
4 changes: 4 additions & 0 deletions books/_toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,8 @@ parts:
chapters:
- file: functional_imaging/nipype_fsl_all_levels_flanker
- file: functional_imaging/fmriprep_example
- file: functional_imaging/first_and_second_level_spm

- caption: "Workflow"
chapters:
- file: workflows/Nipype_on_NeuroDesk_RISE
12 changes: 2 additions & 10 deletions books/functional_imaging/first_and_second_level_spm.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -846,17 +846,9 @@
},
{
"cell_type": "code",
"execution_count": 23,
"execution_count": null,
"metadata": {},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"stty: 'standard input': Inappropriate ioctl for device\n"
]
}
],
"outputs": [],
"source": [
"# Level1Design - Generates an SPM design matrix\n",
"level1design = Node(spm.Level1Design(bases={'hrf':{'derivs': [0,0]}}, # no derivatives\n",
Expand Down
2 changes: 1 addition & 1 deletion books/workflows/Nipype_on_NeuroDesk_RISE.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -3336,7 +3336,7 @@
"metadata": {
"celltoolbar": "Slideshow",
"kernelspec": {
"display_name": "Python [conda env:root] *",
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
Expand Down

0 comments on commit 45430f0

Please sign in to comment.