rcs-si / module_check

Check if environment variables within a module file are defined correctly
2 stars 0 forks source link

module_check

Given an SCC module file name, check it for possible problems.

Possible problems in module files

  1. Environment variable is listed in "module show" output but is not defined
  2. Environment variable is defined, but incorrectly
  3. Directories or files are world-writable
  4. Directories of files that should not be accessible to a user are not readable or executable

Note: the program should be flexible to handle both "lua" and "tcl" modules

Usage

module_check --help
# module_check <module_name[/version]>

For example:

module_check /path/to/bedtools/2.30.0/modulefile.lua

Project: module_check

Clone this to your /projectnb/rcs-intern/

Write python code (not notebook)