Skip to content

Commit 1510de5

Browse files
committed
Improve phrasing of new moddependpaths descriptions.
1 parent 82e3ee3 commit 1510de5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

easybuild/framework/easyblock.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1022,8 +1022,8 @@ def make_module_deppaths(self):
10221022
deppaths = self.cfg['moddependpaths']
10231023
if not deppaths:
10241024
return ''
1025-
elif not isinstance(deppaths, (str, tuple, list)):
1026-
raise EasyBuildError("moddependpaths value %s (type: %s) is not a string or collection",
1025+
elif not isinstance(deppaths, (str, list, tuple)):
1026+
raise EasyBuildError("moddependpaths value %s (type: %s) is not a string, list or tuple",
10271027
deppaths, type(deppaths))
10281028

10291029
if isinstance(deppaths, str):

easybuild/framework/easyconfig/default.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@
154154
'multi_deps': [{}, "Dict of lists of dependency versions over which to iterate", DEPENDENCIES],
155155
'multi_deps_load_default': [True, "Load module for first version listed in multi_deps by default", DEPENDENCIES],
156156
'osdependencies': [[], "OS dependencies that should be present on the system", DEPENDENCIES],
157-
'moddependpaths': [None, "Absolute path or paths that should be searched for dependencies", DEPENDENCIES],
157+
'moddependpaths': [None, "Absolute path or paths to prepend to MODULEPATH before loading the module's dependencies", DEPENDENCIES],
158158

159159
# LICENSE easyconfig parameters
160160
'group': [None, "Name of the user group for which the software should be available; "

0 commit comments

Comments
 (0)