Commits

Init Hello  committed ae53dee

Account for condition where output filename is not defined.

  • Participants
  • Parent commits d056556
  • Branches stable

Comments (0)

Files changed (1)

File lib/tool_shed/scripts/check_repositories_for_functional_tests.py

                 required_test_files.append( input_file )
         for output in test_dict[ 'outputs' ]:
             fieldname, filename = output
+            # In rare cases, the filename may be None. If that is the case, skip that output definition.
+            if filename is None:
+                continue
             if filename not in required_test_files:
                 required_test_files.append( filename )
     # Make sure each specified file actually does exist in the test data path of the cloned repository.