From 9dcac35478b08810224696175cdafecdd522e543 Mon Sep 17 00:00:00 2001 From: Julien Cohen-Adad Date: Wed, 10 Jan 2024 09:17:19 -0500 Subject: [PATCH 1/3] Removed json library It is not a library that is pip installable --- requirements.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 7db0149..cd3607c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,4 @@ datalad -json matplotlib nibabel notebook From 4b16e3957236471648c6215b5f50eaf6e12120c9 Mon Sep 17 00:00:00 2001 From: Julien Cohen-Adad Date: Wed, 10 Jan 2024 10:37:11 -0500 Subject: [PATCH 2/3] Add Google colab link and badge in the README Fixes #29 --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index a5c608d..71e0bf9 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # 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/main/data_processing.ipynb) Repository for the paper "B1+ shimming in the cervical spinal cord at 7T" From 5d3db732ee8b2023a51a72d4ac0a78cf610e1211 Mon Sep 17 00:00:00 2001 From: Julien Cohen-Adad Date: Wed, 10 Jan 2024 10:40:50 -0500 Subject: [PATCH 3/3] Added installation details --- README.md | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 71e0bf9..93a5ced 100644 --- a/README.md +++ b/README.md @@ -3,17 +3,23 @@ [![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/main/data_processing.ipynb) -Repository for the paper "B1+ shimming in the cervical spinal cord at 7T" +Reproducible Notebook for the paper "B1+ shimming in the cervical spinal cord at 7T" -## How to use +## How to run with Google Colab -Clone repository +Click on the badge "Open in Colab" ☝️ + +## How to run with Jupyter Notebook + +Install [Spinal Cord Toolbox](https://spinalcordtoolbox.com/user_section/installation.html) + +Clone this repository ~~~ git clone https://github.com/shimming-toolbox/rf-shimming-7t.git cd rf-shimming-7t ~~~ -Install dependencies (assuming Python is already installed) +Install Python dependencies (assuming Python is already installed) ~~~ pip install -r requirements.txt ~~~