| Total Complexity | 7 | 
| Total Lines | 42 | 
| Duplicated Lines | 0 % | 
| 1 | #! /usr/bin/env python  | 
            ||
| 16 | class Atom(Chem.rdchem.Atom, ChemicalObject):  | 
            ||
| 17 | |||
| 18 | """ Object representing an Atom in scikit-chem. """  | 
            ||
| 19 | |||
| 20 | @property  | 
            ||
| 21 | def element(self):  | 
            ||
| 22 | |||
| 23 | """ Get the element of the atom as a string. """  | 
            ||
| 24 | |||
| 25 | return self.GetSymbol()  | 
            ||
| 26 | |||
| 27 | @property  | 
            ||
| 28 | def atomic_number(self):  | 
            ||
| 29 | |||
| 30 | """ Get the atomic number of the atom as a float. """  | 
            ||
| 31 | |||
| 32 | return self.GetAtomicNum()  | 
            ||
| 33 | |||
| 34 | @property  | 
            ||
| 35 | def mass(self):  | 
            ||
| 36 | |||
| 37 | """ Get the mass of the atom as a float. """  | 
            ||
| 38 | |||
| 39 | return self.GetMass()  | 
            ||
| 40 | |||
| 41 | @property  | 
            ||
| 42 | def atomic_mass(self):  | 
            ||
| 43 | |||
| 44 | """ Get the mass of the atom as a float. """  | 
            ||
| 45 | |||
| 46 | return self.mass  | 
            ||
| 47 | |||
| 48 | @property  | 
            ||
| 49 | def props(self):  | 
            ||
| 50 | |||
| 51 | """ Return a dictionary of properties of the atom. """  | 
            ||
| 52 | |||
| 53 | # Some atom properties are inaccessible, but still give values.  | 
            ||
| 54 | #  | 
            ||
| 55 | |||
| 56 |         props = {} | 
            ||
| 57 | |||
| 58 | for prop in self.GetPropNames():  | 
            ||
| 76 | 
This can be caused by one of the following:
1. Missing Dependencies
This error could indicate a configuration issue of Pylint. Make sure that your libraries are available by adding the necessary commands.
2. Missing __init__.py files
This error could also result from missing
__init__.pyfiles in your module folders. Make sure that you place one file in each sub-folder.