From 4b936e04624872e130e8b85190fb252a046f6fb2 Mon Sep 17 00:00:00 2001 From: Yoongi Kim Date: Sun, 5 Jan 2020 01:21:17 +0900 Subject: [PATCH] [minor] print code un-indent --- main.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/main.py b/main.py index 144d707..99ff762 100644 --- a/main.py +++ b/main.py @@ -270,12 +270,12 @@ def imbalance_check(self): dict_too_small[dir] = n_files if len(dict_too_small) >= 1: + print('Data imbalance detected.') + print('Below keywords have smaller than 50% of average file count.') + print('I recommend you to remove these directories and re-download for that keyword.') + print('_________________________________') + print('Too small file count directories:') for dir, n_files in dict_too_small.items(): - print('Data imbalance detected.') - print('Below keywords have smaller than 50% of average file count.') - print('I recommend you to remove these directories and re-download for that keyword.') - print('_________________________________') - print('Too small file count directories:') print('dir: {}, file_count: {}'.format(dir, n_files)) print("Remove directories above? (y/n)")