Skip to content

Name: Value pairs in module-whatis (or whatis) entries get published with leading whitespace #6

Description

@ericblau

If a module file has a name:value pair that includes whitespace between the : delimiter and the value, such as:
whatis("Name: SDSC")

IPF will publish the module with the name " SDSC", not "SDSC".
It is nice for the whatis name:value pair to be able to include whitespace, as lmod displays that string directly, and it is more readable with whitespace. Also, several of our examples in our documentation include such whitespace.

Thus, the regexes in modules.py extmodules _addModule should strip leading whitespace from the values.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions