Merge branch 'master' of github.com:germanne/Pmodules-tools
This commit is contained in:
@ -31,6 +31,7 @@ def asciidoc_json_dump(list, name, steps, Pmodules_db_path):
|
|||||||
if len(list) > 1:
|
if len(list) > 1:
|
||||||
list_range = len(list) - steps + 1
|
list_range = len(list) - steps + 1
|
||||||
for index in range(0, list_range, steps):
|
for index in range(0, list_range, steps):
|
||||||
|
if len(list[index]) > 1:
|
||||||
matrix_row = [list[index].split()[0]]
|
matrix_row = [list[index].split()[0]]
|
||||||
if steps == 2:
|
if steps == 2:
|
||||||
matrix_row += [
|
matrix_row += [
|
||||||
|
@ -20,6 +20,10 @@ def deps_status_check(module_cmd_process):
|
|||||||
|
|
||||||
def failure_handler(module, given_status):
|
def failure_handler(module, given_status):
|
||||||
if len(module) != 0:
|
if len(module) != 0:
|
||||||
|
with open("whitelist.txt") as file:
|
||||||
|
content = file.read()
|
||||||
|
name = module.split()[0].split("/")[0]
|
||||||
|
if name not in content:
|
||||||
print('Module: "' + module + '" should be deployed as ' + given_status)
|
print('Module: "' + module + '" should be deployed as ' + given_status)
|
||||||
global failed_at_least_once
|
global failed_at_least_once
|
||||||
failed_at_least_once = True
|
failed_at_least_once = True
|
||||||
|
10
whitelist.txt
Normal file
10
whitelist.txt
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
OPAL
|
||||||
|
asciidoc
|
||||||
|
cp2k
|
||||||
|
cpmd
|
||||||
|
dynamo
|
||||||
|
fluka4
|
||||||
|
gnuplot
|
||||||
|
gromacs
|
||||||
|
ior
|
||||||
|
ncview
|
Reference in New Issue
Block a user