topaz: new package @0.2.5 (#40352)

* topaz: new package @0.2.5

* switching over to pypi

---------

Co-authored-by: LMS Bioinformatics <bioinformatics@lms.mrc.ac.uk>
This commit is contained in:
George Young 2023-10-06 20:00:03 +01:00 committed by GitHub
parent e3f6df884e
commit 98271c3712
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,27 @@
# Copyright 2013-2023 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack.package import *
class Topaz(PythonPackage):
"""topaz: Pipeline for particle picking in cryo-electron microscopy images using
convolutional neural networks trained from positive and unlabeled examples. Also
featuring micrograph and tomogram denoising with DNNs."""
homepage = "https://topaz-em.readthedocs.io/"
pypi = "topaz-em/topaz-em-0.2.5.tar.gz"
version("0.2.5", sha256="002a6eb775598b6c4df0225f3a488bfe6a6da9246e8ca42eb4e7d58f694c25cc")
depends_on("py-setuptools", type="build")
depends_on("py-torch@1:", type=("build", "run"))
depends_on("py-torchvision", type=("build", "run"))
depends_on("py-numpy@1.11:", type=("build", "run"))
depends_on("py-pandas", type=("build", "run"))
depends_on("py-scikit-learn@0.19.0:", type=("build", "run"))
depends_on("py-scipy@0.17.0:", type=("build", "run"))
depends_on("py-pillow@6.2.0:", type=("build", "run"))
depends_on("py-future", type=("build", "run"))