13 files, catalogs, catalognames =
get_files(input_path)
17 file_to_test =
TestFile(cyclus_path, name, flag)
19 summ.add_to_summary(file_to_test)
60 """This function walks the 'path' tree and finds input files"""
64 for root, dirs, files
in os.walk(path, followlinks=
True):
68 if re.search(
"\.xml",name) :
69 if re.search(
"recipebook",name)
or \
70 re.search(
"facilitycatalog",name):
71 catalogs.append(os.path.join(root,name))
72 catalognames.append(name)
74 inputs.append(os.path.join(root, name))
77 print(
"The catalogs to be moved are:")
79 print(
"The files to be tested are:")
81 return inputs, catalogs, catalognames
90 """Removes previously copied catalogs from executable directory."""
92 p = Popen(
"rm "+ os.path.join(cyclus_path,cat),
93 shell=
True, stdout=PIPE, stderr=STDOUT)