41 lines
1.8 KiB
Python
41 lines
1.8 KiB
Python
# Copyright Spack Project Developers. See COPYRIGHT file for details.
|
|
#
|
|
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
|
|
|
from spack.package import *
|
|
|
|
|
|
class Cryodrgn(PythonPackage):
|
|
"""CryoDRGN is a neural network based algorithm for heterogeneous cryo-EM reconstruction.
|
|
In particular, the method models a continuous distribution over 3D structures by using a
|
|
neural network based representation for the volume"""
|
|
|
|
homepage = "https://cryodrgn.cs.princeton.edu/"
|
|
pypi = "cryodrgn/cryodrgn-2.3.0.tar.gz"
|
|
|
|
license("GPL-3.0-only", checked_by="A-N-Other")
|
|
|
|
version("3.4.3", sha256="eadc41190d3c6abe983164db299ebb0d7340840281774eaaea1a12627a80dc10")
|
|
version("2.3.0", sha256="9dd75967fddfa56d6b2fbfc56933c50c9fb994326112513f223e8296adbf0afc")
|
|
|
|
depends_on("python@3.9:3.11", type=("build", "run"), when="@3.4.3:")
|
|
depends_on("python@3.7:3.11", type=("build", "run"), when="@2.3.0")
|
|
|
|
depends_on("py-setuptools@61:", type="build")
|
|
depends_on("py-setuptools-scm@6.2:", type="build")
|
|
|
|
depends_on("py-torch@1:", type=("build", "run"))
|
|
depends_on("py-pandas@:1", type=("build", "run"))
|
|
depends_on("py-numpy@:1.26", type=("build", "run"))
|
|
depends_on("py-matplotlib@:3.6", type=("build", "run"))
|
|
depends_on("py-pyyaml", type=("build", "run"))
|
|
depends_on("py-scipy@1.3.1:", type=("build", "run"))
|
|
depends_on("py-scikit-learn", type=("build", "run"))
|
|
depends_on("py-seaborn@:0.11", type=("build", "run"))
|
|
depends_on("py-cufflinks", type=("build", "run"))
|
|
depends_on("py-jupyterlab", type=("build", "run"))
|
|
depends_on("py-notebook@:6", type=("build", "run"), when="@3.4.3:")
|
|
depends_on("py-umap-learn", type=("build", "run"))
|
|
depends_on("py-ipywidgets@:7", type=("build", "run"))
|
|
depends_on("py-healpy", type=("build", "run"))
|