X-Git-Url: https://git.arvados.org/rnaseq-cwl-training.git/blobdiff_plain/8237ab5050741bd87040e03b2dc3f30c1aec580b..f3b921a58cb66fe5f851c1ecce1a566919ea1ce8:/bin/workshop_check.py diff --git a/bin/workshop_check.py b/bin/workshop_check.py index d018b78..3699c99 100755 --- a/bin/workshop_check.py +++ b/bin/workshop_check.py @@ -8,8 +8,8 @@ import sys import os import re from datetime import date -from util import Reporter, split_metadata - +from util import Reporter, split_metadata, load_yaml, check_unwanted_files +from __future__ import print_function # Metadata field patterns. EMAIL_PATTERN = r'[^@]+@[^@]+\.[^@]+' @@ -400,6 +400,7 @@ def main(): reporter = Reporter() check_config(reporter, config_file) + check_unwanted_files(root_dir, reporter) with open(index_file) as reader: data = reader.read() check_file(reporter, index_file, data)