biocrnpyler.core.mechanism
Classes
|
For use when one needs a Mechanism to do nothing, such as translation in Expression Mixtures. |
|
Mechanism class for core mechanisms. |
- class biocrnpyler.core.mechanism.EmptyMechanism(name, mechanism_type)[source]
For use when one needs a Mechanism to do nothing, such as translation in Expression Mixtures.
Initializes an EmptyMechanism instance.
- Parameters:
name – name of the Mechanism
mechanism_type – mechanism_type in string
- class biocrnpyler.core.mechanism.Mechanism(name: str, mechanism_type='')[source]
Mechanism class for core mechanisms.
Core mechanisms within a mixture (transcription, translation, etc)
The Mechanism class is used to implement different core mechanisms in TX-TL. All specific core mechanisms should be derived from this class.
Initializes a Mechanism instance.
- Parameters:
name – name of the Mechanism
mechanism_type – mechanism_type in string