File tree 7 files changed +48
-24
lines changed
7 files changed +48
-24
lines changed Original file line number Diff line number Diff line change 1
- import magic .plot
2
-
3
1
from .magic import MAGIC
4
2
from .version import __version__
3
+
4
+ import magic .plot
Original file line number Diff line number Diff line change 6
6
(C) 2018 Krishnaswamy Lab GPLv2
7
7
"""
8
8
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
11
15
12
16
import graphtools
13
17
import matplotlib .pyplot as plt
18
+ import numbers
14
19
import numpy as np
15
20
import pandas as pd
16
21
import scprep
17
22
import 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
24
24
25
25
try :
26
26
import anndata
Original file line number Diff line number Diff line change 1
1
# author: Scott Gigante <[email protected] >
2
2
# (C) 2017 Krishnaswamy Lab GPLv2
3
3
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
5
9
6
10
import matplotlib .pyplot as plt
11
+ import numbers
7
12
import numpy as np
8
13
import pandas as pd
9
14
import scprep
10
- from matplotlib import animation , rc
11
- from scipy import sparse
12
-
13
- from .magic import MAGIC
14
- from .utils import in_ipynb
15
15
16
16
17
17
def _validate_gene (gene , data ):
Original file line number Diff line number Diff line change 1
- import numbers
1
+ from scipy import sparse
2
2
3
+ import numbers
3
4
import numpy as np
4
5
import pandas as pd
5
6
import scprep
6
- from scipy import sparse
7
7
8
8
try :
9
9
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
3
3
4
- from setuptools import find_packages , setup
4
+ import os
5
5
6
6
install_requires = [
7
7
"numpy>=1.14.0" ,
Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env python
2
2
3
3
4
- import os
5
- import scprep
6
- import numpy as np
7
4
import magic
8
5
import matplotlib as mpl
6
+ import numpy as np
7
+ import os
8
+ import scprep
9
9
10
10
mpl .use ("agg" )
11
11
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