Import future print in case of python2 environment
[rnaseq-cwl-training.git] / bin / workshop_check.py
index d018b78906171d3427350ad1dcba0d627435effd..3699c9938afd72507662829db5ac5b94897f8ac4 100755 (executable)
@@ -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)