Skip to content

Commit ad10ba7

Browse files
committed
followed 1.5.2 release protocol
1 parent a19e1cc commit ad10ba7

File tree

9 files changed

+53
-19
lines changed

9 files changed

+53
-19
lines changed

CITATION.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
If you use PhysiCell in your project, please cite PhysiCell and the version
22
number, such as below:
33

4-
We implemented and solved the model using PhysiCell (Version 1.5.1) [1].
4+
We implemented and solved the model using PhysiCell (Version 1.5.2) [1].
55

66
[1] A Ghaffarizadeh, R Heiland, SH Friedman, SM Mumenthaler, and P Macklin,
77
PhysiCell: an Open Source Physics-Based Cell Simulator for Multicellu-
@@ -11,7 +11,7 @@ We implemented and solved the model using PhysiCell (Version 1.5.1) [1].
1111
Because PhysiCell extensively uses BioFVM, we suggest you also cite BioFVM
1212
as below:
1313

14-
We implemented and solved the model using PhysiCell (Version 1.5.1) [1],
14+
We implemented and solved the model using PhysiCell (Version 1.5.2) [1],
1515
with BioFVM [2] to solve the transport equations.
1616

1717
[1] A Ghaffarizadeh, R Heiland, SH Friedman, SM Mumenthaler, and P Macklin,

README.md

Lines changed: 20 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
# PhysiCell: an Open Source Physics-Based Cell Simulator for 3-D Multicellular Systems.
22

3-
**Version:** 1.5.1
3+
**Version:** 1.5.2
44

5-
**Release date:** 7 June 2019
5+
**Release date:** 11 June 2019
66

77
## Overview:
88
PhysiCell is a flexible open source framework for building agent-based multicellular models in 3-D tissue environments.
99

10-
1110
**Reference:** A Ghaffarizadeh, R Heiland, SH Friedman, SM Mumenthaler, and P Macklin, PhysiCell: an Open Source Physics-Based Cell Simulator for Multicellular Systems, PLoS Comput. Biol. 14(2): e1005991, 2018. DOI: [10.1371/journal.pcbi.1005991](https://dx.doi.org/10.1371/journal.pcbi.1005991)
1211

1312
Visit http://MathCancer.org/blog for the latest tutorials and help.
@@ -61,7 +60,9 @@ See changes.md for the full change log.
6160

6261
## Release summary:
6362

64-
This minor release fixes bugs in the new virus-macrophage sample project. Users should also consult the reslease notes for 1.5.0.
63+
This minor release fixes bugs that affected the release of internalized substrates at cell death on Linux and OSX operating systems, relating to system differences in order of evaluating destructor functions. The release of internalized substrates has been moved to a new function, and placed in cell death functions. There is no change in APIs or high-level usage / syntax for end users.
64+
65+
Users should also consult the release notes for 1.5.0.
6566

6667
**NOTE:** OSX users must now define PHYSICELL_CPP system variable. See the documentation.
6768

@@ -71,22 +72,30 @@ This minor release fixes bugs in the new virus-macrophage sample project. Users
7172

7273
### Minor new features and changes:
7374

74-
+ None
75+
+ Introduced new function Basic_Agent::release_internalized_substrates() to explicitly release a cell's internalized substrates, rather assuming it can be properly done in the Basic_Agent destructor function.
76+
77+
+ Removed the Basic_Agent destructor function to allow the compiler to automatically generate this.
78+
79+
+ Very minor revisions to the release protocol.
80+
81+
+ Minor updates to the user guide to reflect the release_internalized_substrates() function.
7582

7683
### Beta features (not fully supported):
7784

78-
+ None
85+
+ anim_svg.py - now plots correctly sized cells; manually step via arrow keys
86+
87+
+ anim_svg_cycle.py - same as above, but automatically cycles through .svg files
7988

8089
### Bugfixes:
8190

82-
+ In the virus-macrophage sample project, switch cell death (in epithelial_function) from apoptosis to cell_lysis to demonstrate the new function.
91+
+ Move code for internalized substrate release from the Basic_Agent destructor to the new Basic_Agent::release_internalized_substrates() function.
8392

84-
+ In the virus-macrophage sample project, enable internalized substrate tracking in the setup_microenvironment() function.
93+
+ Basic_Agent::release_internalized_substrates() is now called from delete_cell(int) in PhysiCell_cell.cpp.
8594

86-
+ In the virus-macrophage sample project, use a slower viral replication rate. (Should take 240 minutes to reach the lysis threshold.)
95+
+ Basic_Agent::release_internalized_substrates() explicitly sets internalized_substrates to a zero vector, just in case users want to call this function on non-dead cells.
8796

88-
+ In the virus-macrophage sample project, switched to a maximum simulation time of 24 hours (1440 minutes).
89-
97+
+ Cell::Cell() now initializes updated_current_mechanics_voxel_index = 0 (avoids a possible segfault in GDB)
98+
9099
### Notices for intended changes that may affect backwards compatibility:
91100

92101
+ We intend to merge Custom_Variable and Custom_Vector_Variable in the very near future.

VERSION.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.5.2-development
1+
1.5.2

changes.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ Users should also consult the release notes for 1.5.0.
2323
+ Introduced new function Basic_Agent::release_internalized_substrates() to explicitly release a cell's internalized substrates, rather assuming it can be properly done in the Basic_Agent destructor function.
2424

2525
+ Removed the Basic_Agent destructor function to allow the compiler to automatically generate this.
26+
27+
+ Very minor revisions to the release protocol.
28+
29+
+ Minor updates to the user guide to reflect the release_internalized_substrates() function.
2630

2731
### Beta features (not fully supported):
2832

core/PhysiCell.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
#include <fstream>
7373
#include <string>
7474

75-
static std::string PhysiCell_Version = "1.5.2-development";
75+
static std::string PhysiCell_Version = "1.5.2";
7676
static std::string PhysiCell_URL = "http://PhysiCell.MathCancer.org";
7777
static std::string PhysiCell_DOI = "10.1371/journal.pcbi.1005991";
7878

documentation/User_Guide.pdf

2.07 KB
Binary file not shown.
1.14 KB
Binary file not shown.

documentation/User_Guide.tex

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
\documentclass[12pt]{article}
2-
\newcommand{\Version}{1.5.0}
3-
\newcommand{\ReleaseDate}{June 7, 2019}
2+
\newcommand{\Version}{1.5.2}
3+
\newcommand{\ReleaseDate}{June 11, 2019}
44

55
\usepackage[letterpaper,margin=0.5in,bottom=0.75in]{geometry}
66
\usepackage{amsmath}
@@ -1378,6 +1378,18 @@ \section{Cells \DONE}
13781378
returns a vector of \emph{all} the substrate gradients at the
13791379
cell's position. Each \v|gradient| is a
13801380
\v|std::vector<double>| of size 3.
1381+
1382+
\item
1383+
\smallcode{void release\_internalized\_substrates( void )} immediately
1384+
releases none / some / all internalized substrates to the cell's position
1385+
in extracellular space, according to the release fraction specified in the
1386+
phenotype. It sets all internalized substrate levels to zero thereafter.
1387+
This function is automatically called when a cell is about to be removed
1388+
from the simulation, as long as internalized substrate tracking is enabled.
1389+
See Sections \ref{sec:BioFVM_internalization_tracking},
1390+
\ref{sec:BioFVM_auto_release_at_death}, and \ref{sec:phenotype_molecular}.
1391+
(Introduced in 1.5.2.)
1392+
13811393
\end{enumerate}
13821394
13831395
Here is how the \v|Cell| class is defined in

protocols/new release protocol.txt

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
0) Make sure everything is cleaned up:
2+
3+
a) make reset
4+
5+
b) make data-cleanup
6+
7+
c) only PhysiCell_settings.xml in ./config
8+
9+
d) only empty.txt in ./output
10+
111
1) update version number in core/PhysiCell.h
212

313
(See static std::string PhysiCell_version.)
@@ -16,7 +26,6 @@ number.
1626
recompile the LaTeX document. Don't forget to set \Version to x.y.z
1727
at the top of the document. Set the \ReleaseDate to today (manually).
1828

19-
2029
7) create (and approve) a pull request from the development branch to the master branch.
2130

2231
8) Sourceforge.net release
@@ -56,7 +65,7 @@ zip PhysiCell_V.x.y.z.zip -r -X PhysiCell/* -x PhysiCell/.git -x PhysiCell/.giti
5665
e) On the "attach binaries", use the zip file you created for the
5766
SourceForge release.
5867

59-
f) Click ""
68+
f) Click "publish release"
6069

6170
10) Update MathCancer.org
6271

0 commit comments

Comments
 (0)