We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc3a570 commit a02a085Copy full SHA for a02a085
src/diffpy/labpdfproc/tools.py
@@ -86,7 +86,7 @@ def set_input_lists(args):
86
f"Cannot find {input_name}. Please specify valid input file(s) or directories."
87
)
88
else:
89
- if "*" in input_name.split("/")[-1] and input_name.count("*") == 1:
+ if "*" in input_name:
90
input_parent_directory = input_path.parents[0]
91
input_pattern = input_path.relative_to(input_parent_directory)
92
input_files = Path(input_parent_directory).glob(str(input_pattern))
0 commit comments