|
17 | 17 | # Use cases can be found here: https://github.com/diffpy/diffpy.labpdfproc/issues/48
|
18 | 18 |
|
19 | 19 | # This test covers existing single input file, directory, a file list, and multiple files
|
20 |
| -# We store absolute paths into input_directory and file names into input_file |
| 20 | +# We store absolute path into input_directory and file names into input_file |
21 | 21 | params_input = [
|
22 | 22 | (["good_data.chi"], [".", "good_data.chi"]), # single good file, same directory
|
23 | 23 | (["input_dir/good_data.chi"], ["input_dir", "good_data.chi"]), # single good file, input directory
|
|
35 | 35 | ["good_data.chi", "good_data.xy", "good_data.txt", "unreadable_file.txt", "binary.pkl"],
|
36 | 36 | ],
|
37 | 37 | ),
|
38 |
| - ( # list of files provided (we skip if encountering an invalid files) |
| 38 | + ( # list of files provided (we skip if encountering invalid files) |
39 | 39 | ["good_data.chi", "good_data.xy", "unreadable_file.txt", "missing_file.txt"],
|
40 | 40 | [
|
41 | 41 | ".",
|
42 | 42 | ["good_data.chi", "good_data.xy", "unreadable_file.txt"],
|
43 | 43 | ],
|
44 | 44 | ),
|
45 |
| - ( # list of files provided (with invalid files and files in different directory) |
| 45 | + ( # list of files provided (with invalid files and files in different directories) |
46 | 46 | ["input_dir/good_data.chi", "good_data.xy", "missing_file.txt"],
|
47 | 47 | [
|
48 | 48 | ".",
|
|
53 | 53 | ["file_list_dir/file_list.txt"],
|
54 | 54 | [".", ["good_data.chi", "good_data.xy", "good_data.txt"]],
|
55 | 55 | ),
|
56 |
| - ( # file_list_example2.txt list of files provided with different paths |
| 56 | + ( # file_list_example2.txt list of files provided in different directories |
57 | 57 | ["file_list_dir/file_list_example2.txt"],
|
58 | 58 | [".", ["input_dir/good_data.chi", "good_data.xy", "input_dir/good_data.txt"]],
|
59 | 59 | ),
|
|
0 commit comments