Skip to content

Commit 05b1686

Browse files
committed
#57 adjust tutorial heading levels
1 parent 7d91fb2 commit 05b1686

8 files changed

+29
-29
lines changed

test/python/cell_based/tutorials/TestCellSortingTutorial.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@
3333
#ifndef
3434
#define TRIGGER_WIKI
3535

36-
## # Introduction
36+
## ## Introduction
3737
## This test is a demonstration of cell sorting using a Cellular Potts based framework.
3838
## It shows:
3939
## * How to set up a Potts simulation
4040
## * Working with labels
4141
##
42-
## ## The Test
42+
## ### The Test
4343

4444
import unittest # Python testing framework
4545
import matplotlib.pyplot as plt # Plotting
@@ -52,7 +52,7 @@
5252

5353
class TestCellSortingTutorial(chaste.cell_based.AbstractCellBasedTestSuite):
5454

55-
## ## Test 1 - Cell sorting
55+
## ### Test 1 - Cell sorting
5656
## The next test generates a collection of cells, there are two types of cells, labelled ones and non labelled ones,
5757
## there is differential adhesion between the cell types. For the parameters specified, the cells sort into separate types.
5858

test/python/cell_based/tutorials/TestMeshBasedCellSimulationsPythonTutorial.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@
3333
#ifndef
3434
#define TRIGGER_WIKI
3535

36-
## # Introduction
36+
## ## Introduction
3737
## In this tutorial we show how Chaste can be used to create, run and visualize mesh-based simulations.
3838
## Full details of the mathematical model can be found in van Leeuwen et al. (2009) [doi:10.1111/j.1365-2184.2009.00627.x].
3939
##
40-
## ## Imports and Setup
40+
## ### Imports and Setup
4141

4242
import unittest # Python testing framework
4343
import matplotlib.pyplot as plt # Plotting
@@ -51,7 +51,7 @@
5151

5252
class TestRunningMeshBasedSimulationsTutorial(chaste.cell_based.AbstractCellBasedTestSuite):
5353

54-
## ## Test 1 - a basic mesh-based simulation
54+
## ### Test 1 - a basic mesh-based simulation
5555
## In the first test, we run a simple mesh-based simulation,
5656
## in which we create a monolayer of cells, using a mutable mesh. Each cell is assigned a stochastic cell-cycle model.
5757

@@ -136,7 +136,7 @@ def test_monolayer(self):
136136

137137
## Full results can be visualized in Paraview from the `file_handler.GetOutputDirectoryFullPath()` directory.
138138

139-
## ## Test 2 - a basic mesh-based simulation with ghost nodes
139+
## ### Test 2 - a basic mesh-based simulation with ghost nodes
140140
## In the second test, we run a simple mesh-based simulation with ghost nodes, in which we create a monolayer of cells, using a mutable mesh.
141141
## Each cell is assigned a stochastic cell-cycle model.
142142

test/python/cell_based/tutorials/TestNodeBasedCellSimulationsPythonTutorial.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@
3333
#ifndef
3434
#define TRIGGER_WIKI
3535

36-
## # Introduction
36+
## ## Introduction
3737
## In this tutorial we show how Chaste can be used to create, run and visualize node-based simulations. Full details of the mechanical model can be found in Pathamathan et
3838
## al "A computational study of discrete mechanical tissue models", Physical Biology. Vol. 6. No. 3. 2009.. DOI (10.1088/1478-3975/6/3/036001).
3939
##
40-
## ## The Test
40+
## ### The Test
4141

4242
import unittest # Python testing framework
4343
import numpy as np # Matrix tools
@@ -49,7 +49,7 @@
4949

5050

5151
class TestRunningNodeBasedSimulationsTutorial(chaste.cell_based.AbstractCellBasedTestSuite):
52-
## ## Test 1 - A basic node-based simulation
52+
## ### Test 1 - A basic node-based simulation
5353
## In the first test, we run a simple node-based simulation, in which we create a monolayer of cells,
5454
## using a nodes only mesh. Each cell is assigned a uniform cell-cycle model.
5555

@@ -131,7 +131,7 @@ def test_monolayer(self):
131131

132132
# JUPYTER_TEARDOWN
133133

134-
## ## Test 2 - a basic node-based simulation in 3D
134+
## ### Test 2 - a basic node-based simulation in 3D
135135
## In the second test we run a simple node-based simulation in 3D. This is very similar to the 2D test with the dimension changed from 2 to 3 and
136136
## instead of using a mesh generator we generate the nodes directly.
137137

@@ -209,7 +209,7 @@ def test_spheroid(self):
209209

210210
# JUPYTER_TEARDOWN
211211

212-
## ## Test 3 - a node-based simulation on a restricted geometry
212+
## ### Test 3 - a node-based simulation on a restricted geometry
213213
## In the second test we run a simple node-based simulation in 3D. This is very similar to the 2D test with the dimension changed from 2 to 3 and
214214
## instead of using a mesh generator we generate the nodes directly.
215215

test/python/cell_based/tutorials/TestPottsBasedCellSimulationsPythonTutorial.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@
3333
#ifndef
3434
#define TRIGGER_WIKI
3535

36-
## # Introduction
36+
## ## Introduction
3737
## In this tutorial we show how Chaste can be used to create, run and visualize Potts-based simulations.
3838
## Full details of the mathematical model can be found in Graner, F. and Glazier, J. A. (1992).
3939
##
40-
## ## The Test
40+
## ### The Test
4141

4242
import unittest # Python testing framework
4343
import chaste # The PyChaste module
@@ -48,7 +48,7 @@
4848

4949

5050
class TestRunningPottsBasedSimulationsTutorial(chaste.cell_based.AbstractCellBasedTestSuite):
51-
## ## Test 1 - A basic node-based simulation
51+
## ### Test 1 - A basic node-based simulation
5252
## In the first test, we run a simple Potts-based simulation, in which we create a monolayer of cells, using a Potts mesh.
5353
## Each cell is assigned a stochastic cell-cycle model.
5454

@@ -159,7 +159,7 @@ def test_monolayer(self):
159159

160160
# JUPYTER_TEARDOWN
161161

162-
## ## Test 2 - Cell sorting
162+
## ### Test 2 - Cell sorting
163163
## The next test generates a collection of cells, there are two types of cells, labelled ones and non labelled ones,
164164
## there is differential adhesion between the cell types. For the parameters specified, the cells sort into separate types.
165165

@@ -239,7 +239,7 @@ def test_potts_monolayer_cell_sorting(self):
239239

240240
# JUPYTER_TEARDOWN
241241

242-
## ## Test 3 - 3D Cell Sorting
242+
## ### Test 3 - 3D Cell Sorting
243243
## The next test extends the previous example to three dimensions.
244244

245245
def test_potts_spheroid_cell_sorting(self):

test/python/cell_based/tutorials/TestScratchAssayTutorial.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
#ifndef
3434
#define TRIGGER_WIKI
3535

36-
## # Introduction
36+
## ## Introduction
3737
## This tutorial is an example of modelling a scratch assay using a simple cellular automaton
3838
## representation of cells. It will cover the following techniques:
3939
##
@@ -56,7 +56,7 @@
5656

5757
class TestScratchAssayTutorial(chaste.cell_based.AbstractCellBasedTestSuite):
5858

59-
## ## Test 1 - Scratch Assay
59+
## ### Test 1 - Scratch Assay
6060
## In this test we will create a scratch along the middle of a domain and quantify the migration
6161
## of cells into the region. Cells will migrate by random walk on the their regular mesh (lattice).
6262
##

test/python/cell_based/tutorials/TestSpheroidTutorial.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,14 @@
3333
#ifndef
3434
#define TRIGGER_WIKI
3535

36-
## # Introduction
36+
## ## Introduction
3737
## This tutorial is an example of modelling spheroid growth with a nutrient.
3838
## It covers:
3939
## * Setting up an off-lattice cell population
4040
## * Setting up a cell cycle model with oxygen dependence
4141
## * Setting up and solving an oxygen transport PDE
4242
## * Setting up a cell killer
43-
## ## Imports and Setup
43+
## ### Imports and Setup
4444

4545
import unittest # Python testing framework
4646
import matplotlib.pyplot as plt # Plotting
@@ -55,7 +55,7 @@
5555

5656
class TestSpheroidTutorial(chaste.cell_based.AbstractCellBasedTestSuite):
5757

58-
## ## Test 1 - a 2D mesh-based spheroid
58+
## ### Test 1 - a 2D mesh-based spheroid
5959
## In this test we set up a spheroid with a plentiful supply of oxygen on the boundary and watch it grow
6060
## over time. Cells can gradually become apoptotic if the oxygen tension is too low.
6161

test/python/cell_based/tutorials/TestTensileTestTutorial.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,14 @@
3333
#ifndef
3434
#define TRIGGER_WIKI
3535

36-
## # Introduction
36+
## ## Introduction
3737
## In this tutorial we will demonstrate a simulated tensile test on an epithelial sheet. This test
3838
## demonstrates:
3939
## * Working with vertex based off lattice populations
4040
## * Applying boundary conditions
4141
## * Working with forces
4242
##
43-
## ## The Test
43+
## ### The Test
4444

4545
import unittest # Python testing framework
4646
import numpy as np # Matrix tools
@@ -53,7 +53,7 @@
5353

5454
class TestTensileTestTutorial(chaste.cell_based.AbstractCellBasedTestSuite):
5555

56-
## ## Test 1 - A 2d test
56+
## ### Test 1 - A 2D test
5757

5858
def test_monolayer(self):
5959

test/python/cell_based/tutorials/TestVertexBasedCellSimulationsPythonTutorial.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,12 @@
3333
#ifndef
3434
#define TRIGGER_WIKI
3535

36-
## # Introduction
36+
## ## Introduction
3737
## In this tutorial we show how Chaste can be used to create, run and visualize vertex-based simulations.
3838
## Full details of the mechanical model proposed by T. Nagai and H. Honda ("A dynamic cell model for the formation of epithelial tissues",
3939
## Philosophical Magazine Part B 81:699-719).
4040
##
41-
## ## The Test
41+
## ### The Test
4242

4343
import unittest # Python testing framework
4444
import matplotlib.pyplot as plt # Plotting
@@ -50,7 +50,7 @@
5050
chaste.init() # Set up MPI
5151

5252
class TestRunningVertexBasedSimulationsTutorial(chaste.cell_based.AbstractCellBasedTestSuite):
53-
## ## Test 1 - A basic vertex-based simulation
53+
## ### Test 1 - A basic vertex-based simulation
5454
## In the first test, we run a simple vertex-based simulation, in which we create a monolayer of cells,
5555
## using a mutable vertex mesh. Each cell is assigned a stochastic cell-cycle model.
5656

@@ -140,7 +140,7 @@ def test_monolayer(self):
140140

141141
# JUPYTER_TEARDOWN
142142

143-
## ## Test 2 - introducing periodicity, boundaries and cell killers
143+
## ### Test 2 - introducing periodicity, boundaries and cell killers
144144
## In the second test, we run a simple vertex-based simulation, in which we create a monolayer of cells in a periodic geometry,
145145
## using a cylindrical vertex mesh. We also include a fixed boundary which cells can't pass through and a cell killer which removes
146146
## cells once they leave a region. As before each cell is assigned a stochastic cell-cycle model.

0 commit comments

Comments
 (0)