Skip to content

Commit b28385e

Browse files
committed
Fix use of Path in find_outliers script.
You may or may not need this pull-request. There was a bug in the file `scripts/find_outliers.py` where the code uses a `fname` expecting a string, but in fact, by default, it will get a `Path` object. You may have found and fixed that bug, in which case, you do not need this PR. If you haven't already found and fixed this bug, then do merge this pull request.
1 parent cf075b8 commit b28385e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/find_outliers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def print_outliers(data_directory):
2525
outlier_strs = []
2626
for out_ind in outliers:
2727
outlier_strs.append(str(out_ind))
28-
print(', '.join([fname] + outlier_strs))
28+
print(', '.join([str(fname)] + outlier_strs))
2929

3030

3131
def get_parser():

0 commit comments

Comments
 (0)