-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Speed up nearest neighbor computation
- Loading branch information
Showing
4 changed files
with
78 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,35 +5,52 @@ | |
from warnings import warn | ||
|
||
if sys.version_info.major != 3: | ||
raise RuntimeError('Palantir requires Python 3') | ||
raise RuntimeError("Palantir requires Python 3") | ||
if sys.version_info.minor < 6: | ||
warn('Analysis methods were developed using Python 3.6') | ||
warn("Analysis methods were developed using Python 3.6") | ||
|
||
# get version | ||
with open('src/harmony/version.py') as f: | ||
with open("src/harmony/version.py") as f: | ||
exec(f.read()) | ||
|
||
with open("README.md", "r") as fh: | ||
long_description = fh.read() | ||
|
||
# install GraphDiffusion | ||
if shutil.which('pip3'): | ||
call(['pip3', 'install', 'git+https://github.com/dpeerlab/Palantir.git']) | ||
if shutil.which("pip3"): | ||
call(["pip3", "install", "git+https://github.com/dpeerlab/Palantir.git"]) | ||
|
||
|
||
setup(name='harmony', | ||
version=__version__, # read in from the exec of version.py; ignore error | ||
description='Harmony is a unified framework for data visualization, analysis and interpretation of scRNA-seq data measured across discrete time points', | ||
url='https://github.com/dpeerlab/harmony', | ||
author='Manu Setty', | ||
author_email='[email protected]', | ||
package_dir={'': 'src'}, | ||
packages=['harmony'], | ||
install_requires=[ | ||
'numpy>=1.14.2', | ||
'pandas>=0.22.0', | ||
'scipy>=1.0.1', | ||
'sklearn', | ||
'fa2', | ||
'matplotlib>=2.2.2', | ||
'seaborn>=0.8.1' | ||
], | ||
) | ||
setup( | ||
name="harmony_time_series", | ||
version=__version__, # read in from the exec of version.py; ignore error | ||
description=( | ||
"Harmony is a unified framework for data visualization, analysis " | ||
"and interpretation of scRNA-seq data measured across discrete time points" | ||
), | ||
long_description=long_description, | ||
long_description_content_type="text/markdown", | ||
url="https://github.com/dpeerlab/harmony", | ||
author="Manu Setty", | ||
author_email="[email protected]", | ||
package_dir={"": "src"}, | ||
packages=["harmony"], | ||
install_requires=[ | ||
"numpy>=1.14.2", | ||
"pandas>=0.22.0", | ||
"scipy>=1.0.1", | ||
"sklearn", | ||
"fa2", | ||
"matplotlib>=2.2.2", | ||
"seaborn>=0.8.1", | ||
], | ||
classifiers=[ | ||
"Programming Language :: Python :: 3", | ||
"License :: OSI Approved :: MIT License", | ||
"Operating System :: OS Independent", | ||
"Operating System :: POSIX :: Linux", | ||
"Development Status :: 5 - Production/Stable", | ||
"Topic :: Scientific/Engineering :: Bio-Informatics", | ||
"Topic :: Scientific/Engineering :: Visualization", | ||
], | ||
python_requires='>=3.6', | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
__version__ = "0.1.1" | ||
__version__ = "0.1.2" |