Skip to content

Commit

Permalink
Change branch names to main
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieuboudreau committed Feb 14, 2024
1 parent b48b12b commit 51e99e6
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ _build/
content/data/
content/neuromod-anat-brain-qmri/
content/spinalcord_results/
data/

# Cloned repos
content/analysis*
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -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"

Expand Down Expand Up @@ -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

Expand All @@ -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
~~~

Expand Down
2 changes: 1 addition & 1 deletion content/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion content/index.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 51e99e6

Please sign in to comment.