This file is indexed.

/usr/share/cain/simulation/Species.py is in cain 1.9-7.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
"""Implements the Species class."""

class Species:
    """A species has an amount and an initial amount.
    Member data:
    - self.amount: The amount of the species in substance units.
    - self.initialAmount: The initial amount."""
    
    def __init__(self, initialAmount):
        """Construct from the initial amount.
        >>> from Species import Species
        >>> x = Species(1.)
        >>> x.initialAmount
        1.0
        >>> x.amount is None
        True
        """
        self.initialAmount = float(initialAmount)
        # Force initialization.
        self.amount = None

    def initialize(self):
        """
        >>> from Species import Species
        >>> x = Species(1.)
        >>> x.amount is None
        True
        >>> x.initialize()
        >>> x.amount
        1.0
        """
        self.amount = self.initialAmount