Passed
Push — dependabot/pip/selenium-4.0.0 ( 3d45c5...314fb9 )
by
unknown
11:30 queued 09:22
created

mandos.model.apis.hmdb_support.properties   A

Complexity

Total Complexity 0

Size/Duplication

Total Lines 29
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 20
dl 0
loc 29
rs 10
c 0
b 0
f 0
wmc 0
1
from typing import NamedTuple
0 ignored issues
show
introduced by
Missing module docstring
Loading history...
2
3
4
class _Prop(NamedTuple):
5
    kind: str
6
    source: str
7
8
9
PREDICTED_PROPERTIES = [
10
    _Prop("average_mass", "ChemAxon"),
11
    _Prop("logp", "ALOGPS"),
12
    _Prop("logs", "ALOGPS"),
13
    _Prop("solubility", "ALOGPS"),
14
    _Prop("pka_strongest_acidic", "ChemAxon"),
15
    _Prop("polar_surface_area", "ChemAxon"),
16
    _Prop("polarizability", "ChemAxon"),
17
    _Prop("physiological_charge", "ChemAxon"),
18
]
19
20
RULES = [
21
    _Prop("rule_of_five", "ChemAxon"),
22
    _Prop("ghose_filter", "ChemAxon"),
23
    _Prop("veber_rule", "ChemAxon"),
24
    _Prop("mddr_like_rule", "ChemAxon"),
25
]
26
27
28
__all__ = ["_Prop", "PREDICTED_PROPERTIES", "RULES"]
29