diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3b72235..042e6e5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -4,7 +4,7 @@ name: deploy-book on: push: branches: - - mb/neurolibre + - main # If your git repository has the Jupyter Book within some-subfolder next to # unrelated files, you can make this run only if a file within that specific # folder has been modified. diff --git a/.gitignore b/.gitignore index 79c93e1..1f91190 100644 --- a/.gitignore +++ b/.gitignore @@ -139,6 +139,7 @@ _build/ content/data/ content/neuromod-anat-brain-qmri/ content/spinalcord_results/ +data/ # Cloned repos content/analysis* \ No newline at end of file diff --git a/README.md b/README.md index a25617d..2ddd69d 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ # rf-shimming-7t [![DOI Badge](https://img.shields.io/badge/DOI-10.18112%2Fopenneuro.ds004906-blue)](https://openneuro.org/datasets/ds004906) -[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/shimming-toolbox/rf-shimming-7t/blob/mb/neurolibre/content/index.ipynb) -[![launch binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/shimming-toolbox/rf-shimming-7t/mb/neurolibre?labpath=content%2Findex.ipynb) +[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/shimming-toolbox/rf-shimming-7t/blob/main/content/index.ipynb) +[![launch binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/shimming-toolbox/rf-shimming-7t/main?labpath=content%2Findex.ipynb) Reproducible Notebook for the paper "RF shimming in the cervical spinal cord at 7T" @@ -33,7 +33,7 @@ To run locally on your computer, you must first have Docker installed, running, Then, you need to install [repo2docker](https://github.com/jupyterhub/repo2docker). Install via pip: `pip install jupyter-repo2docker` -To launch a Docker session from this repo, run `repo2docker --ref mb/neurolibre https://www.github.com/shimming-toolbox/rf-shimming-7t`. After it's completed, it will provie you with a weblink, copy and open this link in a browser to open the Jupyter Notebook session. +To launch a Docker session from this repo, run `repo2docker --ref main https://www.github.com/shimming-toolbox/rf-shimming-7t`. After it's completed, it will provie you with a weblink, copy and open this link in a browser to open the Jupyter Notebook session. ## Run locally with Jupyter Notebook @@ -42,7 +42,7 @@ Install [Spinal Cord Toolbox](https://spinalcordtoolbox.com/user_section/install Clone this repository ~~~ git clone https://github.com/shimming-toolbox/rf-shimming-7t.git -git checkout mb/neurolibre +git checkout main cd rf-shimming-7t ~~~ diff --git a/content/_config.yml b/content/_config.yml index f8cd634..40bce62 100644 --- a/content/_config.yml +++ b/content/_config.yml @@ -16,7 +16,7 @@ launch_buttons: repository: url: https://github.com/shimming-toolbox/rf-shimming-7t # Online location of your book path_to_book: content # Optional path to your book, relative to the repository root - branch: mb/neurolibre # Which branch of the repository should be used when creating links (optional) + branch: main # Which branch of the repository should be used when creating links (optional) only_build_toc_files: true diff --git a/content/index.ipynb b/content/index.ipynb index e9633c2..85dd276 100644 --- a/content/index.ipynb +++ b/content/index.ipynb @@ -209,7 +209,7 @@ "```shell\n", "git clone https://github.com/shimming-toolbox/rf-shimming-7t.git\n", "cd rf-shimming-7t\n", - "git checkout mb/neurolibre\n", + "git checkout main\n", "```\n", "\n", "* Install requirements\n",