This file is indexed.

/usr/share/pyshared/neuroshare/NeuralEntity.py is in python-neuroshare 0.8.5-1.

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
from Entity import *

class NeuralEntity(Entity):
    def __init__(self, nsfile, eid, info):
        super(NeuralEntity,self).__init__(eid, nsfile, info)

    @property
    def probe_info(self):
        return self._info['ProbeInfo']

    @property
    def source_entity_id(self):
	return self._info['SourceEntityID']

    @property
    def source_unit_id(self):
        return self._info['SourceUnitID']

    def get_data (self, index=0, count=-1):
        lib = self.file.library
        if count < 0:
            count = self.item_count
        data = lib._get_neural_data (self, index, count)
        return data