diff --git a/pyerrors/input/utils.py b/pyerrors/input/utils.py index a8dd026e..66b60f68 100644 --- a/pyerrors/input/utils.py +++ b/pyerrors/input/utils.py @@ -1,14 +1,15 @@ """Utilities for the input""" -def check_idl(idl,che): + +def check_idl(idl, che): missing = [] for c in che: - if not c in idl: + if c not in idl: missing.append(c) - #print missing such that it can directly be parsed to slurm terminal + # print missing such that it can directly be parsed to slurm terminal if not (len(missing) == 0): - print(len(missing),"configs missing") + print(len(missing), "configs missing") miss_str = str(missing[0]) for i in missing[1:]: - miss_str += ","+str(i) + miss_str += "," + str(i) print(miss_str)