Skip to content

Commit b41a52d

Browse files
committed
Critical log for duplicate filenames
1 parent 0a28ebd commit b41a52d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

parsnp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1235,7 +1235,7 @@ if __name__ == "__main__":
12351235
logger.critical("Multiple files have the same file stem, i.e. path1/genomic.fna and path2/genomic.fna. Please ensure unique filenames.")
12361236
for p in sorted(input_files, key=lambda p: Path(p).stem):
12371237
if input_file_counter[Path(p).stem] > 1:
1238-
logger.debug(p)
1238+
logger.critical(p)
12391239
logger.critical("""If the directory names are unique, but not the filenames (for example if they all come from NCBI Datasets, you can use the following to rename them:
12401240
for f in path/to/files/*/*.fna; do
12411241
DIR=$(dirname $f)

0 commit comments

Comments
 (0)