File tree Expand file tree Collapse file tree 7 files changed +48
-24
lines changed Expand file tree Collapse file tree 7 files changed +48
-24
lines changed Original file line number Diff line number Diff line change 1- import magic .plot
2-
31from .magic import MAGIC
42from .version import __version__
3+
4+ import magic .plot
Original file line number Diff line number Diff line change 66(C) 2018 Krishnaswamy Lab GPLv2
77"""
88
9- import numbers
10- import warnings
9+ from . import utils
10+ from scipy import sparse
11+ from scipy import spatial
12+ from sklearn .base import BaseEstimator
13+ from sklearn .decomposition import PCA
14+ from sklearn .exceptions import NotFittedError
1115
1216import graphtools
1317import matplotlib .pyplot as plt
18+ import numbers
1419import numpy as np
1520import pandas as pd
1621import scprep
1722import tasklogger
18- from scipy import sparse , spatial
19- from sklearn .base import BaseEstimator
20- from sklearn .decomposition import PCA
21- from sklearn .exceptions import NotFittedError
22-
23- from . import utils
23+ import warnings
2424
2525try :
2626 import anndata
Original file line number Diff line number Diff line change 11# author: Scott Gigante <[email protected] > 22# (C) 2017 Krishnaswamy Lab GPLv2
33
4- import numbers
4+ from .magic import MAGIC
5+ from .utils import in_ipynb
6+ from matplotlib import animation
7+ from matplotlib import rc
8+ from scipy import sparse
59
610import matplotlib .pyplot as plt
11+ import numbers
712import numpy as np
813import pandas as pd
914import scprep
10- from matplotlib import animation , rc
11- from scipy import sparse
12-
13- from .magic import MAGIC
14- from .utils import in_ipynb
1515
1616
1717def _validate_gene (gene , data ):
Original file line number Diff line number Diff line change 1- import numbers
1+ from scipy import sparse
22
3+ import numbers
34import numpy as np
45import pandas as pd
56import scprep
6- from scipy import sparse
77
88try :
99 import anndata
Original file line number Diff line number Diff line change 1- import os
2- import sys
1+ from setuptools import find_packages
2+ from setuptools import setup
33
4- from setuptools import find_packages , setup
4+ import os
55
66install_requires = [
77 "numpy>=1.14.0" ,
Original file line number Diff line number Diff line change 11#!/usr/bin/env python
22
33
4- import os
5- import scprep
6- import numpy as np
74import magic
85import matplotlib as mpl
6+ import numpy as np
7+ import os
8+ import scprep
99
1010mpl .use ("agg" )
1111
Original file line number Diff line number Diff line change 1+ [flake8]
2+ ignore =
3+ # top-level module docstring
4+ D100, D104,
5+ # space before : conflicts with black
6+ E203
7+ per-file-ignores =
8+ # imported but unused
9+ __init__.py: F401
10+ # missing docstring in public function for methods, metrics, datasets
11+ openproblems/tasks/*/*/*.py: D103, E203
12+ openproblems/tasks/*/*/__init__.py: F401, D103
13+ max-line-length = 88
14+ exclude =
15+ .git,
16+ __pycache__,
17+ build,
18+ dist,
19+ Snakefile
20+
21+ [isort]
22+ profile = black
23+ force_single_line = true
24+ force_alphabetical_sort = true
You can’t perform that action at this time.
0 commit comments