1 | #! /usr/bin/env python |
||
0 ignored issues
–
show
|
|||
2 | # |
||
3 | # Copyright (C) 2016 Rich Lewis <[email protected]> |
||
4 | # License: 3-clause BSD |
||
5 | |||
6 | 1 | import os |
|
7 | 1 | from .base import Downloader |
|
8 | |||
9 | 1 | class Tox21Downloader(Downloader): |
|
0 ignored issues
–
show
This class should have a docstring.
The coding style of this project requires that you add a docstring to this code element. Below, you find an example for methods: class SomeClass:
def some_method(self):
"""Do x and return foo."""
If you would like to know more about docstrings, we recommend to read PEP-257: Docstring Conventions. ![]() |
|||
10 | 1 | filenames = ['data_allsdf', 'challenge_testsdf', |
|
11 | 'challenge_scoresdf', 'challenge_scoretxt'] |
||
12 | 1 | urls = ['https://tripod.nih.gov/tox21/challenge/download?id=tox21_10k_' \ |
|
13 | + name for name in filenames] |
||
14 | 1 | filenames = ['train.sdf.zip', 'valid.sdf.zip', 'test.sdf.zip', 'test.txt'] |
|
15 | |||
16 | 1 | if __name__ == '__main__': |
|
17 | Tox21Downloader.download(os.getcwd()) |
||
18 |
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.