Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions easybuild/easyconfigs/c/CCfits/CCfits-2.5-GCCcore-9.3.0.eb
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,5 @@ sanity_check_paths = {
'files': ['lib/libCCfits.%s' % SHLIB_EXT],
'dirs': ['include/CCfits'],
}

moduleclass = 'lib'
2 changes: 1 addition & 1 deletion easybuild/easyconfigs/g/gdbm/gdbm-1.18.1-foss-2020a.eb
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ sanity_check_paths = {

sanity_check_commands = ['gdbmtool --help']

moduleclass = 'base'
moduleclass = 'lib'
2 changes: 1 addition & 1 deletion easybuild/easyconfigs/g/gdbm/gdbm-1.21-GCCcore-10.2.0.eb
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ sanity_check_paths = {
'dirs': ['share/man']
}

moduleclass = "lib"
moduleclass = 'lib'
7 changes: 2 additions & 5 deletions easybuild/easyconfigs/h/humann/humann-3.6-foss-2022a.eb
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
# Humann
easyblock = 'PythonBundle'

name = 'humann'
version = '3.6'

homepage = 'http://huttenhower.sph.harvard.edu/humann'

description = """HUMAnN v3 is a pipeline for efficiently
and accurately determining the coverage and abundance
of microbial pathways in a community from metagenomic data.
Expand All @@ -18,20 +16,19 @@ Sequencing a metagenome typically produces millions

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


dependencies = {
('Python', '3.10.4'),
('SciPy-bundle', '2022.05'),
}


exts_list = [
(name, version, {
'checksums': ['addce81db58bacfdd5465423455d25e385aa8dd14349253c3a7054bf7d3747dc'],
}),

]


use_pip = True
sanity_pip_check = True

moduleclass = 'bio'
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,5 @@ exts_list = [
'checksums': ['6773934e5f5fc3eaa8c5a44949b5b924fc122daa0a8aa9f80c835b4ca2a543fc'],
}),
]

moduleclass = 'lang'
4 changes: 4 additions & 0 deletions test/easyconfigs/easyconfigs.py
Original file line number Diff line number Diff line change
Expand Up @@ -1315,6 +1315,10 @@ def template_easyconfig_test(self, spec):
# sanity check for software name, moduleclass
self.assertEqual(ec['name'], name)
self.assertTrue(ec['moduleclass'] in build_option('valid_module_classes'))
# base is the default value for moduleclass, which should never be used,
# and moduleclass should always be set in the easyconfig file
self.assertNotEqual(ec['moduleclass'], 'base',
"moduleclass should be set, and not be set to 'base', for %s" % spec)

# instantiate easyblock with easyconfig file
app_class = get_easyblock_class(easyblock, name=name)
Expand Down