categorized_mns
Implementation of a categorized module naming scheme using module classes.
Authors:
- Maxime Schmitt (University of Luxembourg)
- Xavier Besseron (University of Luxembourg)
CategorizedModuleNamingScheme
¶
Bases: ModuleNamingScheme
Class implementing the categorized module naming scheme.
det_full_module_name(ec)
¶
Determine full module name from given easyconfig, according to the thematic module naming scheme.
PARAMETER | DESCRIPTION |
---|---|
ec |
dict-like object with easyconfig parameter values (e.g. 'name', 'version', etc.)
|
RETURNS | DESCRIPTION |
---|---|
string representing full module name, e.g.: 'biology/ABySS/1.3.4-goolf-1.4.10' |
is_short_modname_for(short_modname, name)
¶
Determine whether the specified (short) module name is a module for software with the specified name.
Default implementation checks via a strict regex pattern, and assumes short module names are of the form: