ChEMBLDownloader.__init__()   A
last analyzed

Complexity

Conditions 1

Size

Total Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 1
CRAP Score 1.2963

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 3
ccs 1
cts 3
cp 0.3333
rs 10
cc 1
crap 1.2963
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.downloaders.chembl
8
9
ChEMBL dataset downloader
10
"""
11
12 1
from .base import Downloader
13
14
15 1
class ChEMBLDownloader(Downloader):
0 ignored issues
show
Coding Style introduced by
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.

Loading history...
Unused Code introduced by
This abstract class does not seem to be used anywhere.
Loading history...
16 1
    urls = []
17 1
    filenames = ['chembl_raw.h5']
18
19 1
    def __init__(self):
20
        raise NotImplementedError
21
        super(ChEMBLDownloader, self).__init__()
0 ignored issues
show
Unused Code introduced by
This code does not seem to be reachable.
Loading history...
22
23