MovementMoleculeGland.get_molecule()   A
last analyzed

Complexity

Conditions 1

Size

Total Lines 8

Duplication

Lines 0
Ratio 0 %

Importance

Changes 2
Bugs 0 Features 0
Metric Value
c 2
b 0
f 0
dl 0
loc 8
rs 9.4285
cc 1
1
from intelligine.cst import MOLECULES_DIRECTION
2
from intelligine.simulation.object.molecule.MoleculeGland import MoleculeGland
3
from intelligine.simulation.molecule.Molecule import Molecule
4
5
6
class MovementMoleculeGland(MoleculeGland):
7
8
    def get_molecule(self):
9
        """
10
        :return: Molecule
11
        """
12
        return Molecule(MOLECULES_DIRECTION,
13
                        self._molecule_type,
14
                        self._host.get_brain().get_distance_from_objective(),
15
                        1)
16