1 | #! /usr/bin/env python |
||
2 | # |
||
3 | # Copyright (C) 2016 Rich Lewis <[email protected]> |
||
4 | # License: 3-clause BSD |
||
5 | |||
6 | 1 | """ |
|
7 | # skchem.data.datasets.chembl |
||
8 | |||
9 | The ChEMBL dataset. |
||
10 | """ |
||
11 | |||
12 | 1 | import logging |
|
13 | |||
14 | 1 | from .base import Dataset |
|
15 | 1 | from ..converters.chembl import ChEMBLConverter |
|
16 | 1 | from ..downloaders.chembl import ChEMBLDownloader |
|
17 | |||
18 | |||
19 | 1 | class ChEMBL(Dataset): |
|
0 ignored issues
–
show
|
|||
20 | 1 | filename = 'chembl.h5' |
|
21 | 1 | downloader = ChEMBLDownloader |
|
22 | 1 | converter = ChEMBLConverter |
|
23 | |||
24 | 1 | if __name__ == '__main__': |
|
25 | logging.basicConfig(level=logging.INFO) |
||
26 | ChEMBL.download() |
||
27 |
The coding style of this project requires that you add a docstring to this code element. Below, you find an example for methods:
If you would like to know more about docstrings, we recommend to read PEP-257: Docstring Conventions.