-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
4 changed files
with
79 additions
and
129 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
name: pyrovelocity-colab | ||
version: 0.1.1 | ||
version: 0.1.2 | ||
|
||
channels: | ||
- conda-forge | ||
|
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
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,6 +1,6 @@ | ||
[tool.poetry] | ||
name = "pyrovelocity" | ||
version = "0.1.1" | ||
version = "0.1.2" | ||
description = "A multivariate RNA Velocity model to estimate future cell states with uncertainty using probabilistic modeling with pyro." | ||
authors = ["Qian Qin <[email protected]>"] | ||
license = "AGPL-3.0-only" | ||
|
@@ -11,7 +11,7 @@ documentation = "https://pyrovelocity.readthedocs.io" | |
classifiers = [ | ||
"Development Status :: 2 - Pre-Alpha", | ||
"Intended Audience :: Developers", | ||
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)", | ||
"License :: OSI Approved :: GNU Affero General Public License v3", | ||
"Natural Language :: English", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.9", | ||
|
@@ -143,36 +143,6 @@ dev = [ | |
# optional = true | ||
|
||
# [tool.poetry.group.dev.dependencies] | ||
# Pygments = ">=2.10.0" | ||
# black = ">=21.10b0" | ||
# coverage = {extras = ["toml"], version = ">=6.2"} | ||
# darglint = ">=1.8.1" | ||
# flake8 = ">=4.0.1" | ||
# flake8-bandit = ">=2.1.2" | ||
# flake8-bugbear = ">=21.9.2" | ||
# flake8-docstrings = ">=1.6.0" | ||
# flake8-rst-docstrings = ">=0.2.5" | ||
# furo = ">=2021.11.12" | ||
# isort = ">=5.10.1" | ||
# mypy = ">=0.930" | ||
# pep8-naming = ">=0.12.1" | ||
# pre-commit = ">=2.16.0" | ||
# pre-commit-hooks = ">=4.1.0" | ||
# pytest = ">=6.2.5" | ||
# pyupgrade = ">=2.29.1" | ||
# safety = ">=1.10.3" | ||
# sphinx = ">=4.3.2" | ||
# sphinx-autobuild = ">=2021.3.14" | ||
# sphinx-click = ">=3.0.2" | ||
# typeguard = ">=2.13.3" | ||
# xdoctest = {extras = ["colors"], version = ">=0.15.10"} | ||
# myst-parser = {version = ">=0.16.1"} | ||
# dparse = ">=0.5.2" | ||
# pytest-cov = "^4.0.0" | ||
# pytest-mock = "^3.10.0" | ||
# poethepoet = "^0.16.0" | ||
# dvc-gs = "^2.20.0" | ||
# jupyter-core = "^5.1.3" | ||
|
||
[tool.poetry.scripts] | ||
pyrovelocity = "pyrovelocity.pyrovelocity:main" | ||
|
@@ -183,7 +153,7 @@ pyrovelocity = "pyrovelocity.pyrovelocity:main" | |
# $ poetry install | ||
# $ poetry run poe force-cuda11 | ||
[tool.poe.tasks] | ||
force-cuda11 = "python -m pip install torch==1.8.1+cu111 --extra-index-url https://download.pytorch.org/whl/cu111" | ||
force-cuda11 = "python -m pip install torch==1.13.1+cu111 --extra-index-url https://download.pytorch.org/whl/cu111" | ||
|
||
[tool.coverage.paths] | ||
source = ["src", "*/site-packages"] | ||
|
@@ -214,27 +184,3 @@ ignore_missing_imports = true | |
[build-system] | ||
requires = ["poetry-core>=1.1.0"] | ||
build-backend = "poetry.core.masonry.api" | ||
|
||
# plan to upgrade torch installation to tool.poetry.source | ||
# not yet functioning smoothly in poetry 1.2.2 | ||
# e.g. https://github.com/python-poetry/poetry/issues/4885 | ||
# https://github.com/python-poetry/poetry/issues/2613 | ||
# "https://discuss.python.org/t/what-to-do-about-gpus- | ||
# and-the-built-distributions-that-support-them/7125" | ||
# docs: https://python-poetry.org/docs/repositories/#package-sources | ||
# will require | ||
# torch = { version = "1.8.1+cu111", source = "torch" } | ||
# in tool.poetry.dependencies | ||
# instead of | ||
# torch = [ | ||
# { url = "https://download.pytorch.org/whl/cu111/torch-1.8.1%2Bcu111-cp38-cp38-linux_x86_64.whl", markers = "sys_platform == 'linux'" }, | ||
# { url = "https://download.pytorch.org/whl/cu111/torch-1.8.1%2Bcu111-cp38-cp38-win_amd64.whl", markers = "sys_platform == 'win32'" }, | ||
# { version = "1.8.1", markers = "sys_platform == 'darwin'" } | ||
# ] | ||
# | ||
# [[tool.poetry.source]] | ||
# name = "torch" | ||
# url = "https://download.pytorch.org/whl/torch_stable.html" | ||
# url = "https://download.pytorch.org/whl/cu111/" | ||
# default = false | ||
# secondary = false |