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 a7eea6b commit 931ebf6Copy full SHA for 931ebf6
structure_threader/structure_threader.py
@@ -319,7 +319,6 @@ def plots_only(arg):
319
# Get all files matching the provided prefix
320
prefix_dir, prefix_name = os.path.split(arg.prefix)
321
322
- # TODO: Implement sanity checks on the inputs.
323
if prefix_dir == "":
324
prefix_dir = "."
325
@@ -339,6 +338,11 @@ def plots_only(arg):
339
338
x.startswith(prefix_name) and
340
x.endswith(".csv")]
341
+ for filename in infiles:
342
+ sanity.file_checker(filename, "There was a problem with the deducted "
343
+ " file '{}'. Please check "
344
+ "it.".format(filename))
345
+
346
if not infiles:
347
logging.error("No input files that match the provided prefix. "
348
"Aborting.")
0 commit comments