Make PatchActionConvert reuse old cell processes #94
Labels
category: agent
Related to the agent subpackages
package: patch
Related to the patch implementation
size: medium
Estimated size of issue or PR is medium
type: feature
Improvement or additions to the code base
The PatchActionConvert class represents mutation of one cell type to another (e.g. a healthy tissue cell mutating into a cancer cell). Currently it is implemented by removing the current cell, making a new cell of the different cell type, and inserting the new cell into the simulation at the same location of the old cell.
Instantiating a new process for the new cell initializes all internal amounts at the initial concentration parameter values, which does not represent the current state of the mutated cell. Instead of creating a new process for the new cell, we want to re-use the same processes from the old cell to accurately represent the internal amounts of metabolites and signaling molecules.
The text was updated successfully, but these errors were encountered: