Skip to content

Commit

Permalink
Put a warning sign for cell that should not be run locally
Browse files Browse the repository at this point in the history
Addresses #78
  • Loading branch information
jcohenadad committed Jan 24, 2024
1 parent bb93679 commit d7f4221
Showing 1 changed file with 4 additions and 15 deletions.
19 changes: 4 additions & 15 deletions data_processing.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -117,30 +117,19 @@
"metadata": {},
"outputs": [],
"source": [
"# Install packages on system\n",
"# ℹ️ No need to run this cell if you run this notebook locally and already have these dependencies installed.\n",
"# ⚠️ No need to run this cell if you run this notebook locally and already have these dependencies installed.\n",
"\n",
"# Install packages on system\n",
"!sudo apt-get update\n",
"!sudo apt-get install git-annex\n",
"\n",
"# Install Python libaries\n",
"!wget -O requirements.txt https://raw.githubusercontent.com/shimming-toolbox/rf-shimming-7t/main/requirements.txt\n",
"!pip install -r requirements.txt"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "4238e452",
"metadata": {},
"outputs": [],
"source": [
"# Install SCT ⏳\n",
"# ℹ️ No need to run this cell if you run this notebook locally and already have SCT installed.\n",
"!pip install -r requirements.txt\n",
"\n",
"# Install SCT ⏳\n",
"!git clone --depth 1 https://github.com/spinalcordtoolbox/spinalcordtoolbox.git\n",
"!yes | spinalcordtoolbox/install_sct\n",
"# Add SCT's binaries to environment PATH\n",
"os.environ['PATH'] += f\":/content/spinalcordtoolbox/bin\""
]
},
Expand Down

0 comments on commit d7f4221

Please sign in to comment.