Skip to content

Commit

Permalink
Merge pull request easybuilders#19214 from deniskristak/2023111214331…
Browse files Browse the repository at this point in the history
…6_new_pr_tensorflow-probability0190

{bio}[foss/2022a] vaeda v0.0.30
  • Loading branch information
smoors authored Nov 13, 2023
2 parents 2fae001 + 3180105 commit b5e40d0
Show file tree
Hide file tree
Showing 2 changed files with 88 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
##
# This file is an EasyBuild reciPY as per https://github.com/easybuilders/easybuild
#
# Authors:: Dugan Witherick (University of Warwick)
# License:: MIT/GPL
# $Id$
#
# Updated to 0.19.0
# Author: J. Sassmannshausen (Imperial College London/UK)
##

easyblock = 'PythonBundle'

name = 'tensorflow-probability'
version = '0.19.0'

homepage = 'https://www.tensorflow.org/probability'
description = """TensorFlow Probability (TFP) is a library for probabilistic reasoning and statistical analysis."""

toolchain = {'name': 'foss', 'version': '2022a'}
toolchainopts = {'usempi': True, 'pic': True}

dependencies = [
('Python', '3.10.4'),
('TensorFlow', '2.11.0'),
('dm-tree', '0.1.8'),
]

use_pip = True

exts_list = [
('cloudpickle', '2.2.0', {
'checksums': ['3f4219469c55453cfe4737e564b67c2a149109dabf7f242478948b895f61106f'],
}),
(name, version, {
'installopts': '--install-option="--release"',
'modulename': 'tensorflow_probability',
'source_tmpl': 'v%(version)s.tar.gz',
'source_urls': ['https://github.com/tensorflow/probability/archive/'],
'checksums': ['b32d2ae211ec727df9791b501839619f5389134bd6d4fe951570f500b0e75f55'],
}),
]

sanity_check_commands = ["python -c 'import tensorflow; import tensorflow_probability'"]

sanity_pip_check = True

moduleclass = 'lib'
40 changes: 40 additions & 0 deletions easybuild/easyconfigs/v/vaeda/vaeda-0.0.30-foss-2022a.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
easyblock = 'PythonBundle'

name = 'vaeda'
# recent vaeda version are also available via https://test.pypi.org/project/vaeda,
# but downloading from there doesn't seem like a good idea...
local_commit = '36cdc53'
version = '0.0.30'

homepage = 'https://github.com/kostkalab/vaeda'
description = """vaeda (variaitonal auto-encoder (vae) for doublet annotation (da)) is a Python package for doublet
annotation in single cell RNA-sequencing."""

toolchain = {'name': 'foss', 'version': '2022a'}

dependencies = [
('Python', '3.10.4'),
('SciPy-bundle', '2022.05'),
('scikit-learn', '1.1.2'),
('scanpy', '1.9.1'),
('TensorFlow', '2.11.0'),
('tensorflow-probability', '0.19.0'),
]

use_pip = True

exts_list = [
('kneed', '0.8.1', {
'preinstallopts': "sed -i 's/install_requires = .*/install_requires = numpy;scipy/g' setup.cfg && ",
'checksums': ['6addebca6a3742e51a173f4f40f789c704677c49bc0b02666e7d71152ca0e473'],
}),
(name, version, {
'source_urls': ['https://github.com/kostkalab/vaeda/archive/'],
'sources': [{'download_filename': '36cdc53.tar.gz', 'filename': '%(name)s-%(version)s.tar.gz'}],
'checksums': ['bef23d0496944a5b9c41645de0442db99ddb26e3fb69bda3437c00339832295e'],
}),
]

sanity_pip_check = True

moduleclass = 'bio'

0 comments on commit b5e40d0

Please sign in to comment.